FS#11958 - iPod Classic thick 160GB CE-ATA hack

Attached to Project: Rockbox
Opened by Michael Sparmann (TheSeven) - Tuesday, 22 February 2011, 00:04 GMT
Last edited by Michael Sparmann (TheSeven) - Monday, 07 March 2011, 20:25 GMT
Task Type Patches
Category Drivers
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Here's a working but terribly slow and invasive hack to get the thick 160GB iPod Classic drive working.
This involves multiple core changes:
- Get rid of all on-stack sector buffers
- Align the remaining sector buffers to cacheline boundaries
- Fork the ATA driver to support CE-ATA as well

I currently believe that the slowness is mainly coming from the low sleep() resolution in Rockbox, and maybe over-yielding.

This patch is currently rather awful and will probably need lots of work before it can be included. Be warned.
This task depends upon

Closed by  Michael Sparmann (TheSeven)
Monday, 07 March 2011, 20:25 GMT
Reason for closing:  Accepted
Additional comments about closing:  Has been committed some time ago
Comment by Michael Sparmann (TheSeven) - Sunday, 27 February 2011, 02:41 GMT
I've fixed some more bugs and split this thing apart into a core patch (FAT rework) and a target patch (ATA driver).