[U-Boot] UBIFS Problems with U-boot 2018.1 & 4.14 Linux

Heiko Schocher
2018-05-22T09:31:08Z

Hello Otto,

Am 22.05.2018 um 08:24 schrieb Richard Weinberger:
> Otto,
>
> Am Dienstag, 22. Mai 2018, 03:30:04 CEST schrieb Otto Blom:
>> Hi Richard !
>>
>> To summarize the observations from the last few days.
>>
>> * Linux 4.9 & U-boot 2018 behave the same when attempting to read from
>> a ubifs file system
>> * Whenever Linux 4.14 writes to a ubifs there is some form of
>> incompatibility introduced
>> causing assorted errors when the file system is read in Linux 4.9 or
>> U-boot. However
>> the files can still be read in Linux 4.14.
>>
>> This lead me to suspect a problem with the OOB data. So I copied over
>> a 16MB textfile to
>> a freshly minted no-compression ubifs partition (running 4.14) and ran
>> a nanddump both from
>> Linux 4.9 and 4.14 and the contents are different - Bit errors are
>> present in the 4.9-dump..
>
> This smells like a problem on MTD/NAND-Level.
> Decompression might fail because bits changes but didn't get fixed by your driver.

+1 from my side ...

bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de