rockbox/rbutil/sansapatcher
Dominik Riebeling 271441eb9d MinGW: prefer C99 compliance by using replacement implementations.
This addresses several warnings caused by format modifiers that are not
supported by MSVCRT. MinGW provides replacement functions since mingw-runtime
3.15 so use them. See also
http://article.gmane.org/gmane.comp.gnu.mingw.user/27539/



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28735 a1c6a512-1295-4272-9138-f99709370657
2010-12-05 15:24:10 +00:00
..
main.c Also bump version in trunk 2009-07-10 16:52:02 +00:00
Makefile MinGW: prefer C99 compliance by using replacement implementations. 2010-12-05 15:24:10 +00:00
parttypes.h
README
sansaio-posix.c Rename print_error() in ipodpatcher and sansapatcher. 2009-11-08 13:38:10 +00:00
sansaio-win32.c Always format error message using ANSI functions to get rid of type-punning when building with rbutil. 2009-12-09 19:04:02 +00:00
sansaio.h Rename print_error() in ipodpatcher and sansapatcher. 2009-11-08 13:38:10 +00:00
sansapatcher.c Rename print_error() in ipodpatcher and sansapatcher. 2009-11-08 13:38:10 +00:00
sansapatcher.h
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.