[Buildroot] jffs2 errors on ubifs rootfs

Eric Bénard eric at eukrea.com
Thu Jan 30 14:07:59 UTC 2014


Hi Emmanuel,

Le Thu, 30 Jan 2014 10:08:40 +0000,
Kaspar Emanuel <kaspar.emanuel at gmail.com> a écrit :

> Hey,
> 
> I am trying to boot a Buildroot generated .ubi rootfs on a Karo TX53
> SoM [1]. I am seeing a lot of jffs2 errors even though the rootfs is
> ubifs ubi image. The errors look like this:
> 
> jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at
> 0x00000000: 0x0527 instead
> 
> There are a lot of these. Full log is attached. I can boot Karo's ubi
> rootfs without seeing these errors, using the same kernel and dtb. I
> boot the kernel with these arguments:
> 
> rootfstype=ubifs ubi.mtd=3,512 root=ubi0:rootfs
> 
> I have have made sure the ubifs LEBs, min i/o size and the ubi image
> erase block and sub-page size etc. are all set correcty in Buildroot.
> The rootfs _does_ actually seem to mount correctly and I can login,
> but I just don't get where these jffs2 errors could be coming from.
> 
your rootfs mounts fine (VFS: Mounted root (ubifs filesystem) readonly
on device 0:12.), the jffs2 log comes after : aren't you trying to mount
a jffs2 filesystem in an initscript or in fstab ?

Eric



More information about the buildroot mailing list