0974846c2d
Starting from revision F we can toggle a GPIO to control nWP of the NAND chip. This means that during power-on or other mode of operation no changes can be done to the flash. Remove the nWP before we try to write to the flash in the UART mode. Leave it enabled for further operations. |
||
---|---|---|
.gitignore | ||
ChangeLog | ||
Makefile | ||
README | ||
TODO | ||
board.h | ||
common.h | ||
crc.c | ||
crc.h | ||
davinci.c | ||
davinci.h | ||
ddr.h | ||
dm644x.c | ||
dm644x.h | ||
gpio.c | ||
gpio.h | ||
nand.c | ||
nand.h | ||
nandboot.c | ||
nor.c | ||
nor.h | ||
norboot.c | ||
uart.c | ||
uart.h | ||
uartboot.c | ||
ubl.c | ||
ubl.lds | ||
util.c | ||
util.h |
README
README for HVUBL This UBL can be used for flashing itself and a 2nd stage bootloader (usually U-boot) in flash memory. It can also be used to flash an arbitrary data image into flash, without a header. It can also be used to run DDR RAM memory testing. To compile HVUBL for the sffsdr board, for example, run: $> make BOARD=sffsdr The Makefile honors the CROSS_COMPILE environment variable to specify the prefix of your ARM gcc toolchain. If it is not set, it defaults to: CROSS_COMPILE=arm-linux- You can override it like this, for example: $> make CROSS_COMPILE=arm-angstrom-linux-gnueabi- BOARD=sffsdr The output file, in ARM ELF format, will be named <ubl.elf>