Mathias Kresin 0ac91d82ed kernel: handle bad blocks in ubi auto attach code
The first block(s) of the ubi mtd device might be bad. We need to take
care on our own to skip the bad block(s) and read the next one(s).

Don't treat recoverable read errors as fatal and check for the UBI magic
if the data of a block could be recovered using ECC or similar.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-07-24 22:24:21 +02:00
..
2018-05-18 09:10:21 +02:00
2018-05-22 07:20:13 +02:00
2018-07-11 16:02:24 +02:00
2018-06-01 08:25:14 +02:00
2018-01-09 10:26:16 +01:00
2018-06-26 08:57:21 +02:00
2018-05-22 07:55:05 +02:00
2018-04-19 14:38:57 +02:00
2018-05-22 20:49:08 +02:00
2018-07-07 18:19:39 +02:00
2018-05-18 09:10:21 +02:00
2018-06-07 09:04:46 +02:00