Rockbox
Find a file
Dave Chapman 1b39f2e117 Add support for Samsung YP P2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16240 a1c6a512-1295-4272-9138-f99709370657
2008-02-07 20:53:20 +00:00
apps make the gcc work-around somewhat more inclusive for gcc 4.2.X where X is 1 2008-02-07 00:02:41 +00:00
backdrops Add backdrops/, icons/ and utils/ as well as some missing rwpses to the tarballs. 2008-01-23 23:31:04 +00:00
bootloader Gigabeat S mixer: Make some progress. Get the tick and core sleep working using the AVIC. Redo the startup code to remap from IRAM and not include the lcd driver frambuffer in the remapping (until it can be moved). Clean up LCD driver. For other misc. changes, see the diffs. Now it progresses to ATA init and fails with -11 but without crashing or hanging. Replace all bootloaders. 2008-02-05 04:43:19 +00:00
docs Convert to UTF-8 and a few tweaks. 2008-02-07 00:56:07 +00:00
firmware mrobe 100: (1) fix the sound volume by properly enabling headphone output, (2) disable line-out since there's no connector. 2008-02-06 05:15:06 +00:00
flash Include some more stuff in the tarballs. 2007-09-04 21:53:33 +00:00
fonts Binary font committed by mistake? 2008-01-24 00:00:10 +00:00
gdb Renamed 'archos' to 'modelname' in the configure script and the Makefiles 2008-01-23 10:59:17 +00:00
icons Add backdrops/, icons/ and utils/ as well as some missing rwpses to the tarballs. 2008-01-23 23:31:04 +00:00
manual Fix the c200 manual which was broken by yesterday's button action macros in the radio chapter commit. 2008-02-04 12:35:42 +00:00
rbutil Save the internal name for tts / encoder in the configuration file, not the displayed nice name. Additionally, kill a few warnings. 2008-02-06 21:51:35 +00:00
tools Renamed 'archos' to 'modelname' in the configure script and the Makefiles 2008-01-23 10:59:17 +00:00
uisimulator Shiny new bitmap for the D2 sim 2008-01-23 22:19:53 +00:00
utils Add support for Samsung YP P2 2008-02-07 20:53:20 +00:00
wps Several fixes for the cabbiev2 theme. (1) Rename the files used for the rwps and change the WPSLIST so that it is done the same way as for iCatcher and .rwps files are actually included in the zip. (2) Replace the Iaudio rwps background which was taken fron the unicode version before with the correct one. (3) Fix the e200 wps to look like the author intended and with the progressbar at the right spot. (4) Make the 160x128 greyscale version use the helvR10 font as the colour version does. This also fixes a potential issue with the Iaudio rwps. (5) Clean up the WPSLIST a bit and drop (hopefully) unnecessary definitions. I guess it could be even simplified some more, someone with a bit perl foo should look into this. -- (3) and (4) taken from the last entries in FS#8443 by Apoo Maha. 2008-02-02 01:10:43 +00:00

               __________               __   ___.
     Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
     Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
     Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
     Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
                       \/            \/     \/    \/            \/

Build Your Own Rockbox

1. Check out 'rockbox' from SVN (or extract a downloaded archive).

   $ svn co svn://svn.rockbox.org/rockbox/trunk rockbox

     or

   $ tar xjf rockbox.tar.bz2

2. Create a build directory, preferably in the same directory as the firmware/
   and apps/ directories. This is where all generated files will be written.

   $ cd rockbox
   $ mkdir build
   $ cd build

3. Make sure you have sh/arm/m68k-elf-gcc and siblings in the PATH. Make sure
   that you have 'perl' in your PATH too. Your gcc cross compiler needs to be
   a particular version depending on what player you are compiling for. These
   can be acquired with the rockboxdev.sh script in the /tools/ folder of the
   source, or will have been included if you've installed one of the
   toolchains or development environments provided at http://www.rockbox.org/

   $ which sh-elf-gcc
   $ which perl

4. In your build directory, run the 'tools/configure' script and enter what
   target you want to build for and if you want a debug version or not (and a
   few more questions). It'll prompt you. The debug version is for making a
   gdb version out of it. It is only useful if you run gdb towards your target
   Archos.

   $ ../tools/configure

5. *ploink*. Now you have got a Makefile generated for you.

6. Run 'make' and soon the necessary pieces from the firmware and the apps
   directories have been compiled, linked and scrambled for you.

   $ make
   $ make zip

7. unzip the rockbox.zip on your music player, reboot it and
   *smile*.

If you want to build for more than one target, just create several build
directories and create a setup for each target:

   $ mkdir build-fmrecorder
   $ cd build-fmrecorder
   $ ../tools/configure

   $ mkdir build-player
   $ cd build-player
   $ ../tools/configure

Questions anyone? Ask on the mailing list. We'll be happy to help you!