Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Deployment/Standalone boot

121 bytes added, 15:13, 16 February 2022
Program boot images into eMMC
<pre>
mmc_update=mmc dev; setexpr blocks ${filesize} / 0x200; setexpr blocks ${blocks} + 1; mmc write ${loadaddr} 64 0x40 ${blocks}
</pre>
done
Bytes transferred = 8355840 (7f8000 hex)
u-boot=> mmc dev 2
switch to partitions #0, OK
mmc2(part 0) is current device
u-boot=> run mmc_update
u-boot=>
</pre>
Load or load Boot binary form an <code>SD</code> card:
<pre class="workstation-terminal">
u-boot=> fatload mmc 1:1 ${loadaddr} flash.bin
8355840 bytes read in 373 ms (21.4 MiB/s)
u-boot=>
</pre>
 
Program the Boot image on eMMC:
 
<pre class="workstation-terminal">
u-boot=> mmc dev 2
switch to partitions #0, OK
mmc2(part 0) is current device
u-boot=> run mmc_update
switch to partitions #0, OK
mmc2(part 0) is current device
 
MMC write: dev # 2, block # 64, count 16319 ... 16319 blocks written: OK
u-boot=>
</pre>
8,253
edits