summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher
AgeCommit message (Collapse)AuthorFilesLines
2009-07-11Small tweaks to r21778/r21779 - use -p for both mkdir and cp commands in dmg ↵Dave Chapman1-2/+2
creation rule git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21793 a1c6a512-1295-4272-9138-f99709370657
2009-07-11sansapatcher: new sansapatcher.dmg creation rule for OSXRafaël Carré1-1/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21778 a1c6a512-1295-4272-9138-f99709370657
2009-07-10Also bump version in trunkFrank Gevaerts1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21747 a1c6a512-1295-4272-9138-f99709370657
2009-06-22Add an explicit rule to compile bin2c - r21272 broke compilation of ↵Dave Chapman1-0/+3
sansapatcher on at least Linux because Make's implicit rule for compiling bin2c was being used, which uses CC, which was set to i586-mingw32msvc-gcc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21476 a1c6a512-1295-4272-9138-f99709370657
2009-06-13Make bin2c compile with VS2005 and move it to a separate folder as its ↵Dominik Riebeling2-143/+5
getting used by different tools now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21272 a1c6a512-1295-4272-9138-f99709370657
2009-05-01Make sure the global buffers for ipodpatcher and sansapatcher get allocated ↵Dominik Riebeling1-1/+1
and freed only once. Fixes segfaults when the bootloader install class was instanciated multiple times. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20835 a1c6a512-1295-4272-9138-f99709370657
2008-10-23Bump version number to v0.7 with 5.0 bootloaders. Part of FS#9369.Robert Menes1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18868 a1c6a512-1295-4272-9138-f99709370657
2008-08-31Replaced TAB characters by spaces in sansapatcherBertrik Sikken3-33/+33
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18368 a1c6a512-1295-4272-9138-f99709370657
2008-08-31Fix missing sansa_close when scanning for sansas in sansapatcher.cBertrik Sikken1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18367 a1c6a512-1295-4272-9138-f99709370657
2008-08-01Improved README for sansapatcher, contributed by Ori Avtalion, slightly ↵Dave Chapman1-0/+26
modified by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18169 a1c6a512-1295-4272-9138-f99709370657
2008-07-28Redo r18136 a little cleanerBertrik Sikken1-4/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18141 a1c6a512-1295-4272-9138-f99709370657
2008-07-27Make sure to always use the initial key for decryption of mi4 files in ↵Bertrik Sikken1-2/+4
sansapatcher. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18136 a1c6a512-1295-4272-9138-f99709370657
2008-07-27Added mi4 key for sansa c200 OF version 01.01.07Bertrik Sikken1-2/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18135 a1c6a512-1295-4272-9138-f99709370657
2008-07-16Let sansa_list_images() return the number of mi4 images found.Dominik Riebeling2-4/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18074 a1c6a512-1295-4272-9138-f99709370657
2008-07-14Make functions in sansapatcher static and their arguments const if possible.Bertrik Sikken4-22/+21
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18037 a1c6a512-1295-4272-9138-f99709370657
2008-07-14Fix FS#9002 - Bootloader on c200 shows "target id: e200"Bertrik Sikken1-4/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18035 a1c6a512-1295-4272-9138-f99709370657
2008-06-30When scanning for Ipod / Sansa close the disc handle of every tried disc, ↵Dominik Riebeling1-0/+3
not only for successful checks. Fixes "no Sansa found" issues with rbutil on w32 after autodetection was used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17893 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg7-14/+28
later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-17Rename variables sectorbuf and verbose to avoid clashes in rbutil. Cleanup ↵Dominik Riebeling3-62/+59
exports a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17730 a1c6a512-1295-4272-9138-f99709370657
2008-05-22Move C linkage binding for c++ to exporting header files instead of includes.Dominik Riebeling1-0/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
2008-05-11Make sansapatcher check and report permission denied errors.Dominik Riebeling3-23/+42
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17461 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Make sansapatcher and ipodpatcher compile on OS X 10.5.Barry Wardell1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16804 a1c6a512-1295-4272-9138-f99709370657
2008-01-26fix sansapatcher mingw build prerequisites.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16173 a1c6a512-1295-4272-9138-f99709370657
2008-01-20add Manifests to rbutil, sansapatcher and e200rpatcher to gain needed rights ↵Dominik Wenger3-2/+20
on windows vista. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16120 a1c6a512-1295-4272-9138-f99709370657
2008-01-06allow building ipodpatcher / sansapatcher with MinGW.Dominik Riebeling1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16003 a1c6a512-1295-4272-9138-f99709370657
2007-11-29Add some brief instructions to compile sansapatcherDave Chapman1-0/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15847 a1c6a512-1295-4272-9138-f99709370657
2007-10-31RbUtilQt: Make Sansa bootloader installation work on Windows. (Compiler ↵Magnus Holmgren1-2/+2
warnings _are_ useful. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15386 a1c6a512-1295-4272-9138-f99709370657
2007-10-20Bump version for releaseBarry Wardell1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15227 a1c6a512-1295-4272-9138-f99709370657
2007-10-20Support database rebuild disabling when USB is connected for all e200 OF ↵Barry Wardell1-2/+23
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-14Add support for installing/replacing the bootloader in the PPBL section of ↵Barry Wardell3-1/+74
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-11Bump version for new release with fixed OF loading on e200.bootloader_e200_v3bootloader_c200_v3Barry Wardell1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15075 a1c6a512-1295-4272-9138-f99709370657
2007-09-22Bump version for new release for C200bootloader_c200_v2Dave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14818 a1c6a512-1295-4272-9138-f99709370657
2007-09-19Cosmetic - Change the way the detected type of Sansa is displayed and bump ↵Dave Chapman2-5/+3
version to 0.4-svn. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14756 a1c6a512-1295-4272-9138-f99709370657
2007-09-19Initial attempt at c200 support - you now need both a "firmware.mi4" file ↵Dave Chapman5-30/+121
(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-19Allow FAT16 partitions (for c200)Björn Stenberg1-1/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14753 a1c6a512-1295-4272-9138-f99709370657
2007-09-19four more keys that are funDaniel Stenberg1-2/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14752 a1c6a512-1295-4272-9138-f99709370657
2007-09-15Bump version to 0.3 and v2 bootloader in preparation for releaseDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14725 a1c6a512-1295-4272-9138-f99709370657
2007-09-02Mac OS X only - automatically unmount the FAT32 partition before attempting ↵Dave Chapman1-0/+25
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-08-22Accept both 0x0b and 0x0c as valid FAT32 partition types in the partition tableDave Chapman1-3/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14435 a1c6a512-1295-4272-9138-f99709370657
2007-08-02buf is never actually used, so just remove itBarry Wardell1-3/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14142 a1c6a512-1295-4272-9138-f99709370657
2007-08-02Fix a couple of warnings. Also fix a bug where the offset wasn't being ↵Barry Wardell2-12/+13
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-02Add --update-original-firmware (or -of) option to sansapatcher. This allows ↵Barry Wardell3-36/+147
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-07-29Add -W to CFLAGS in Makefile and fix generated warnings. Also close a file ↵Dave Chapman2-8/+20
handle which was being left open git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14069 a1c6a512-1295-4272-9138-f99709370657
2007-06-12Cosmetic change - "ipod2c" should be "bin2c" in the comments in the ↵Dave Chapman1-2/+2
generated .c/.h files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13621 a1c6a512-1295-4272-9138-f99709370657
2007-05-03Make rbutil compile on Mac OS XDave Chapman2-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13316 a1c6a512-1295-4272-9138-f99709370657
2007-05-03Support for Sansa E200 in rbutilDominik Wenger4-16/+25
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13315 a1c6a512-1295-4272-9138-f99709370657
2007-05-03Remove some unused functions, no functional changeDave Chapman1-36/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13314 a1c6a512-1295-4272-9138-f99709370657
2007-03-23Bump version to 0.2 with new bootloaderDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12897 a1c6a512-1295-4272-9138-f99709370657
2007-03-21Some more sanity checks - don't recognise the new bootloader installed via ↵Dave Chapman1-4/+23
the old method as a valid E200 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12878 a1c6a512-1295-4272-9138-f99709370657
2007-03-21Always display the 'Press ENTER to exit sansapatcher' prompt when there is ↵Dave Chapman1-63/+66
an error in interactive mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12877 a1c6a512-1295-4272-9138-f99709370657