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