Commit Graph

6 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 0974846c2d sysmobts: Be able to toggle the nWP on the flash through a GPIO
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.
2015-02-05 19:03:14 +01:00
Holger Hans Peter Freyther 92b4a3a288 uartboot: Count how many copies were written
We want to know how many copies of UBL/APP have been written.
It is necessary to know that we have written multiple copies
to avoid two bitflips rendering the device unusable.

dvnixload debug1:    Reading: [INFO: UBLs written: 0x5]
dvnixload debug1:    Reading: [INFO: APPs written: 0x4]

Related: SYS#438
2014-11-20 18:47:34 +01:00
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 77e016b643 gzip: The GZIP feature has been removed, remove the last traces of it 2012-07-11 07:40:08 +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