summaryrefslogtreecommitdiff
path: root/tools/ipodpatcher/ipodpatcher.c (follow)
Commit message (Collapse)AuthorAge
* Move ipodpatcher into rbutil directoryDave Chapman2007-02-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12263 a1c6a512-1295-4272-9138-f99709370657
* Move the command-line specific code into main.c, leaving the firmware ↵Dave Chapman2007-02-08
| | | | | | manipulation code in ipodpatcher.c. No functional changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12238 a1c6a512-1295-4272-9138-f99709370657
* Bugfix - the bootloader was being overwritten if the firmware partition ↵Dave Chapman2007-02-08
| | | | | | needed to be rearranged to make space (i.e. the first time a bootloader is installed). Thanks to Paul Louden for helping to test and debug. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12237 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress (i.e. not well tested) changes: Add the option to build ↵Dave Chapman2007-02-08
| | | | | | ipodpatcher with the Rockbox bootloaders embedded (see the comments in the Makefile for build instructions). This gives a new --install option which will search for an ipod, and if exactly one is found, will install the embedded bootloader. Even easier is the new interactive mode - running ipodpatcher with no command-line options (e.g. double-clicking on ipodpatcher.exe in Windows) will cause ipodpatcher to search for an ipod, and if exactly one is found, ask the user if he/she wishes to install the bootloader. Thanks to Bryan Childs for sample code to deal with prompts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12235 a1c6a512-1295-4272-9138-f99709370657
* Oops, we should close the devices during the scanDave Chapman2007-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12217 a1c6a512-1295-4272-9138-f99709370657
* Make the [device] parameter optional. If none is specified, then ↵Dave Chapman2007-02-06
| | | | | | ipodpatcher scans for an ipod, and if exactly one ipod is found, it uses that device. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12215 a1c6a512-1295-4272-9138-f99709370657
* Bump version to 0.7 for releaseDave Chapman2007-02-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12212 a1c6a512-1295-4272-9138-f99709370657
* Support for modifying the firmware partition on Macpods (useful for IPL ↵Dave Chapman2007-02-05
| | | | | | users), along with the addition of a big warning when ipodpatcher detects a Macpod to say that Rockbox won't work on it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12209 a1c6a512-1295-4272-9138-f99709370657
* Update (C) date to 2007Dave Chapman2007-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12205 a1c6a512-1295-4272-9138-f99709370657
* Bump version to 0.6 ready for new releaseDave Chapman2007-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12200 a1c6a512-1295-4272-9138-f99709370657
* Fix compile error on BSD and Mac OS and remove a warningDave Chapman2007-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12199 a1c6a512-1295-4272-9138-f99709370657
* Bugfix. ipodpatcher wasn't correctly deciding when to rearrange the ↵Dave Chapman2007-02-04
| | | | | | contents of the firmware partition to make space for the bootloader. This bug was only hit when the amount of space required was less than 0x4400 bytes (17KB) - e.g. when upgrading an existing bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12193 a1c6a512-1295-4272-9138-f99709370657
* Mainly internal changes to create a struct ipod_t instead of passing lots of ↵Dave Chapman2007-02-04
| | | | | | parameters to all the functions. Also adds (untested) 3G support, plus a --write-firmware-bin option (requested by IPL people to write a kernel directly to the firmware partition). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12190 a1c6a512-1295-4272-9138-f99709370657
* Minor bugfix - use O_TRUNC when reading the firmware partition.Dave Chapman2007-01-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12150 a1c6a512-1295-4272-9138-f99709370657
* Add the --add-bootloader-bin (-ab) option to add a binary bootloader (a raw ↵Dave Chapman2006-12-21
| | | | | | .bin file with no kind of header). This can be used to install the ipodlinux loader2 bootloader without needing to convert it to the Rockbox ".ipod" format. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11831 a1c6a512-1295-4272-9138-f99709370657
* OopsDave Chapman2006-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11793 a1c6a512-1295-4272-9138-f99709370657
* Add a simple --scan option which tests all disks from 0 to 25 to see if they ↵Dave Chapman2006-12-17
| | | | | | look like an ipod. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11792 a1c6a512-1295-4272-9138-f99709370657
* Windows appears to require sector-aligned reads, which wasn't happening ↵Dave Chapman2006-12-15
| | | | | | everywhere for ipods with 2048-byte sectors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11770 a1c6a512-1295-4272-9138-f99709370657
* Attempt #2 at moving the images to make space for the bootloader. The ↵Dave Chapman2006-12-15
| | | | | | previous attempt was completely broken. This should hopefully fix the --add-bootloader functionality. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11769 a1c6a512-1295-4272-9138-f99709370657
* Implement the add/delete bootloader functionality.Dave Chapman2006-12-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11765 a1c6a512-1295-4272-9138-f99709370657
* Use the correct length when extracting the firmware. Thanks again to ↵Dave Chapman2006-12-14
| | | | | | Llorean for spotting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11762 a1c6a512-1295-4272-9138-f99709370657
* Ooops, I should compile things before committing.Dave Chapman2006-12-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11761 a1c6a512-1295-4272-9138-f99709370657
* Correct a bug (thanks to Llorean for spotting) in read_partition and use the ↵Dave Chapman2006-12-14
| | | | | | aligned global sectorbuf for the disk read in read_partinfo instead of a local variable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11756 a1c6a512-1295-4272-9138-f99709370657
* Start to implement some functionality. You can now read/write the entire ↵Dave Chapman2006-12-14
| | | | | | partition (as ipodpatcher used to do), extract the original firmware to an "apple_os.ipod" file, or replace the original firmware with either a Rockbox bootloader or Rockbox itself. Adding/Removing a bootloader isn't yet implemented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11755 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress towards a cross-platform ipodpatcher which will edit the ↵Dave Chapman2006-12-13
| | | | | | firmware partition directly, incorporating the ipod_fw.c functionality. Tested successfully on win32 and Linux but it only lists the contents of the firmware partition at the moment - no actual reading or writing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11748 a1c6a512-1295-4272-9138-f99709370657
* Version 0.4b from 11 Dec 2006 - 0.4 broke win2k/winnt support, this patch ↵Dave Chapman2006-12-13
| | | | | | restores it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11747 a1c6a512-1295-4272-9138-f99709370657
* Version 0.4 from 4 Dec 2006 - added sector-size detection and hence support ↵Dave Chapman2006-12-13
| | | | | | for 5.5G ipods git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11746 a1c6a512-1295-4272-9138-f99709370657
* Version 0.3 from 30 Jan 2006Dave Chapman2006-12-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11745 a1c6a512-1295-4272-9138-f99709370657
* Initial CVS commit ofipodpatcher - v0.2 release from 16 Jan 2006Dave Chapman2006-12-13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11744 a1c6a512-1295-4272-9138-f99709370657