The aos-tools Toolchain
The aos-tools toolchain is a suite of tools that deal with .aos containers, and various files often found inside them.
- Google Code Repository: http://code.google.com/p/aos-tools/
Description of all the parts:
- libaos: a library that contains the structure definitions, validation logic, and other abstract stuff.
- tools: host-side tools to deal with aos, cpio, cramfs, and other files.
- target-tools: device-side tools.
The bulk of this code was written based on informations gathered from reverse engineering various parts of the Archos 5 firmware (namely avos, cramfschecker, etc).
Checking out the trunk
Type the following command in a shell:
svn checkout http://aos-tools.googlecode.com/svn/trunk/ aos-tools
Compiling the Toolchain
To compile libaos and tools, simply type make in their respective folders (libaos first): (On ubuntu (karmic) you will have to first install the openssl-dev package via synaptic package manager)
cd aos-tools (cd libaos && make) (cd tools && make && make install)
This step is optional. To compile the target-tools, you will first need to compile an ARM cross-compiler. Luckily there is one included and properly configured in the AX06_GPL sources. Follow this tutorial to compile the sources, and then type make install in the following folders in order to install the cross-compiler on your host:
Now type make in the target-tools folder.