Lines Matching +full:u +full:- +full:boot
1 -------------------------------------------------
2 Simple steps used to test the QSPI at U-Boot
3 -------------------------------------------------
5 For #1, build the patched U-Boot and load MLO/u-boot.img
7 ----------------------------------
8 Boot from another medium like MMC
9 ----------------------------------
11 U-Boot# mmc dev 0
13 U-Boot# fatload mmc 0 0x82000000 MLO
16 U-Boot# fatload mmc 0 0x83000000 u-boot.img
17 reading u-boot.img
20 --------------------------------------------------
21 Commands to erase/write u-boot/mlo to flash device
22 --------------------------------------------------
23 U-Boot# sf probe 0
25 U-Boot# sf erase 0 0x10000
27 U-Boot# sf erase 0x20000 0x10000
29 U-Boot# sf erase 0x30000 0x10000
31 U-Boot# sf erase 0x40000 0x10000
33 U-Boot# sf erase 0x50000 0x10000
35 U-Boot# sf erase 0x60000 0x10000
37 U-Boot# sf write 82000000 0 0x10000
39 U-Boot# sf write 83000000 0x20000 0x60000
42 For #2, set sysboot to QSPI-1 boot mode(SYSBOOT[5:0] = 100110) and power
44 then detects that ROM was in QSPI-1 mode (boot code 10) and attempts to
45 find a U-Boot image header at offset 0x20000 (set in the config file)
46 and proceeds to load that image using the U-Boot image payload offset/size
47 from the header. It will then start U-Boot.