UBIFS assert when rebooting a read only ubifs when it's been remounted r/w

Richard Weinberger richard at nod.at
Wed May 18 03:13:07 PDT 2016


Am 18.05.2016 um 11:24 schrieb Martin Townsend:
> A bit info:
> I booted the board over the network using TFTP/NFS and then mounting
> the UBIFS partition using
> ubiattach /dev/ubi_ctrl -m 12 -O 2048
> mount -o ro -t ubifs /dev/ubi0_0 /mnt/ubifs/
> but this never triggered the assert. So I thought maybe it was
> something to do with U-Boot mounting the rootfs to load the kernel and
> device tree which are in the UBIFS so I loaded the kernel and device
> tree from a TFTP server and then booted from NAND but this still
> triggered the assert so this kind of rules out U-Boot.

So, you can trigger without U-Boot touching the UBIFS?
Also no UBI attach happens in U-Boot?

Is the assert you're facing really the top most error?
Another question, goes the error way when you call "sync"
before remounting ro?

Thanks,
//richard



More information about the linux-mtd mailing list