mount ubi volume fails: No such device

Artem Bityutskiy dedekind1 at gmail.com
Mon Feb 14 06:01:49 EST 2011


On Mon, 2011-02-14 at 00:49 -0800, Lars Michael wrote:
> Here is how i made the UBI image:
> ./mkfs.ubifs -m 2048 -e 126976 -c 874 -v -Q -r ./rootfs rootfs.img
> ./mkfs.ubifs -m 2048 -e 126976 -c 36 -v -Q -r ./progfs progfs.img
> ./mkfs.ubifs -m 2048 -e 126976 -c 49 -v -Q -r ./datafs datafs.img
> ubinize -o ubi.img -p 128KiB -m 2048 -v ubi-config.ini

You also need to give this parameter to UBI: 
vid_hdr_offs=2048

I.e., modprobe ubi mtd=1 vid_hdr_offs=2048

Or if UBI is compiled-in, boot with the following kernel argument:

ubi.vid_hdr_offs=2048

With this option UBI will not use sub-pages at all. I think it makes
sense for  you to try how it works this way.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list