rockbox/rbutil/sansapatcher
Dominik Riebeling c8fa53050d rbutil: Add project file for building multiple binaries.
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
2020-10-11 09:42:13 +02:00
..
Makefile Don't add LIBSOURCES to SOURCES. 2016-12-16 19:46:07 +01:00
README Improved README for sansapatcher, contributed by Ori Avtalion, slightly modified by me. 2008-08-01 11:42:33 +00:00
main.c sansapatcher: rework exit code handling. 2020-09-27 09:28:15 +02:00
parttypes.h Implement the ability to embed a bootloader in sansapatcher - the --install option installs the embedded bootloader, and running without any parameters will cause a prompt to be displayed asking the user if they want to install, uninstall or cancel. sansapatcher now requres a PP5022.mi4 file (the Rockbox bootloader) in the current directory when building. 2007-03-15 23:26:47 +00:00
sansaio-posix.c Provide dealloc function to sansapatcher. 2013-01-01 15:06:41 +01:00
sansaio-win32.c Provide dealloc function to sansapatcher. 2013-01-01 15:06:41 +01:00
sansaio.h Provide dealloc function to sansapatcher. 2013-01-01 15:06:41 +01:00
sansapatcher.c Remove 64bit warning by using C99 fixed width format specifier. 2013-01-22 20:39:41 +01:00
sansapatcher.h sansapatcher: rework exit code handling. 2020-09-27 09:28:15 +02:00
sansapatcher.manifest add Manifests to rbutil, sansapatcher and e200rpatcher to gain needed rights on windows vista. 2008-01-20 21:19:37 +00:00
sansapatcher.pro rbutil: Add project file for building multiple binaries. 2020-10-11 09:42:13 +02:00
sansapatcher.rc Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00

README

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.