Rockbox

Tasklist

FS#6169 - Late-2006 iPod Video ("5.5G") patch

Attached to Project: Rockbox
Opened by Robert Carboneau (Kalthare) - Thursday, 12 October 2006, 00:06 GMT
Task Type Patches
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch seems to make Rockbox run properly on the 30GB late-2006 iPod Video. The 80GB model still doesn't work.

When using the patch, after you run the configure script, add the line "#define FAT_2K_SECTORS" to autoconf.h

I haven't included the patch to ipod_fw.c, which is available in the forum thread: http://forums.rockbox.org/index.php?topic=6475.60

What this patch does is modify the FAT code so it will read a filesystem with 2048-byte sectors from a device that has 512-byte sectors. The modified code is used by both Rockbox and the bootloader.

A great deal of thanks has to go to amiconn, who provided a vital bit of insight.
This task depends upon

Closed by  Dave Chapman (linuxstb)
Saturday, 09 December 2006, 10:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  2048-byte sector support is now in CVS. The official 5g builds now autodetect the sector size, so will work on both the 5g and 5.5g (but not the 80GB yet).

You still need the unofficial bootloader (or compile your own from CVS) and unofficial ipod_fw.c to install Rockbox though.
Comment by Francis Alvarez (blueworm) - Thursday, 12 October 2006, 02:33 GMT
This patch consolidates ipod_fw.c.patch by DrMoreau and 5.5-1.patch by Kalthare and also adds a line to configure so that autoconf.h includes "#define FAT_2K_SECTORS"

The patch was built against .tar.gz
To apply $cd rockbox-daily-20061011 && patch -p1 -i ../ipod-5.5-combi.patch
Comment by Francis Alvarez (blueworm) - Thursday, 12 October 2006, 12:01 GMT
the 5.5-combi.patch is reversed. sorry
apply: patch -Rp1 -i ../ipod-5.5-combi.patch
how embarrasing.
Comment by Robert Carboneau (Kalthare) - Monday, 16 October 2006, 02:14 GMT
New version of the patch. It applies against the 20061015 daily build, and probably others.

It doesn't fix the playback crash, but it does fix a rather nasty FS corruption bug. If you've used the old patch, I suggest you reformat and restore your iPod if you haven't already.

I should have said this before, but: This is a patch against the filesystem code, so back up your iPod before you use it!
Comment by Robert Carboneau (Kalthare) - Monday, 16 October 2006, 21:41 GMT
Intermediate version of patch. Doesn't actually fix anything, but removes the code that's crashing. I'm posting this in case someone wants to play music and doesn't care if Rockbox behaves a little strangely.

Loading...