On Mon, Nov 19, 2007 at 09:34:11AM -0700, RB wrote:
> OpenWRT fits in really tiny spaces - their ext2 image can be fit in
> 16MB flash (designed for ~32)

That's only because the default partitioning scheme is a 4MB ext2 boot
partition for kernel+grub, and a separate 16MB partition for the root
filesystem, to give you some growing room.

If you download the openwrt source tree and build from that, you can have
whatever partitioning you like. It takes about an hour to run, since it
downloads and builds everything from scratch (even the C compiler).

For a really, really tiny system, you can build a kernel with a cpio.gz
ramdisk root filesystem. The benefit is that you can stick these two files
into a single partition; a 4MB partition should be plenty for a basic
system. (Of course, the more packages you include in the root filesystem
image, the bigger it becomes). With a ramdisk root fs you lose all changes
when you reboot, but sometimes this is an advantage, and you can always
create another partition for the rest of the CF and mount that.

Anyway, there's some Soekris-specific info at
http://wiki.openwrt.org/SoekrisPort

HTH,

Brian.
_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to