PHYTEC
Page 18
target$ ls /dev | grep mmc
mmcblk1
mmcblk1p1
mmcblk1p2
mmcblk1p3
mmcblk2
mmcblk2boot0
mmcblk2boot1
mmcblk2p1
mmcblk2p2
mmcblk2rpmb
Write the image to the eMMC of phyBOARD-Pollux (MMC device 2 WITHOUT partition):
target$ dd if=phytec-qt5demo-image-phyboard-pollux-imx8mp-1.sdcard of=/dev/mmcblk2
After a complete write, your board can boot from eMMC.
Device Tree (DT)
Introduction
The following text briefly describes the Device Tree and can be found in the
kernel (
).
Linux
linux/Documentation/devicetree/usage-model.txt
"The "Open Firmware Device Tree", or simply Device Tree (DT), is a data structure and language for describing hardware. More specifically, it is a
description of hardware that is readable by an operating system so that the operating system doesn't need to hardcode details of the machine.
Structurally, the DT is a tree or acyclic graph with named nodes, and nodes may have an arbitrary number of named properties encapsulating arbitrary
data. A mechanism also exists to create arbitrary links from one node to another outside of the natural tree structure.
Conceptually, a common set of usage conventions called 'bindings', is defined for how data should appear in the tree to describe typical hardware
characteristics including data busses, interrupt lines, GPIO connections, and peripheral devices."
PHYTEC i.MX 8M Plus BSP Device Tree Concept
The following sections explain some rules we have defined on how to set up device trees for our i.MX 8M Plus SoC based boards.
DT Structure