Commit graph

40 commits

Author SHA1 Message Date
Dominik Riebeling
3f65a7051f Move C linkage binding for c++ to exporting header files instead of includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
2008-05-22 17:51:35 +00:00
Dominik Riebeling
850c4f98ba Make sansapatcher check and report permission denied errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17461 a1c6a512-1295-4272-9138-f99709370657
2008-05-11 16:58:02 +00:00
Barry Wardell
386f77b052 Make sansapatcher and ipodpatcher compile on OS X 10.5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16804 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:50:41 +00:00
Dominik Riebeling
ccd8f6cd84 fix sansapatcher mingw build prerequisites.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16173 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 22:19:27 +00:00
Dominik Wenger
4e8d61442d add Manifests to rbutil, sansapatcher and e200rpatcher to gain needed rights on windows vista.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16120 a1c6a512-1295-4272-9138-f99709370657
2008-01-20 21:19:37 +00:00
Dominik Riebeling
919caf0208 allow building ipodpatcher / sansapatcher with MinGW.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16003 a1c6a512-1295-4272-9138-f99709370657
2008-01-06 11:55:55 +00:00
Dave Chapman
658747827f Add some brief instructions to compile sansapatcher
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15847 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 17:39:59 +00:00
Magnus Holmgren
5e37895bac RbUtilQt: Make Sansa bootloader installation work on Windows. (Compiler warnings _are_ useful. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15386 a1c6a512-1295-4272-9138-f99709370657
2007-10-31 18:29:38 +00:00
Barry Wardell
4991cd377e Bump version for release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15227 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 19:12:16 +00:00
Barry Wardell
d46cf97024 Support database rebuild disabling when USB is connected for all e200 OF versions. Some people may have to update the OF (to any version they want) using sansapatcher before it will work. This just ensures that the NVPARAMS are in a good state and we can be sure where to look for the rebuild flag.The c200 OF doesn't reboot before rebuilding the database, so our trick won't ever work there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15225 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 17:08:41 +00:00
Barry Wardell
080889a135 Add support for installing/replacing the bootloader in the PPBL section of the firmware partition. Allows installation of the Rockbox bootloader in place of the Sandisk one. This expects a plain bootloader binary with no header. Our Rockbox bootloader successfully boots both Rockbox and the OF when installed in this way. This makes it easy to get to a state where e200tool is required, so care is advised.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15108 a1c6a512-1295-4272-9138-f99709370657
2007-10-14 18:09:40 +00:00
Barry Wardell
40f5bb3702 Bump version for new release with fixed OF loading on e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15075 a1c6a512-1295-4272-9138-f99709370657
2007-10-11 09:43:24 +00:00
Dave Chapman
ec6f965d87 Bump version for new release for C200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14818 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 21:02:49 +00:00
Dave Chapman
359028fd2c Cosmetic - Change the way the detected type of Sansa is displayed and bump version to 0.4-svn.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14756 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 19:03:09 +00:00
Dave Chapman
8d145a5574 Initial attempt at c200 support - you now need both a "firmware.mi4" file (c200 bootloader) and "PP5022.mi4" file (e200 bootloader) to compile. sansapatcher should detect the device type and install the correct bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14755 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 18:46:54 +00:00
Björn Stenberg
82e4af6c8e Allow FAT16 partitions (for c200)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14753 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 12:28:21 +00:00
Daniel Stenberg
15cf32b517 four more keys that are fun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14752 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 12:21:12 +00:00
Dave Chapman
c720b1bdf0 Bump version to 0.3 and v2 bootloader in preparation for release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14725 a1c6a512-1295-4272-9138-f99709370657
2007-09-15 23:01:05 +00:00
Dave Chapman
ad4b886841 Mac OS X only - automatically unmount the FAT32 partition before attempting to open the disk device for writing. This step can be removed from the manual when the next sansapatcher version is released.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14585 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 19:20:59 +00:00
Dave Chapman
ec3db3860e Accept both 0x0b and 0x0c as valid FAT32 partition types in the partition table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14435 a1c6a512-1295-4272-9138-f99709370657
2007-08-22 23:14:52 +00:00
Barry Wardell
ec04e731de buf is never actually used, so just remove it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14142 a1c6a512-1295-4272-9138-f99709370657
2007-08-02 12:38:52 +00:00
Barry Wardell
c77b14571e Fix a couple of warnings. Also fix a bug where the offset wasn't being reported right in errors when it was past 4GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14140 a1c6a512-1295-4272-9138-f99709370657
2007-08-02 12:12:25 +00:00
Barry Wardell
6a0ec8bfa8 Add --update-original-firmware (or -of) option to sansapatcher. This allows for changing the original firmware version when the rockbox bootloader is also present.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14138 a1c6a512-1295-4272-9138-f99709370657
2007-08-02 11:39:43 +00:00
Dave Chapman
f119dc0d82 Add -W to CFLAGS in Makefile and fix generated warnings. Also close a file handle which was being left open
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14069 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 21:47:05 +00:00
Dave Chapman
2f1a262a60 Cosmetic change - "ipod2c" should be "bin2c" in the comments in the generated .c/.h files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13621 a1c6a512-1295-4272-9138-f99709370657
2007-06-12 14:13:57 +00:00
Dave Chapman
0658dce706 Make rbutil compile on Mac OS X
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13316 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 21:05:24 +00:00
Dominik Wenger
dde262b58a Support for Sansa E200 in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13315 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 20:07:57 +00:00
Dave Chapman
39939bb137 Remove some unused functions, no functional change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13314 a1c6a512-1295-4272-9138-f99709370657
2007-05-03 19:57:35 +00:00
Dave Chapman
7a780dbefc Bump version to 0.2 with new bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12897 a1c6a512-1295-4272-9138-f99709370657
2007-03-23 10:09:34 +00:00
Dave Chapman
b2b79d57d8 Some more sanity checks - don't recognise the new bootloader installed via the old method as a valid E200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12878 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 13:01:22 +00:00
Dave Chapman
5efce18257 Always display the 'Press ENTER to exit sansapatcher' prompt when there is an error in interactive mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12877 a1c6a512-1295-4272-9138-f99709370657
2007-03-21 11:05:38 +00:00
Dave Chapman
7d7135165d Modify the version string ready for initial release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12825 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 19:16:10 +00:00
Dave Chapman
341b03a242 Add Rockbox magic (RBOFe200) to the end of the mi4 header in the original firmware. This may not be needed, but completes the set of RBBL for the bootloader, RBOS for Rockbox itself, and RBOF for the original firmware. Also add more info to an error message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12818 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 10:01:54 +00:00
Dave Chapman
ce5383ee09 Correct an nonsensical #if
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12800 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 09:37:04 +00:00
Dave Chapman
be2971646f Some code rearrangement and function renaming to help incorporation into rbutil without clashing with ipodpatcher.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12797 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 00:23:23 +00:00
Dave Chapman
1860e9ad47 Add a further safety check - don't allow users to install old bootloaders with sansapatcher
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12796 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:55:26 +00:00
Dave Chapman
7b8bf1b0e7 Oops, forgot to add the dummy DSA signature to created MI4 images/files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12795 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:41:08 +00:00
Dave Chapman
e815601afb 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.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12794 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:26:47 +00:00
Dave Chapman
4a81291284 Correct the svn:keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12793 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 23:02:37 +00:00
Dave Chapman
e17043ead7 Initial commit of sansapatcher - an installation tool for the Sansa E200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12792 a1c6a512-1295-4272-9138-f99709370657
2007-03-15 22:55:36 +00:00