On Thu, Jan 17, 2008 at 09:41:20AM +0100, Frantisek Dufka wrote: > 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.
Oops!
Yes, I encountered that error when I was looking at the rootfs, not
initfs. My inattention.
> 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
Thanks for the instructions!
Marius Gedminas
--
I'm a sorceress, not a miracle worker.
-- The Spellsong War by L. E. Modesitt, Jr.
signature.asc
Description: Digital signature
_______________________________________________ maemo-users mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-users
