Re: Unable to mount root fs (UBIFS volume)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 15, 2020 at 4:09 AM JH <jupiter.hce@xxxxxxxxx> wrote:
>
> Hi,
>
> I am running MTD on customized imx6ull evk board, the root is a UBIFS
> volume, installed from s ubinize image.
>
> If I boot from a ramdisk to Linux, I could run ubiattach -p /dev/mtd2
> and mount -t ubifs -r -v ubi0:rootfs-volume /mnt in ramdisk Linux, but
> it failed in NAND kernel boot, looks like that the kernel was not able
> to attach the mtd device or not able to mount to the rootfs-volume, do
> I need to pass more parameters to kernel? Or what could I be missing
> in the u-boot bootargs setup?
>
> => setenv bootargs "console=ttymxc0,115200 earlycon
> mtdparts=gpmi-nand:1m(boot),1m(ubootenv),-(storage)
> root=storage:rootfs-volume ro ubi.mtd=2,2048 noinitrd rootfstype=ubifs
> mem=256M rootwait=1"
>

[...]

> [    3.206295] UBI error: cannot open mtd 2, error -19

There is no mtd2.

-- 
Thanks,
//richard

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux