UBIFS fails & crashes on SheevaPlug
erno at gulp.u--3.com
erno at gulp.u--3.com
Thu Jul 23 17:52:20 EDT 2009
On Thu, Jul 23, 2009 at 11:28:01PM +0200, Corentin Chary wrote:
> Can you give us the exact commands you used ?
Straight copy-paste (except for the -r removal) from
http://www.plugcomputer.org/plugwiki/index.php/Enabling_UBIFS - so:
94 cd /var/tmp/
95 mkfs.ubifs -m 2048 -e 129024 -c 4096 -o ubifs.img -x zlib
96 /usr/local/usr/sbin/mkfs.ubifs -m 2048 -e 129024 -c 4096 -o
ubifs.img -x zlib
99 ubinize -o ubi.img -m 2048 -p 128KiB -s 512 ubi.cfg
101 cat > ubi.cfg
102 /usr/local/usr/sbin/ubinize -o ubi.img -m 2048 -p 128KiB -s 512
ubi.cfg
105 ubiformat /dev/mtd2 -s 512 -f ubi.img
106 /usr/local/usr/sbin/ubiformat /dev/mtd2 -s 512 -f ubi.img
107 /usr/local/usr/sbin/ubiattach /dev/ubi_ctrl -m 2
(funny paths courtesy of mtd-utils "make install")
ubi.cfg is
[ubifs]
mode=ubi
image=ubifs.img
vol_id=0
vol_size=256MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize
More information about the linux-mtd
mailing list