Lines Matching +full:spi +full:- +full:nand
6 In the context of U-Boot, the board is booted in three stages. The initial
10 controller (such as SPI or NAND) to continue the boot process by loading
12 further (some clocks, SDRAM) and then load the full u-boot from a
13 predefined location in persistent storage to DDR and jumps to the u-boot
24 it allows for additional flexibility (run-time detect of board revision,
32 the end of SPI flash, run 'make da850evm'. For boards which store the
35 u-boot.ais file that needs to be written to the correct persistent
39 Flashing the images to SPI
41 The AIS image can be written to SPI flash using the following commands.
42 Assuming that the network is configured and enabled and the u-boot.ais file
45 U-Boot > sf probe 0
46 U-Boot > sf erase 0 +320000
47 U-Boot > tftp u-boot.ais
48 U-Boot > sf write c0700000 0 $filesize
50 Flashing the images to NAND
52 The AIS image can be written to NAND using the u-boot "nand" commands.
57 the NAND flash.
59 From the "nand info" command we see that the second block would start at
62 U-Boot > nand info
69 U-Boot > tftp u-boot.ais
73 The commands to write the image from memory to NAND would be:
75 U-Boot > nand erase 0x20000 0x75000
76 U-Boot > nand write 0xc0700000 0x20000 0x75000
87 U-Boot > tftp u-boot.ais
88 U-Boot > nand erase.part bootloader
89 U-Boot > nand write 0xc0700000 bootloader
91 On the DA850-EVM, NAND can also be written with SW7:7-8 ON and
93 sudo mono sfh_OMAP-L138.exe -targetType AM1808 -p /dev/ttyUSB0 \
94 -flash_noubl -flashType NAND ~/src/u-boot/u-boot.ais
96 To boot the DA850-EVM from NAND, SW7:5 should be switched on and all others
109 point to the sector were the u-boot image is located. (eg. After SPL)
113 1 - Using the TI tool "uflash"
114 $ uflash -d /dev/mmcblk0 -b ./u-boot.ais -p OMAPL138 -vv
116 2 - using the "dd" command
117 $ dd if=u-boot.ais of=/dev/mmcblk0 seek=117 bs=512 conv=fsync
125 NOR Flash is XIP (execute-in-place), so no AIS (or SPL) is needed. The
126 u-boot.bin is directy flashed, but CONFIT_DA850_LOWLEVEL must be set
137 sudo mono ./sfh_OMAP-L138.exe -p /dev/ttyUSB0 -flash_noubl
138 -flashType NOR u-boot.bin
146 here[1] to write the u-boot.ais file. An example of recovering to the SPI
149 $ mono sfh_OMAP-L138.exe -targetType AM1808 -p /dev/ttyUSB0 \
150 -flash_noubl /path/to/u-boot.ais
154 $ mono sfh_OMAP-L138.exe -h
159 http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138