diff options
author | Mathias Kresin <dev@kresin.me> | 2018-07-08 01:47:28 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-07-24 22:24:21 +0200 |
commit | 0ac91d82ed4d077150db902eb12d383c2be44fb2 (patch) | |
tree | 6413015a347e66f08a76ed46ce65f8a680db0ae2 /target/linux/generic/PATCHES | |
parent | fdf6760cda15b2710287c66c9969a3ed527793d8 (diff) | |
download | upstream-0ac91d82ed4d077150db902eb12d383c2be44fb2.tar.gz upstream-0ac91d82ed4d077150db902eb12d383c2be44fb2.tar.bz2 upstream-0ac91d82ed4d077150db902eb12d383c2be44fb2.zip |
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>
Diffstat (limited to 'target/linux/generic/PATCHES')
0 files changed, 0 insertions, 0 deletions