Re: qemu: arm: mounting ubifs using nandsim on busybox

From: Richard Weinberger
Date: Wed Jun 09 2021 - 14:28:51 EST


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