1 beastpatcher - a tool for installing the Rockbox bootloader on the Gigabeat S
3 Unlike most other parts of the Rockbox project, this tool is
4 distributed under the BSD license. This is due to the fact that the
5 Windows version links with the Microsoft MTP library.
9 Building instructions - All OSes
10 --------------------------------
12 For all versions, you need to copy a "bootloader.bin" file (containing
13 the Rockbox bootloader) into this directory.
15 This can be built from the Rockbox source by selecting "41" and then
16 "B" when running tools/configure.
18 You need the Rockbox toolchain to build any Rockbox target binaries -
19 this can be downloaded and built with the tools/rockboxdev.sh script.
21 The latest officially released bootloader can always be downloaded from:
23 http://download.rockbox.org/bootloader/toshiba/gigabeat-s/
30 The Unix versions requires libmtp, which in turn requires libusb.
32 beastpatcher is built to statically link to these libraries and
33 expects them to exist as /usr/lib/libmtp.a and /usr/lib/libusb.a
34 respectively. Change the definition of LIBS in the Makefile if this
35 is not the case for your system.
37 After this, just type "make" to get a
44 The OS X build is a universal binary statically linked with libusb and libmtp.
45 It has been tested with libusb version 0.1.12 and libmtp version 1.0.1.
47 The following files are expected the beaspatcher source directory:
50 libusb: usb.h libusb-i386.a
51 libmtp: libmtp.h libmtp-i386.a
54 libusb: usb.h libusb-ppc.a
55 libmtp: libmtp.h libmtp-ppc.a
57 These are easily compiled from source using the standard
58 './configure && make'. Look in .libs for libusb.a and src/.libs for libmtp.a,
59 and make sure to rename them to their -i386/-ppc filenames when copying into
60 the beastpatcher directory.
62 After this, just type "make beastpatcher-mac" to get a universal binary. If you
63 only want a binary for a particular architecture, you can use
64 "make beastpatcher-i386" or "make beastpatcher-ppc" instead. In this case, you
65 only need the libusb and libmtp library for your desired architecture.
71 The MTP_DLL.dll requires VC2005 to compile - see instructions in
74 To compile beastpatcher itself, you can either cross-compile from
75 Linux using the mingw32 package, or compile in Cygwin. Just type
76 "make beastpatcher.exe" (in Linux) or "make" (in Cygwin).
78 To run beastpatcher.exe, you need MTP_DLL.dll in the same directory
79 (or the Windows DLL path).
81 Alternatively, beastpatcher can be built as binary that includes the
82 MTP functionality and thus doesn't require the MTP_DLL. Building has
83 the additional requirements as building the MTP_DLL. A VS2005 project