In case someone needs it: just made a nano-image for use e.g. with 2Mb-Flash devices. Be warned: this is really _very_ barebone. It's generated with the freifunk-KIT (similar to OW image-builder) which has a new switch for this. Flashable image is here:
http://styx.commando.de/sven-ola/freifunk-nano.trx
Some techno babble:
- 10 flash pages free on wrt54g-v5 for JFFS2
- Which means: 512 kb compressible r/w space
- mini_fo is used, ipkg's can be installed via "ipkg update..."
- all config via nvram, no iwconfig (use "wifi up")
- no firewalling, no dropbear, no dnsmasq (only udhcpd)
- Freifunk uses iproute2, so no "route" nor "ifconfig". Use "ip"
- No web ui, only telnet. Failsafe and autoformat supported.
- Freifunk does not support WEP nor WPA
- Same kernel, uclibc is compat to Whiterussian/RC5
- Which means: You can install RC5 ipkgs.
Kernel: 465k, RootFS: 588k, Jffs2: 2688k/0x2a0000, TRX: 0x107000
Be warned: This is nothing for beginners. If you don't know how to TFTP do not use it. Here's a live snapshot (that device has 4Mb/16Mb):
root@heidel-sued:/# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 640 640 0 100% /rom
/dev/mtdblock/4 2688 272 2416 10% /
root@heidel-sued:/# free
total used free shared buffers
Mem: 14452 5964 8488 0 584
Swap: 0 0 0
Total: 14452 5964 8488
root@heidel-sued:/# dmesg -c
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x000b41d8-0x00150000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00150000-0x003f0000 : "OpenWrt"
diag boardtype: 00000101
Probing device eth0: No Robo switch in managed mode found
Probing device eth1: No such device
Probing device eth2: No such device
Probing device eth3: No such device
eth1: Broadcom BCM4320 802.11 Wireless Controller 3.90.37.0
root@heidel-sued:/#