View source for Userspace root image
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Template used on this page:
Return to Userspace root image.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Template used on this page:
Return to Userspace root image.
To create a root file system image for storage in NAND flash, we use the mkfs.jffs2 program contained int the Debian package mtd-tools.
mkfs.jffs2 --pad=0x700000 -o rootfs.jffs2 -e 0x4000 -n -d/tmp/jffsroot/
is a typical command. It creates a FS image for our erase block size of 16k, padded to 0x700000 bytes in length from the files contained in the /tmp/jffsroot directory and stores the FS image in rootfs.jffs2.
OpenEmbedded will itself create a jffs2 image at the end of the build process.
Once the build server is running, it will create root filesystem images for us.
At the moment there is an OpenMoko image for the developer release available.
Please note that this image may take long to boot the first time, since this boot finishes the installation process.