ubiattach problem

Oren oren_s3 at VERIFONE.com
Tue Jul 7 08:08:35 EDT 2009


mkfs.ubifs/mkfs.ubifs -r ~/BRCMLinux/Linux_2_6_27/mtd-utils/myrfs
--compr="none" -m 2048 -e 129024 -c 2047 -o images/ubifs_ncomp.img
ubi-utils/ubinize -o images/ubi_ncomp.img -m 2048 -p 128KiB -s 2048
images/ubinize.cfg


ubinize.cfg:

[ubifs]
mode=ubi
image=images/ubifs_ncomp.img
vol_id=0
vol_size=16MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize


On Tue, 2009-07-07 at 13:42 +0300, Artem Bityutskiy wrote:
> On Tue, 2009-07-07 at 13:32 +0300, Oren wrote:
> > ubiformat /dev/mtd0 -s 2048 -f ubi_ncomp.img
> > ubiformat: mtd0 (nand), size 16777216 bytes (16.0 MiB), 128 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
> 
> Err, wait, you flash an image. Then the image propbably
> does not have the volume table. How do you generate the
> image?
> 



More information about the linux-mtd mailing list