Commit Graph

4 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther e564034a60 nand: Write multiple copies of UBL and U-Boot
The NAND might have more bit flips than can be recovered. The way
to deal with it is to write multiple copies on multiple pages. The
probability of all pages failing depends on the specific NAND flash
used and was not calculated so far. The RBL is capable of trying to
load several copies and we should be more safe now.

This requires a new partioning inside the U-Boot or other bootloader.
2014-05-19 19:17:51 +02:00
Holger Hans Peter Freyther 1cfc889457 nand: Detect and correct bit errors on the sysmoBTSv2D and later platforms
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
2014-05-19 19:14:12 +02:00
Holger Hans Peter Freyther 8bb73db43a sysmobts_v2: Add sysmobts_v2 with runtime detection of DDR/NAND
Add the sysmobts_v2 board, move the DDR type detection into the ubl
with a fallback for the sysmobts_v1 with the current type of ram.
2012-04-25 09:20:55 +02:00
Holger Hans Peter Freyther 4b779cf0d2 dvnixload/ubl copy as of pre 0.2.6 svn 2012-04-25 09:20:50 +02:00