diff options
Diffstat (limited to 'board/davinci/da8xxevm/README.da850')
-rw-r--r-- | board/davinci/da8xxevm/README.da850 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/board/davinci/da8xxevm/README.da850 b/board/davinci/da8xxevm/README.da850 index 519267e2f0..5775b7d80f 100644 --- a/board/davinci/da8xxevm/README.da850 +++ b/board/davinci/da8xxevm/README.da850 | |||
@@ -88,6 +88,14 @@ In this case the commands would be simplified to: | |||
88 | U-Boot > nand erase.part bootloader | 88 | U-Boot > nand erase.part bootloader |
89 | U-Boot > nand write 0xc0700000 bootloader | 89 | U-Boot > nand write 0xc0700000 bootloader |
90 | 90 | ||
91 | On the DA850-EVM, NAND can also be written with SW7:7-8 ON and | ||
92 | |||
93 | sudo mono sfh_OMAP-L138.exe -targetType AM1808 -p /dev/ttyUSB0 \ | ||
94 | -flash_noubl -flashType NAND ~/src/u-boot/u-boot.ais | ||
95 | |||
96 | To boot the DA850-EVM from NAND, SW7:5 should be switched on and all others | ||
97 | off. | ||
98 | |||
91 | Flashing the images to MMC | 99 | Flashing the images to MMC |
92 | ========================== | 100 | ========================== |
93 | If the boot pins are set to boot from mmc, the RBL will try to load the | 101 | If the boot pins are set to boot from mmc, the RBL will try to load the |
@@ -112,6 +120,25 @@ uflash writes the AIS image at offset 117. For compatibility with uflash, | |||
112 | CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is set to take into account this | 120 | CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR is set to take into account this |
113 | offset, and the dd command is adjusted accordingly. | 121 | offset, and the dd command is adjusted accordingly. |
114 | 122 | ||
123 | Flashing the images to NOR | ||
124 | ========================== | ||
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 | ||
127 | to initialize hardware that's normally done by SPL. | ||
128 | |||
129 | For this case, CONFIG_SYS_TEXT_BASE=0x60000000 which is the address to | ||
130 | which the bootloader jumps when powered on. | ||
131 | |||
132 | Example: | ||
133 | For the da850evm, there is a defconfig setup to use the NOR flash on | ||
134 | the UI expander board called da850evm_direct_nor_defconfig. | ||
135 | |||
136 | Flash to NOR directly using | ||
137 | sudo mono ./sfh_OMAP-L138.exe -p /dev/ttyUSB0 -flash_noubl | ||
138 | -flashType NOR u-boot.bin | ||
139 | |||
140 | SW7:5 through SW7:7 should be switched on and all others off. | ||
141 | |||
115 | Recovery | 142 | Recovery |
116 | ======== | 143 | ======== |
117 | 144 | ||