Table of Contents
Details
Flash memory
Typical ADM5120 based devices have 2M of internal flash memory
PARTITION SIZE DEVICE
+-----------------------+
| bootloader | 64k /dev/mtdblock/0
+-----------------------+
| kernel | MIDGE_KERNEL_BLOCKS /dev/mtdblock/1
+-----------------------+
| initfs (squashfs) | MIDGE_INITFS_BLOCKS /dev/mtdblock/2
+-----------------------+
| datafs (jffs2 or raw) | MIDGE_DATAFS_BLOCKS /dev/mtdblock/3
+-----------------------+
Note: if you change MIDGE_*_BLOCKS you should rebuild kernel (make clean-all)
Filesystems
Midge uses squashfs+lzma as initial root filesystem. After boot up, root filesystem is switched to jffs2 or tmpfs.
jffs2 filesystem come with bbc patches.
