|
|
|
|
Building a new flash image for the Edimax is done in several steps:
|
|
Standard Unix programs (sh, vi, ls, cat, ...)
are integrated into a single Busybox executable
to save disk-space and runtime memory.
Application programs (a http server) may be added as well. |
|
A filesystem is prepared to contain busybox, maybe some other programs,
and some startup and shutdown scripts.
It will be the root filesystem after starting the computer. The root filesystem is compressed into ramdisk.bz2. | |
| The kernel is assembled into vmlinuz, containing the ramdisk. It will be expanded automatically at boot time. | |
| With a little program, Vmlinuz is embedded into a datablock to fit the flash rom. Then it is flashed into the Edimax using the RS232 port. | |
|
At runtime, both Kernel memory and (initial) Ramdisk are expanded from FlashRom,
and init is started.
Then all networks and standard programs are started using rc.
If the reset button is not pressed, and a separate Flash-Rom partition contains a valid compressed image, it is expanded, overwriting the entire /etc directory, including IP addresses and rc scripts. It is possible to alter the /etc files and flash them back into the Flash-Rom partition. |
Cross Compiler for your Linux/Intel platform
Creating users
Download and install Linux and Busybox sources
Integrating kernel, busybox and other programs
Additional software
Adding your own software
New software