Read-only mirror of rockbox' main repository
Switch branches/tags
v3.14-final v3.13-final v3.12-final v3.11.2-final v3.11.1-final v3.11-final v3.10-final v3.9.1-final v3.9-final v3.8.1-final v3.8-final v3.7.1-final v3.7-final v3.6-final v3.5.1-final v3.5-final v3.4-final v3.3-final v3.2-final v3.1-final v3.0.1-final v3.0-final v2.5-final v2.4-final v2.3-final v2.2-final v2.1-final v2.0-final v1.4-final v1.3-final v1.2-final v1.1-final v1.0-final tcctool_v1_0 rbutilqt_v1.0.3 rbutilqt_v1_0_2 rbutil_1.4.0 rbutil_1.3.1 rbutil_1.3.0 rbutil_1.2.14 rbutil_1.2.13 rbutil_1.2.12 rbutil_1.2.11 rbutil_1.2.10 rbutil_1.2.9 rbutil_1.2.8 rbutil_1.2.7 rbutil_1.2.6 rbutil_1.2.5 rbutil_1.2.4 rbutil_1.2.3 rbutil_1.2.2 rbutil_1.2.1 rbutil_1.2 rbutil_1.1 rbutil/mkamsboot/mkamsboot.c rbutil_m1.0.9 rbutil_m1.0.8 rbutil_m1.0.7 rbutil_m1.0.6 rbutil_m1.0.5 rbutil_m1.0.4 mks5lboot_1.0 mkrk27boot_v1.0 mkamsboot_1.6 mkamsboot_1.5 mkamsboot_1.4 mkamsboot_1.2 mkamsboot_1.0 e200rpatcher_v0_2 bootloader_zenxfi3_v1 bootloader_zenxfi2_v2 bootloader_yh820_v1 bootloader_vibe500_v1 bootloader_v6 bootloader_v5 bootloader_v4 bootloader_v2 bootloader_v1 bootloader_sansafuzev2_sansaclipv2_sansaclipplus_v2 bootloader_sansaclipv2_sansaclipplus_v1 bootloader_pp_v6 bootloader_nwzs750_v1 bootloader_nwze580_v1 bootloader_nwze470_v1 bootloader_nwze460_v1 bootloader_nwze450_v1 bootloader_nwze370_v1 bootloader_nwze360_v1 bootloader_nwze350_v1 bootloader_nwza860_v1 bootloader_nwza10_v1 bootloader_nwa20_v1 bootloader_mpiohd300_v1 bootloader_mpiohd200_v1 bootloader_ipods_v4 bootloader_ipods_v3 bootloader_ipods_v2 bootloader_ipodpatcher_v5 bootloader_ipodpatcher_v4
Nothing to show
Clone or download
William Wilgus
William Wilgus Fix playback.c audio_track_count() warning
changes return to unsigned int to match underlying aliased function

Change-Id: I7015c7ad929344441249aa7c4f2af361142fcaf4
Latest commit 7a132a2 Oct 18, 2018

README

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

Build Your Own Rockbox

1. Clone 'rockbox' from git (or extract a downloaded archive).

   $ git clone git://git.rockbox.org/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!