June 2017
Intermediate to advanced
478 pages
13h 14m
English
Usually, you will load images from removable storage, such as an SD card or a network. SD cards are handled in U-Boot by the mmc driver. A typical sequence to load an image into memory would be:
U-Boot# mmc rescanU-Boot# fatload mmc 0:1 82000000 uimagereading uimage4605000 bytes read in 254 ms (17.3 MiB/s)U-Boot# iminfo 82000000## Checking Image at 82000000 ...Legacy image foundImage Name: Linux-3.18.0Created: 2014-12-23 21:08:07 UTCImage Type: ARM Linux Kernel Image (uncompressed)Data Size: 4604936 Bytes = 4.4 MiBLoad Address: 80008000Entry Point: 80008000Verifying Checksum ... OK
The command mmc rescan re-initializes the mmc driver, perhaps to detect that an SD card has recently been inserted. Next, fatload is used to read ...
Read now
Unlock full access