Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Deployment/Standalone boot

596 bytes added, 09:28, 28 February 2023
no edit summary
setenv mmcboot 'run mmcargs addcons addmisc; if run mmc_loadk; then if run mmc_loadfdt; then if run configid_fixupfdt; then booti ${loadaddr} - ${fdtaddr}; fi; fi; fi'
setenv mmcargs 'setenv bootargs root=${mmcroot}'
setenv mmcroot '/dev/mmcblk2p2 rootwait rw'normalboot mmcboot
</pre>
==== boot vars ====
 
The following environment variables should be configured for u-boot properly identify the boot files, e.g.
<pre>
setenv normalboot mmcboot
setenv bootfile Image
setenv fdt_file imx8mp-mito8mplus-cb1001.dtb
</pre>
 
==== ORCA SOM ====
The platform dependent variable have to be properly configured:
* the proper device tree binary
setenv fdt_file imx8mp-mito8mplus-cb1001.dtb
* the eMMC ''mmcblk'' device
setenv mmcroot '/dev/mmcblk2p2 rootwait rw'
then save the environment and reboot the system to apply the new configuration:
Saving Environment to MMC...
Writing to MMC(2)... done
u-boot=> reset
</pre>
 
==== MITO 8M Mini ====
The platform dependent variable have to be properly configured:
* the proper device tree binary
setenv fdt_file imx8mm-mito8mmini-cb100a.dtb
* the eMMC ''mmcblk'' device
setenv mmcroot '/dev/mmcblk0p2 rootwait rw'
 
then save the environment and reboot the system to apply the new configuration:
 
<pre class="workstation-terminal">
u-boot=> saveenv
Saving Environment to MMC...
Writing to MMC(0)... done
u-boot=> reset
</pre>
=== Boot configuration ===
Once the systemn system has been completely programmed, select the eMMC boot mode, reboot the system and configure U-Boot to apply fro for using the new configuration, i.e. to boot from internal storage:
<pre class="workstation-terminal">
8,253
edits