Skip to content

Modifying the root filesystem

brandonhamilton edited this page Apr 6, 2011 · 4 revisions

Changing the filesystem

The JFFS2 image runs directly from the onboard NAND flash, and any modifications or files written while using the kernel will automatically be written to the flash by the filesystem.

Recreating the filesystem from source

The supplied root filesystem included can be recreated following the instructions below on a host machine:

  1. Download the Root Filesystem Source

  2. Unpack the root filesystem into a local directory (be sure to do this with root permissions)
    mkdir rhinofs; cd rhinofs sudo tar -jxvf ../rhinofs.tar.bz2

  3. Modify the filesystem within the rhinofs directory

  4. Rebuild the JFFS2 (You may need to install the mtd-utils package on your machine)
    sudo mkfs.jffs2 -lqnp -e 128 -r rhinofs -o rhinofs.jffs2

  5. Transfer and write the new image into the flash device as described in the Software Setup page

Clone this wiki locally