I downloaded a rootfs.tar.gz from
http://www.mediafire.com/sheeva-with-debianThen I followed exactly the steps described above,i.e.
unix root# mkdir /tmp/ubi-content
unix root# tar -C /tmp/ubi-content -xf /path/to/your/rootfs.tar
unix root# mkfs.ubifs -v -r /tmp/ubi-content -m 2048 -e 129024 -c 4096 -o /tmp/ubifs.img
unix root# cat > /tmp/ubi.cfg <<_EOF_
[rootfs-volume]
mode=ubi
image=/tmp/ubifs.img
vol_id=0
vol_size=400MiB
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize
_EOF_
unix root# ubinize -v -o /tmp/ubi.img -m 2048 -p 128KiB -s 512 /tmp/ubi.cfg
unix root# ubiformat /dev/mtd2 -s 512 -f /tmp/ubi.img
I'm too stupid though to get the screen output copied from my putty console to past it here. So I can only describe. The error messages are first the same as when using ubimkvol, i.e. ubi_io_write: error -5 while writing ... and loads of similar errors
Then at some point it says kernel BUG at /build/buildd-linux-2.6_2.6.32-5-armel-EFZj80/linux-2.6-2.6.32/debian/build/source_armel_none/mm/slub.c:2969!
At the end there are messages like Message from syslogd@JGServer1 at date kernel xyz Internal error: Oops: 817
and further messages of this style.
How can I get a copy from my putty console output copied to insert it here? There are so many errors I can't possibly mention all of them here.
Any idea? The above is probably not really helpful.