Marius Gedminas wrote: > On Tue, Jan 15, 2008 at 07:49:06PM +0100, Frantisek Dufka wrote: >> You don't need scratchbox, any linux distribution will do. Follow this >> guide to unpack and recreate initfs by Rodrigo Vivi >> http://labs.vivi.eng.br/blog/?p=29 > > And here's where it breaks down: > > sudo modprobe mtdram total_size=65536 erase_size=256 > > 64 megs is not large enough for the OS2008 image. Anything larger > causes modprobe mtdram to fail ("allocation failed: out of vmalloc space > - use vmalloc=<size> to increase size.") Well this guide is for initfs which is ~2MB large. There are more ways to do it. For rootfs you can use variation of this mkdir rootfs losetup /dev/loop0 rootfs.jffs2 modprobe mtd modprobe mtd_blkdevs modprobe mtdblock modprobe block2mtd block2mtd=/dev/loop0,131072 modprobe jffs2 mount -t jffs2 /dev/loop0 rootfs The 131072 is not rootfs size but erase size so leave it as is. Frantisek