[Ubiattach] "vtbl_check: too large reserved_pebs"
Artem Bityutskiy
dedekind1 at gmail.com
Thu Jun 9 08:20:37 EDT 2011
On Thu, 2011-06-09 at 12:24 +0200, Gilles wrote:
> Hello
>
> I went through the docs/FAQs on the site and elsewhere, and
> proceeded to create a Ubifs root filesystem and flash a NAND partition
> with it.
> However, "ubiattach" fails, so I guess I didn't use the right settings
> in mkfs.ubifs and/or ubinize and/or ubiformat for use with that NAND
> partition.
>
> Here are the steps I took:
> ==============
> #First, get infos about NAND
> appliance:/> mtdinfo /dev/mtd2 -u
> mtd2
> Name: filesystem_nand
> Type: nand
> Eraseblock size: 131072 bytes, 128.0 KiB
> Amount of eraseblocks: 1984 (260046848 bytes, 248.0 MiB)
> Minimum input/output unit size: 2048 bytes
> Sub-page size: 512 bytes
> OOB size: 64 bytes
> Character device major/minor: 90:4
> Bad blocks are allowed: true
> Device is writable: true
> Default UBI VID header offset: 512
> Default UBI data offset: 2048
> Default UBI LEB size: 129024 bytes, 126.0 KiB
> Maximum UBI volumes count: 128
> ==============
> #Create root filesystem
> ubuntu:/> mkfs.ubifs --squash-uids -m 2048 -e 131072 -c 1984 -d
Use -e 129024
P.S. Yes, I realize the options are inconsistent, and will happily
accept a clean-up :-)
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
More information about the linux-mtd
mailing list