Openmoko Om 2008.8 Release
Olivier Berger
oberger at ouvaton.org
Fri Aug 8 15:45:09 CEST 2008
"Yorick Moko" <yorickmoko at gmail.com> writes:
> a tar.gz file would be very useful for booting from SD card...
>
I guess you may convert the contents of the JFFS2 to a tarball by
following bits explained here :
http://maemo.org/community/wiki/ModifyingRootImage/
In particular somthing like this on a desktop GNU/Linux (if you run
2.6 kernel) :
mknod /tmp/mtdblock0 b 31 0
modprobe loop
losetup /dev/loop0 Om2008.8.rootfs.jffs2
modprobe mtdblock
modprobe block2mtd
echo "/dev/loop0" > /sys/module/block2mtd/parameters/block2mtd
modprobe jffs2
mount -t jffs2 /tmp/mtdblock0 /media/jffs2
USE IT AT YOUR OWN RISKS ;)
Best regards,
--
Olivier BERGER
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/
More information about the community
mailing list