Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#6433 - Patch to ipod_patcher to detect sector size on posix platforms.

Attached to Project: Rockbox
Opened by Bryan Childs (GodEater) - Wednesday, 13 December 2006, 14:23 GMT+2
Task Type Patches
Category Bootloader
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

Added an ioctl() call to ipodio-posix.c to try to automatically detect sector size on posix based systems.
   ipodio-posix.diff (0.5 KiB)
 ipp_rb/ipodio-posix.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

This task depends upon

Closed by  Dave Chapman (linuxstb)
Wednesday, 13 December 2006, 21:39 GMT+2
Reason for closing:  Accepted
Additional comments about closing:  After a little reorganising, I\'ve committed it to CVS. Thanks.
Comment by Bryan Childs (GodEater) - Wednesday, 13 December 2006, 14:31 GMT+2
Oops - I used linux/fs.h, not sys/mount.h

Try this patch instead.
   ipodio-posix.diff (0.5 KiB)
 ipodpatcher/ipodio-posix.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comment by Bryan Childs (GodEater) - Wednesday, 13 December 2006, 17:08 GMT+2
And another update to try to make it work for BSD / OSX too.

These are *completely* experimental as I have neither platform to try compiling it on I'm afraid. Use at your own risk etc.
   ipodio-posix.diff (1.1 KiB)
 ipodpatcher/ipodio-posix.c |   22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

Comment by Bryan Childs (GodEater) - Wednesday, 13 December 2006, 19:15 GMT+2
Just noticed a typo in my last patch in the section for OSX, so this fixes that.

This is also a proper "cvs diff -u" since I'm now at home and can access CVS properly.
   ipodio-posix.diff (1.2 KiB)
 ipodio-posix.c |   18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

Loading...