Ramdisk

Folder AMiLDA/ramdisk contains the Makfile that creates a compressed filesystem image that is loaded into SDRAM and mounted when Linux™ boots. You should study this Makefile carefully because most system changes will require changes here.

Essentially, this Makefile creates a temporary folder, mounts it as an ext2 filesystem, populates it with required folders and files, unmounts it and compresses it. The compressed image is ultimately included in the image file AMiLDA/linux/vmlinuz.

This section covers the folders and files needed for proper operation of the Atheros Powerline Toolkit. It does not cover any other folders and files that may be needed by components of the AMiLDA™ environment.

Atheros Toolkit

The Atheros Toolkit requires folder /usr/local/bin to be present on the ramdisk. This folder must be created and desired programs should be copied there. Additionally, this folder should be added to the user environment, in some way, because it is not part of the standard Busybox™ environment.

Web Interface

The Atheros Toolkit web interfaces requires the following folders and files to be present on the ramdisk.

/www/cgi-bin

Contains the main application program, intellon.cgi, that receives and services CGI requests sent from the client browser. This folder must be created on the ramdisk and desired application programs copied to it. In addition, this folder should be added to the user environment, in some way, on login since is is not part of the standard Busybox™ environment.

/www/styles

Contains the main application stylesheet, amilda.css. This folder must be creted on the ramdisk and the ctylesheet must be copied to it.

/www/images

Contains application images. This folder must be created on the ramdisk and the required images copied to it.

/var/state

Contains the application session variable, intellon.dat. This folder must be created on the ramdisk, if it does not already exist, or the web interace will not preserve information from one session to the next. A default session variable may be copied here, but it is not required, because it is dynamically created.