Linux-mtd Archive on
 help / color / Atom feed
From: Richard Weinberger <>
To: JH <>
Cc: linux-mtd <>
Subject: Re: Unable to mount root fs (UBIFS volume)
Date: Sat, 15 Feb 2020 08:17:33 +0100
Message-ID: <> (raw)
In-Reply-To: <>

On Sat, Feb 15, 2020 at 4:09 AM JH <> 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.


Linux MTD discussion mailing list

  reply index

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-15  3:09 JH
2020-02-15  7:17 ` Richard Weinberger [this message]
2020-02-15  7:36   ` JH
2020-02-15 10:12   ` JH
2020-02-15 12:40     ` JH
2020-02-16 10:19       ` JH

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Linux-mtd Archive on

Archives are clonable:
	git clone --mirror linux-mtd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-mtd linux-mtd/ \
	public-inbox-index linux-mtd

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone