Robert Hak | 40bafc5 | 2002-08-21 10:19:23 +0000 | [diff] [blame] | 1 | __________ __ ___. |
| 2 | Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 3 | Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 4 | Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 5 | Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 6 | \/ \/ \/ \/ \/ |
| 7 | |
| 8 | Build your own archos.mod. |
| 9 | |
| 10 | 1. Check out 'firmware', 'apps' and 'tools' from CVS (or possibly from a |
| 11 | downloaded archive). You may possibly want 'uisimulator' too (for trying |
| 12 | out things on host before making target tests). If you haven't already |
| 13 | done so, we advise you pull down the 'docs' directory as well. |
| 14 | |
Robert Hak | 5f84df9 | 2002-08-21 10:22:49 +0000 | [diff] [blame] | 15 | If you do want to play with the simulator, read UISIMULATOR. |
| 16 | |
Robert Hak | 40bafc5 | 2002-08-21 10:19:23 +0000 | [diff] [blame] | 17 | 2. Build the tools by running 'make' in the tools/ directory. |
| 18 | |
| 19 | 3. Create your own build directory, preferably in the same directory as the |
| 20 | firmware/ and apps/ directories. This is where all generated files will be |
| 21 | put. |
| 22 | |
| 23 | 4. In your build directory, run the 'tools/configure' script and enter what |
| 24 | target you want to build for and if you want a debug version or not. It'll |
| 25 | prompt you. The debug version is for making a gdb version out of it. It is |
| 26 | only useful if you run gdb towards your target Archos. |
| 27 | |
| 28 | 5. Make sure you have sh-elf-gcc and siblings in the PATH. |
| 29 | |
| 30 | 6. *ploink*. Now you have got a Makefile generated for you. Run 'make' and |
| 31 | soon the necessary pieces from the firmware and the apps directories have |
| 32 | been compiled and linked. |
| 33 | |
| 34 | 7. Copy the archos.mod file to your archos, reboot it and *smile*. |
| 35 | |
| 36 | Whenever the tools/configure script gets updated, you can make your makefile |
| 37 | updated too by running 'tools/configure update' |
| 38 | |
| 39 | If you want to build for more than one target, just create a new build |
| 40 | directory and create a setup for another target combination in there. |
| 41 | |
| 42 | Questions anyone? Take them to the mailing list. We'll be happy to help you |
| 43 | out! |
| 44 | |
| 45 | |
| 46 | |
| 47 | |