Commit graph

21 commits

Author SHA1 Message Date
Dave Chapman
33bc6f3e3c Yet more warning fixes - ipodpatcher should now be warning-free in rbutilqt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14068 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 21:34:28 +00:00
Dave Chapman
0be3036a20 Fix some more warnings (these only occurred on Mac OS X, so I missed them on Linux/x86).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14067 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 21:25:09 +00:00
Dave Chapman
2cc80f502e Add -W to CFLAGS in Makefile and fix the generated warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14066 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 21:19:14 +00:00
Dave Chapman
3b1119bf27 Fix some cosmetic bugs in error messages. These generated warnings when compiling ipodpatcher with -O2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14065 a1c6a512-1295-4272-9138-f99709370657
2007-07-29 20:43:42 +00:00
Dave Chapman
35735c66e0 Initial attempt at a --convert option to convert HFS formatted ipods (Macpods) to FAT32 format. This needs testing (as well as the existing --format feature) before adding as an option in the interactive mode and fully documenting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14030 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 20:51:36 +00:00
Dave Chapman
6a20def805 Initial (untested apart from device detection) support for 1st/2nd gen ipods (the original ones...).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14010 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 20:21:11 +00:00
Dave Chapman
56780e3e41 Initial integration of a --format option, based on fat32format.exe. The main limitation is that it only works on disks with 512-byte sectors - it needs adapting to the 2048-byte sector ipods. It has only been tested on Linux and Mac OS X, with a 60GB ipod Color, but appears to work.... When this feature has been more widely tested, the intention is to add code to convert the information in an Apple Partition Map (which can currently be read by ipodpatcher) to a DOS partition table, and hence allow conversion of Macpods to Winpods.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13643 a1c6a512-1295-4272-9138-f99709370657
2007-06-16 22:32:57 +00:00
Dave Chapman
0fba85fe9e Accept both 0xb and 0xc as valid partition types for an ipod FAT32 partition. Some tools (e.g. fat32format) set the type to 0xc, and the Apple bootloader doesn't appear to care.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13614 a1c6a512-1295-4272-9138-f99709370657
2007-06-10 22:47:51 +00:00
Dave Chapman
09b247fef9 Don't just display an error message, abort.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13594 a1c6a512-1295-4272-9138-f99709370657
2007-06-08 15:30:14 +00:00
Dave Chapman
6e314e5e98 Fix typo in error message - thanks to Bryan Childs for spotting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13593 a1c6a512-1295-4272-9138-f99709370657
2007-06-08 15:24:47 +00:00
Dave Chapman
bbde44506b Add --write-embedded (-we) option. This replaces the Apple firmware with the bootloader embedded in ipodpatcher (equivalent to -wf bootloader-ipodxxx.ipod when using an external bootloader).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13536 a1c6a512-1295-4272-9138-f99709370657
2007-06-02 10:10:31 +00:00
Dave Chapman
92b9c23956 Bump version number for 1.0 release (v1.1 bootloaders)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13482 a1c6a512-1295-4272-9138-f99709370657
2007-05-23 18:24:00 +00:00
Dave Chapman
4df0c77954 Remove the check for ipod-specific magic in the MBR (which caused problems when users repartitioned their ipods and removed that magic) and instead check that the partition layout looks like an ipod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13469 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 19:07:45 +00:00
Dave Chapman
427fff4320 Add -rfb option for reading the main firmware (OSOS image) as a binary file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13148 a1c6a512-1295-4272-9138-f99709370657
2007-04-13 23:28:20 +00:00
Dave Chapman
9b4bb47dfb Bump version to 0.9 ready for release with version 1.0 bootloaders, and add an uninstall option to the interactive mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12645 a1c6a512-1295-4272-9138-f99709370657
2007-03-06 14:07:38 +00:00
Dave Chapman
8ae8351e11 Use O_BINARY flag when opening bootloader files for embedding
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12567 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 10:58:42 +00:00
Dave Chapman
1602bf5172 Add ipodpatcher-mac target for creating a Mac OS X universal binary
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12566 a1c6a512-1295-4272-9138-f99709370657
2007-03-03 10:57:32 +00:00
Dave Chapman
1ccc653364 Correct the usage information
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12544 a1c6a512-1295-4272-9138-f99709370657
2007-03-02 00:20:42 +00:00
Dave Chapman
b045a2425c Add #include for use with rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12339 a1c6a512-1295-4272-9138-f99709370657
2007-02-16 20:45:00 +00:00
Dave Chapman
a6d68bd740 Changes to aid incorporation into rbutil, based on part of FS #6643 from Dominik Wenger. Move display_partinfo() function into main.c (where it belongs) and export get_parttype() function from ipodpatcher.c. Also add a targetname variable to struct ipod_t to enable bootloader URLs to be constructed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12264 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 20:09:23 +00:00
Dave Chapman
955afed1b7 Move ipodpatcher into rbutil directory
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12263 a1c6a512-1295-4272-9138-f99709370657
2007-02-10 19:49:43 +00:00