From: Artem Bityutskiy <dedekind1@gmail.com>
To: 林于峻 <okpalin@gmail.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Can not mount UBIFS
Date: Tue, 06 Apr 2010 11:48:36 +0300 [thread overview]
Message-ID: <1270543716.6754.13.camel@localhost> (raw)
In-Reply-To: <a145ef951003102343h58c7f78bh5c2ed3357fe0fe4e@mail.gmail.com>
Hi,
On Thu, 2010-03-11 at 15:43 +0800, 林于峻 wrote:
> Dear all,
>
> I am trying UBIFS on android on nVidia Tegra T20.
> I add a new MTD partition, flash_eraseall, ubiattach, ubimkvol, and mount it.
> Error occurs when mount it.
>
> The total command I enter is:
> # ubidetach /dev/ubi_ctrl -d 0
> ubidetach /dev/ubi_ctrl -d 0
> # flash_eraseall /dev/mtd/mtd4
> flash_eraseall /dev/mtd/mtd4
Better use ubiformat instead of flash_eraseall:
http://www.linux-mtd.infradead.org/faq/ubi.html#L_ubierase
> Erasing 128 Kibyte @ 2000000 -- 100 % complete.
> # ubiattach /dev/ubi_ctrl -m 4
> ubiattach /dev/ubi_ctrl -m 4
> UBI device number 0, total 256 LEBs (32505856 bytes, 31.0 MiB),
> available 250 LEBs (31744000 bytes, 30.3 MiB), LEB size 126976 bytes
> (124.0 KiB)
> # ubimkvol /dev/ubi0 -m -N rootfs
> ubimkvol /dev/ubi0 -m -N rootfs
> Set volume size to 31744000
> Volume ID 0, size 250 LEBs (31744000 bytes, 30.3 MiB), LEB size
> 126976 bytes (124.0 KiB), dynamic, name "rootfs", alignment 1
> # mount -t ubifs ubi0:rootfs /sdcard
> mount -t ubifs ubi0:rootfs /sdcard
> mount: Invalid argument
>
> The NAND flash is HY27UF084G2B.
Could you please first validate your flash with nandtests? Take the
tests from the latest kernel.
http://www.linux-mtd.infradead.org/doc/general.html#L_mtd_tests
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
next prev parent reply other threads:[~2010-04-06 8:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-11 7:43 Can not mount UBIFS 林于峻
2010-03-11 10:48 ` R: " Bosi Daniele
2010-03-11 12:33 ` 林于峻
2010-03-11 13:09 ` R: " Bosi Daniele
2010-03-16 8:13 ` 林于峻
2010-03-16 9:22 ` 林于峻
2010-04-06 9:00 ` Artem Bityutskiy
2010-05-03 11:54 ` 林于峻
2010-05-03 12:08 ` Artem Bityutskiy
2010-05-04 3:20 ` 林于峻
2010-05-11 3:46 ` 林于峻
2010-05-11 5:44 ` Artem Bityutskiy
2010-05-12 1:18 ` 林于峻
2010-05-12 3:30 ` Artem Bityutskiy
2010-04-06 8:48 ` Artem Bityutskiy [this message]
[not found] <mailman.11633.1268310802.2173.linux-mtd@lists.infradead.org>
2010-03-11 13:06 ` GUIDA, Nicola
Reply instructions:
You may reply publicly 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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1270543716.6754.13.camel@localhost \
--to=dedekind1@gmail.com \
--cc=linux-mtd@lists.infradead.org \
--cc=okpalin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).