rockbox/rbutil/sansapatcher
Dominik Riebeling b3ef8c8e5b Put resource object into object folder.
Use correct path for windres output. Fixes windres running even if no changes
are present.

Change-Id: I2841113bab9b38f2a03ba2f168b3d8bdb5c102df
2013-04-04 22:42:22 +02:00
..
main.c Provide dealloc function to sansapatcher. 2013-01-01 15:06:41 +01:00
Makefile Put resource object into object folder. 2013-04-04 22:42:22 +02:00
parttypes.h
README
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: move sectorbuf pointer into sansa_t structure. 2013-01-01 15:06:34 +01: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.