qemu: arm: mounting ubifs using nandsim on busybox

Richard Weinberger richard at nod.at
Wed Jun 9 11:22:20 PDT 2021


Pintu,

----- Ursprüngliche Mail -----
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,0)
> =============================
> 
> If any one has used nandsim on qemu before, please let us know the exact steps.

nandsim works as expected. It creates a new and *erased* NAND for you.
So you have no UBI volumes. Therfore UBIFS cannot be mounted.
I suggest creating a tiny initramfs that creates UBI volumes before mounting UBIFS on
one of the freshly created (and empty) volumes.

Thanks,
//richard



More information about the linux-mtd mailing list