Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Deployment/Standalone boot

11 bytes removed, 11:48, 16 February 2022
Program boot images into eMMC
mmc2(part 0) is current device
u-boot=> run mmc_update
u-boot=>
</pre>
<pre class="workstation-terminal">
Hit ENTER within 1 seconds to stop autoboot
u-boot=> fatload mmc 1:1 ${loadaddr} flash.bin
8355840 bytes read in 373 ms (21.4 MiB/s)
u-boot=> mmc dev 2
mmc2(part 0) is current device
u-boot=> run mmc_update
u-boot=>
</pre>
The following environment variables should be configured for u-boot properly reading the boot files from the first SD card partition, e.g.
<pre class="workstation-terminal">=> setenv normalboot mmcboot=> setenv bootfile Image=> setenv fdt_file imx8mp-mito8mplus-cb1001.dtb=> setenv splashfile splash_image.bmp
</pre>
<pre class="workstation-terminal">
u-boot=> saveenv
Saving Environment to MMC...
Writing to MMC(2)... done
u-boot=> reset
</pre>
8,256
edits