I have a few La Fonera's that I would like to use as wireless linux clients. IOW - I don't want them to be routers, AP's, etc. Essentially, I want the absolute smallest configuration of OpenWRT that can connect to another AP as a client for net access. The existing network uses WEP, due to gaming adapters, old Macs, etc. (Yes, I know - not exactly secure, but it's better than nothing)
I need to strip the image down to the bare minimum necessary to get the "router" on the local network, leaving the rest for my application.
Also, what do I need to do to cross-compile my app for OpenWRT on the La Fonera? Beyond the arch difference (MIPS vs IA32), is there anything I need to do library wise? The code is all ANSI C, and is fairly POSIX compliant. Although this is my first foray into an embedded linux, I've done stand-alone apps for PPC & Microblaze (Xilinx' "soft" 32-bit RISC processor). The trick is that the Xilinx EDK is programmed for cross-compilation by default - so I've never done it by hand.
BTW - what I intend to do is attach a small FPGA to the unused GPIO, probably a Xilinx Spartan 3E-100 (XC3S100E). The idea is to use the Fonera to configure the FPGA using GPIO, then connect to the FPGA using SPI afterwards. 5 pins are perfect for this application, so long as you are willing to stick to a 3-wire SPI link, and deal with a bidirectional data line (SDIO). This eliminates the FLASH configuration memory, resulting in a single chip solution, though I will probably go ahead and add a MAX3232 chip for RS232 level translation. The other advantage to this method is that I can "upgrade" the FPGA firmware image remotely without having to deal with JTAG - just wget/tftp the new firmware down, and restart the app.
The FPGA will handle the hardware end of the application, while the Fonera's MIPS processor runs the software end of the application.
Note: The latest Xilinx part, the XC3S50AN, would be absolutely PERFECT - were they obtainable by mere mortals. (the 'AN's have internal configuration memory, and only need 2 supply voltages - Vccint, and Vccaux/Vccio)