i.MX 93 BSP Manual PD24.1.1 Documentation Rev.: imx8mp-pd22.1.2-51-ga548be7d
5.3.2 Get Images
Download imx-boot from our server or get it from your Yocto build directory at
build/deploy/images/phyboard-segin-imx93-2/. For ashing a wic image to eMMC, you will also
need phytec-qt6demo-image-phyboard-segin-imx93-2.wic.
5.3.3 Prepare Target
Set the bootmode switch (S3) to USB Serial Download. Also, connect USB port X8 (USB micro/OTG
connector) to your host.
5.3.4 Starting bootloader via UUU-Tool
Execute and power up the board:
host:~$ sudo uuu -b spl imx-boot
You can see the bootlog on the console via UART1 console on PEB-EVAL-01 for phyBOARD-Segin and
X-37 USB-C debug for phyBOARD-Nash, as usual.
Note
The default boot command when booting with UUU-Tool is set to fastboot. If you want to change
this, please adjust the environment variable bootcmd_mfg in U-boot prompt with setenv bootcmd_mfg.
Please note, when booting with UUU-tool the default environment is loaded. Saveenv has no eect. If
you want to change the boot command permanently for UUU-boot, you need to change this in U-Boot
code.
5.3.5 Flashing U-boot Image to eMMC via UUU-Tool
Warning
UUU ashes U-boot into eMMC BOOT (hardware) boot partitions, and it sets the
BOOT_PARTITION_ENABLE in the eMMC! This is a problem since we want the bootloader
to reside in the eMMC USER partition. Flashing next U-Boot version .wic image and not disabling
BOOT_PARTITION_ENABLE bit will result in device always using U-boot saved in BOOT partitions.
To x this in U-Boot:
u-boot=> mmc partconf 0 0 0 0
u-boot=> mmc partconf 0
EXT_CSD[179], PARTITION_CONFIG:
BOOT_ACK: 0x0
BOOT_PARTITION_ENABLE: 0x0
PARTITION_ACCESS: 0x0
or check Disable booting from eMMC boot partitions from Linux.
This way the bootloader is still ashed to eMMC BOOT partitions but it is not used!
When using partup tool and .partup package for eMMC ashing this is done by default, which makes
partup again superior ash option.
Execute and power up the board:
Development 27