rockbox/rbutil/sansapatcher
2009-05-01 21:35:06 +00:00
..
bin2c.c Make functions in sansapatcher static and their arguments const if possible. 2008-07-14 16:43:47 +00:00
main.c Bump version number to v0.7 with 5.0 bootloaders. Part of FS#9369. 2008-10-23 14:36:21 +00:00
Makefile
parttypes.h
README Improved README for sansapatcher, contributed by Ori Avtalion, slightly modified by me. 2008-08-01 11:42:33 +00:00
sansaio-posix.c Replaced TAB characters by spaces in sansapatcher 2008-08-31 09:44:45 +00:00
sansaio-win32.c Replaced TAB characters by spaces in sansapatcher 2008-08-31 09:44:45 +00:00
sansaio.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
sansapatcher.c Make sure the global buffers for ipodpatcher and sansapatcher get allocated and freed only once. Fixes segfaults when the bootloader install class was instanciated multiple times. 2009-05-01 21:35:06 +00:00
sansapatcher.h Let sansa_list_images() return the number of mi4 images found. 2008-07-16 18:46:37 +00:00
sansapatcher.manifest
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.