Linux on the Agilent Technologies AAEC-2000 |
||
A big Thank You to the people of SourceForge for hosting this project! | ||
Our SourceForge project web page is located at <http://sourceforge.net/projects/aaec-2000/>. | ||
Most of the software released here is released under the GNU General Public License. Use this software at your own risk. Find out more about GNU at <http://www.gnu.org> | ||
Supported Platform: Currently the only AAEC-2000 platform supported is the Agilent Technologies AAED-2000 Development System. |
1. |
To boot Linux on the AAED-2000 development system you will need
|
2. |
Create a directory to work in.
$ mkdir aaed2000 $ cd aaed2000 |
3. | Download the a2kboot.tar.gz from the project page <http://sourceforge.net/projects/aaec-2000/>. |
4. | Download the kernel source from <http://www.kernel.org/>. The current working version is 2.4.5. If you don't want to build a kernel from source just yet, you can download a glued kernel from the project page, <http://sourceforge.net/projects/aaec-2000/>, and skip down to step 15. |
5. | Download the ARM patches from <ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches>. The current working version is 2.4.5-rmk7. |
6. | Download the AAEC-2000 patches from the SourceForge project page <http://sourceforge.net/projects/aaec-2000/>. Thanks Peter! |
7. |
Uncompress and untar the Linux kernel source.
$ zcat linux-2.4.5.tar.gz | tar -xvf - |
8. | Change directory to the kernel directory, /linux. |
9. |
Patch the kernel with the rmk7 patch.
$ zcat ../patch-2.4.5-rmk7.gz | patch -p1 |
10. |
Patch the kernel with aaec-2000 patches
$ zcat ../aaed2000.patch.4.gz | patch -p1 |
11. |
Apply the default configuration for the AAED-2000 board and make the kernel.
$ cp ./arch/arm/def-configs/aaed2000 ./.config $ make oldconfig $ make dep $ make clean $ make zImage |
12. | Edit the 'glue' script in the linux/ directory to point the ``GLUED='' to a location that you want. The aaed2000/ directory, created at the start, is a good target. |
13. |
Glue the kernel image. Glue'ing simply adds a line to the file with size
information that the bootloader (a2kboot) requires.
$ ./glue |
14. |
Change directory to aaed2000/.
$ cd .. |
15. |
Uncompress and untar the bootloader tarball.
$ tar xzvf a2kboot.tar.gz |
16. | Get a ramdisk (remember this also needs to be glued), a glued one from http://www.netwinder.org is provided on the project download page <http://sourceforge.net/projects/aaec-2000/>. |
17. | At this point you will need some way of uploading all these things to the development system over the serial port. A short script called upload.sh is available from the project page. Alternately, you could use a terminal program, but it must be able to send binaries raw, without any protocol. This has been difficult to find. A new version of a utility called microcom is due out soon that should be able to do this. Check <http://microcom.port5.com/>. |
18. |
Power-up the AAED-2000 and get it ready to recieve the various files we
need to upload to it. On the AAED-2000 keyboard,
|
19. |
Run the upload script.
$ ./upload.sh Or, if you are using a terminal program, do the following:
|
If everything went correctly, the kernel will boot when the ramdisk
upload is completed.
A couple of notes here.
|