1cfc889457
I disabled the initialization of the vector interrupt tables in davinci.c and then I can use u-boot commands like these load and start ubl dhcp; set serverip 192.168.0.88; tftp ubl_sysmobts_v2.elf; bootelf manipulate bits. Flip a 1 to a 0: nand read.raw 0x85000000 0x00080000 1 mm.b 0x85000000 nand write.raw 0x85000000 0x00080000 1 |
||
---|---|---|
.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>