mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
To use ipodpatcher and sansapatcher as external binaries (so we can do proper permission elevation) we need to build them using qmake as part of the main build. Add a subdirs template based project file to do that, and project files for the patchers. Move Linux appimage rules one level up, since it needs to include the patchers as well. Change-Id: I63ee59372668f4319402df65a77a6f04521d133b |
||
|---|---|---|
| .. | ||
| main.c | ||
| Makefile | ||
| parttypes.h | ||
| README | ||
| sansaio-posix.c | ||
| sansaio-win32.c | ||
| sansaio.h | ||
| sansapatcher.c | ||
| sansapatcher.h | ||
| sansapatcher.manifest | ||
| sansapatcher.pro | ||
| sansapatcher.rc | ||
sansapatcher
------------
To compile sansapatcher, you need both the C200 and E200 Rockbox
bootloaders. The latest bootloaders can always be found here:
http://download.rockbox.org/bootloader/sandisk-sansa/e200/PP5022.mi4
http://download.rockbox.org/bootloader/sandisk-sansa/c200/firmware.mi4
Place both these files in the sansapatcher source directory, and type "make".
Building your own bootloaders
-----------------------------
If you would like to compile the bootloaders yourself, they are the output of
running the "Bootloader" build for the E200 and C200 targets.
NOTE: Unless you know what you are doing, it is recommended that you
use the official pre-built binary bootloaders linked to above.
Bootloaders compiled from current Rockbox SVN are untested and
may contain bugs preventing you from starting the device (or
worse...).
In the Rockbox source directory, do:
mkdir build-e200-bootloader
cd build-e200-bootloader
../tools/configure
[Select E200, then B for bootloader]
make
This will create PP5022.mi4 which you should copy to the sansapatcher
build directory.
A similar process for the C200 will create firmware.mi4.