Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Deployment/Standalone boot

565 bytes added, 16:19, 27 February 2023
Program boot images into eMMC
The <code>flash.bin</code> Boot Image can be created following the instructions described in the [[DESK-MX8M-L/Development/Building_Boot_Image | Building Boot Image]] wiki page
====Bootbinary====Update to the latest Load Boot image version allows usage of u-boot environment variables available. binary form a <precode>mmc_update=mmc dev; setexpr blocks ${filesize} / 0x200; setexpr blocks ${blocks} + 1; mmc write ${loadaddr} 40 ${blocks}tftp</precode>server:
Load Boot binary form a <code>tftp< load='tftpboot ${loadaddr} ${serverip}:${binfile}' binfile='desk-mx8m/code> server:flash.bin'
<pre class="workstation-terminal">
</pre>
Program ==== Flash the Boot image on eMMC:====Update to the latest Boot image version allows usage of u-boot environment variables available. * for [[ORCA SOM | ORCA SOM]] mmc_update=mmc dev; setexpr blocks ${filesize} / 0x200; setexpr blocks ${blocks} + 1; mmc write ${loadaddr} 40 ${blocks}
<pre class="workstation-terminal">
MMC write: dev # 2, block # 64, count 2548 ... 2548 blocks written: OK
u-boot=>
</pre>
 
* for [[MITO 8M Mini SOM | MITO 8M Mini SOM]]
mmc_update 'mmc dev 0; setexpr blocks ${filesize} / 0x200; setexpr blocks ${blocks} + 1; mmc write ${loadaddr} 42 ${blocks}'
 
<pre class="workstation-terminal">
u-boot=> mmc dev 0
switch to partitions #0, OK
mmc0(part 0) is current device
u-boot=> run mmc_update
switch to partitions #0, OK
mmc0(part 0) is current device
 
MMC write: dev # 0, block # 66, count 2522 ... 2522 blocks written: OK
u-boot=>
</pre>
8,253
edits