Added ID3 database support. Still very early.
[kugel-rb.git] / docs / README
blob334948f224a054a96b5346166d44a246013150c4
1                __________               __   ___.
2      Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
3      Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
4      Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
5      Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
6                        \/            \/     \/    \/            \/
8 Build Your Own Rockbox
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@www.rockbox.org:/cvsroot/rockbox login 
17    $ cvs -z3 -d:pserver:anonymous@www.rockbox.org:/cvsroot/rockbox co rockbox
19      or
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.
26    $ cd rockbox
27    $ mkdir build
28    $ cd build
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
34    Archos.
36    $ ../tools/configure
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.
43    $ which sh-elf-gcc
44    $ which perl
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.
49    $ make
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
57    $ umount /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
66    $ cd build-fmrecorder
67    $ ../tools/configure
69    $ mkdir build-player
70    $ cd build-player
71    $ ../tools/configure
73 Questions anyone? Ask on the mailing list. We'll be happy to help you!