1
0
Fork 0
forked from len0rd/rockbox
foxbox/utils/sansapatcher
Solomon Peachy 57b3d2ffb1 FS#13358: Fix sansapatcher build against musl libc
Change-Id: I1824019f4eb30877e2883912ddb50bd420de9fb6
2024-06-18 10:55:27 -04:00
..
main.c rbutil: Merge rbutil with utils folder. 2021-12-24 18:05:53 +01:00
Makefile rbutil: Merge rbutil with utils folder. 2021-12-24 18:05:53 +01:00
parttypes.h rbutil: Merge rbutil with utils folder. 2021-12-24 18:05:53 +01:00
README rbutil: Merge rbutil with utils folder. 2021-12-24 18:05:53 +01:00
sansaio-posix.c rbutil: Fix sansapatcher bootloader install on Windows. 2022-04-14 22:22:46 +02:00
sansaio-win32.c rbutil: Fix sansapatcher bootloader install on Windows. 2022-04-14 22:22:46 +02:00
sansaio.h FS#13358: Fix sansapatcher build against musl libc 2024-06-18 10:55:27 -04:00
sansapatcher.c rbutil: Merge rbutil with utils folder. 2021-12-24 18:05:53 +01:00
sansapatcher.h rbutil: Merge rbutil with utils folder. 2021-12-24 18:05:53 +01:00
sansapatcher.manifest rbutil: Merge rbutil with utils folder. 2021-12-24 18:05:53 +01:00
sansapatcher.rc rbutil: Merge rbutil with utils folder. 2021-12-24 18:05:53 +01: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.