rockbox/rbutil/sansapatcher
Dominik Riebeling ab49b5e77b MSVC compatibility adjustments.
When using a global variable from a DLL with MSVC special handling is necessary
to avoid going through additional redirection.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31640 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 19:51:11 +00:00
..
main.c sansapatcher: allow building without bootloaders. 2011-12-16 20:10:33 +00:00
Makefile sansapatcher, ipodpatcher: use MinGW C99 version of stdio functions. 2011-12-16 21:10:21 +00:00
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 sansapatcher: guard platform specific files. 2011-12-04 19:40:35 +00:00
sansaio-win32.c sansapatcher: guard platform specific files. 2011-12-04 19:40:35 +00:00
sansaio.h Various adjustments for MSVC. 2011-12-08 21:59:13 +00:00
sansapatcher.c sansapatcher: factor out handling of bundled bootloaders. 2011-12-04 19:40:43 +00:00
sansapatcher.h MSVC compatibility adjustments. 2012-01-08 19:51:11 +00: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.rc Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00

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.