2 Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
10 1. Check out 'rockbox' from CVS (or extract a downloaded archive). You
11 want to check out 'rockbox-devel' instead if you want the simulator
12 code too (for trying out things on host before making target tests).
14 (For more information about the simulator, read UISIMULATOR.)
16 $ cvs -d:pserver:anonymous@rockbox.haxx.se:/cvsroot/rockbox login
17 $ cvs -z3 -d:pserver:anonymous@rockbox.haxx.se:/cvsroot/rockbox co rockbox
21 $ tar xzf rockbox.tar.gz
23 2. Create a build directory, preferably in the same directory as the firmware/
24 and apps/ directories. This is where all generated files will be written.
30 4. In your build directory, run the 'tools/configure' script and enter what
31 target you want to build for and if you want a debug version or not (and a
32 few more questions). It'll prompt you. The debug version is for making a
33 gdb version out of it. It is only useful if you run gdb towards your target
38 5. *ploink*. Now you have got a Makefile generated for you.
40 6. Make sure you have sh-elf-gcc and siblings in the PATH. Make sure that you
41 have 'perl' in your PATH too.
46 7. Run 'make' and soon the necessary pieces from the firmware and the apps
47 directories have been compiled, linked and scrambled for you.
51 8. Copy the archos.mod or ajbrec.ajz file to your archos, reboot it and
52 *smile*. Recent Rockbox versions need no reboots, just PLAY a new rockbox
53 version and that'll be loaded and replace the currently running version.
55 $ mount /dev/sda1 /mnt/archos
56 $ cp ajbrec.ajz /mnt/archos
59 Whenever the tools/configure script gets updated, you can make your makefile
60 updated too by running 'tools/configure update'.
62 If you want to build for more than one target, just create several build
63 directories and create a setup for each target:
65 $ mkdir build-fmrecorder
73 Questions anyone? Ask on the mailing list. We'll be happy to help you!