Mounting issue with old uboot and new rootfs

Jaap de Jong jaap.dejong at nedap.com
Wed Dec 13 23:28:48 PST 2017



On 13-12-17 17:42, Richard Weinberger wrote:
> Am Mittwoch, 13. Dezember 2017, 11:18:02 CET schrieb Jaap de Jong:
>>> Does everything work as expected if you don't set the resize flag in
>>> ubinize? Maybe this is the culprit.
>>
>> Yes, that was my last experiment and that works. It turns off the code
>> in the old uboot that modifies the volume in such a way that the new
>> kernel is not able to deal with it.
>> The strange thing is, that an old kernel doesn't mind.
> 
> Can you please rule out U-Boot first?
> IOW don't attach UBI from U-Boot and load the kernel via TFTP/NFS, etc...
> I'm still not sure whether this is a regression in Linux or U-Boot.
Sure. Did that and then there is no corruption. The old version uboot 
modifies the volume in a way that the new kernel can't handle. The old 
kernel on the other hand is able to mount that 'mangled' volume.

Jaap.



More information about the linux-mtd mailing list