Commit graph

6 commits

Author SHA1 Message Date
Solomon Peachy
5fa6acf39f FS#13184: Support 2048 byte sectors and images without bootloader in ipod_fw
(From Stefan Ott)

I wrote a little patch for ipod_fw.c that allows me to create bootable
images for the iPod video without using any external software.

The patch adds two new options:

- The -s option can now be used to specify the sector size in blocks (typically 512 or 2048) when generating an image.
- The -n option can be used to create an image without a boot loader

Change-Id: I35ebcd19ba1491bba76dfc8011e5a856108bb9ad
2020-03-29 18:48:09 +02:00
Dave Chapman
3f85262de2 Initial attempt at adding support for firmware images with 2048-byte sectors. Sector size is auto-detected, so both 5g and "5.5g" users can use the "-g video" (or its alias, "-g 5g") option to manipulate the firmware. I have tested this patch with 3G, 4G and 5G (512-byte sectors) and 5G (2048-byte sectors) images and it generates a "rockboot.bin" file with a matching MD5 checksum to either the previous version of ipod_fw.c, or the patched "ipod_fw_5.5g.c", as appropriate.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11703 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 11:02:48 +00:00
Dave Chapman
7ccb505488 Sync with ipodlinux CVS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11697 a1c6a512-1295-4272-9138-f99709370657
2006-12-09 10:08:36 +00:00
Dave Chapman
25c66fc632 Cosmetic bugfix - display correct message when generating firmware image for the 5g
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8350 a1c6a512-1295-4272-9138-f99709370657
2006-01-16 00:01:05 +00:00
Dave Chapman
3f9789b45a Sync with ipodlinux CVS - add support for 5g (video) iPods
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8260 a1c6a512-1295-4272-9138-f99709370657
2005-12-18 12:40:40 +00:00
Dave Chapman
5592e37c63 Import make_fw.c iPod firmware manipulation utility from the ipodlinux project. Renamed it to ipod_fw.c for use in Rockbox. This is an exact copy of the current CVS version from the ipodlinux project.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7813 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 17:58:05 +00:00