Open main menu

DAVE Developer's Wiki β

Changes

DESK-MX8M-L/Deployment/Standalone boot

1,403 bytes removed, 15:11, 17 February 2022
Program boot images into eMMC
=== 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
====Boot====
<pre>
mmc_update=mmc dev; setexpr blocks ${filesize} / 0x200; setexpr blocks ${blocks} + 1; mmc write ${loadaddr} 0x40 40 ${blocks}
</pre>
Load address: 0x40480000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
1.8 MiB/s
done
Bytes transferred = 8355840 1304608 (7f8000 13e820 hex)
u-boot=>
</pre>
Hit ENTER within 1 seconds to stop autoboot
u-boot=> fatload mmc 1:1 ${loadaddr} flash.bin
8355840 1304608 bytes read in 373 63 ms (21.4 MiB/s)
u-boot=>
</pre>
mmc2(part 0) is current device
MMC write: dev # 2, block # 64, count 16319 2548 ... 16319 2548 blocks written: OK
u-boot=>
</pre>
8,209
edits