i.MX 93 BSP Manual PD24.1.1 Documentation Rev.: imx8mp-pd22.1.2-51-ga548be7d
4.2 Flash eMMC
To boot from eMMC, make sure that the BSP image is ashed correctly to the eMMC and the bootmode
switch (S3) is set to eMMC.
Warning
When eMMC and SD card are ashed with the same (identical) image, the UUIDs of the boot partitions
are also identical. If the SD card is connected when booting, this leads to non-deterministic behavior as
Linux mounts the boot partition based on UUID.
target:~$ blkid
can be run to inspect whether the current setup is aected. If mmcblk0p1 and mmcblk1p1 have an
identical UUID, the setup is aected.
4.2.1 Flash eMMC from SD Card
If there is no network available, you can update the eMMC from SD card. For that, you only need a ready-
to-use image le (*.wic) located on the SD card. Because the image le is quite large, you have to enlarge
your SD card to use its full space (if it was not enlarged before). To enlarge your SD card, see Resizing ext4
Root Filesystem.
Alternatively, ash a partup package to the SD card, as described in Getting Started. This will ensure the
full space of the SD card is used.
Flash eMMC from SD card in Linux on Target
You can ash the eMMC on Linux. You only need a partup package or WIC image saved on the SD card.
• Show your saved partup package or WIC image or WIC.XZ image les on the SD card:
target:~$ ls
phytec-qt6demo-image-phyboard-segin-imx93-2.partup
phytec-qt6demo-image-phyboard-segin-imx93-2.wic.xz
• Show list of available MMC devices:
target:~$ ls /dev | grep mmc
mmcblk1
mmcblk1p1
mmcblk1p2
mmcblk0
mmcblk0boot0
mmcblk0boot1
mmcblk0p1
mmcblk0p2
mmcblk0rpmb
• The eMMC device can be recognized by the fact that it contains two boot partitions: (mmcblk0boot0;
mmcblk0boot1)
• Write the image to the phyCORE-i.MX 93 eMMC (/dev/mmcblk0 without partition) using partup:
target:~$ partup install phytec-qt6demo-image-phyboard-segin-imx93-2.partup /dev/mmcblk0
Installing the OS 17