rockbox/rbutil/sansapatcher
Dominik Riebeling 3e489c14c1 Rename print_error() in ipodpatcher and sansapatcher.
Both patchers use the same function name with one being removed when
building for rbutil. This gets in the way trying to move the patchers to
libraries, and it also results a linking dependency of sansapatcher on
ipodpatcher. Renaming the function makes both more self-contained and
avoids potential issues if the functions happen to not do the same.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23568 a1c6a512-1295-4272-9138-f99709370657
2009-11-08 13:38:10 +00:00
..
main.c Also bump version in trunk 2009-07-10 16:52:02 +00:00
Makefile Small tweaks to r21778/r21779 - use -p for both mkdir and cp commands in dmg creation rule 2009-07-11 22:50:22 +00: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
README Improved README for sansapatcher, contributed by Ori Avtalion, slightly modified by me. 2008-08-01 11:42:33 +00:00
sansaio-posix.c Rename print_error() in ipodpatcher and sansapatcher. 2009-11-08 13:38:10 +00:00
sansaio-win32.c Rename print_error() in ipodpatcher and sansapatcher. 2009-11-08 13:38:10 +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 Let sansa_list_images() return the number of mi4 images found. 2008-07-16 18:46:37 +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 add Manifests to rbutil, sansapatcher and e200rpatcher to gain needed rights on windows vista. 2008-01-20 21:19:37 +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.