Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: More 240gb drive issues

Re: More 240gb drive issues

From: Harald Milz <hm_at_seneca.muc.de>
Date: Fri, 19 Feb 2010 11:37:55 +0100

Hi,

(fullquoting because the thread is nearly 1 year old ...)

I just did that, and noticed that for the MK2431GAH, MAX_PHYS_SECTOR_SIZE
needs not be set. I commented it out and just defined HAVE_LBA48, such as:

--- rockbox-r24769/firmware/export/config/ipodvideo.h 2010-02-19 08:59:36.440434460 +0100
+++ rockbox/firmware/export/config/ipodvideo.h 2010-02-19 09:17:25.908432186 +0100
_at__at_ -213,7 +213,9 _at__at_

 /* define this if the hard drive uses large physical sectors (ATA-7 feature) */
 /* and doesn't handle them in the drive firmware */
-#define MAX_PHYS_SECTOR_SIZE 1024
+/* #define MAX_PHYS_SECTOR_SIZE 1024 */
+/* #define MAX_PHYS_SECTOR_SIZE 4096 */
+#define HAVE_LBA48

 #define BOOTFILE_EXT "ipod"
 #define BOOTFILE "rockbox." BOOTFILE_EXT


The patch works fine against a recent SVN snapshot (r24769). The iPod Video
5G I have has no probs with the large disk USB-wise,

Now if that works for everyone I don't know (and can't check) but you folks
with a desire for large disks may give it a try.

Hope this helps :-)

Ciao,
Harald


On Sat, Mar 14, 2009 at 01:05:12PM -0400, Steve Martin wrote:
> >On Sat, Mar 14, 2009 at 11:13 AM, Steve Martin <martinsa_at_gmail.com> wrote:
> >> Well, I thought I was golden with my max physical sector size hack,
> >> however, when I loaded up the drive (using the ipod disk mode to about
> >> 75% capacity which took almost 24 hours) it doesn't see all the files
> >> or directories when browsing.  I can see them when I mount the player
> >> using the ipod disk mode.
> >
> >Have you seen http://www.rockbox.org/twiki/bin/view/Main/BigDisk and does it
> >offer any clues?
> >
> >Antony.
>
> OK, thanks to the advice of Antony to check out the "BigDisk" doc, I
> tried defining HAVE_LBA48, for the extended disk addressing. This
> seems to have done the trick. Thanks!!
>
> So, here is what I've had to do to get things working with the Toshiba
> MK2431GAH 240gb drive:
>
> 1. Make the following changes in
> "/usr/src/rockbox/firmware/export/config-ipodvideo.h"
>
> /* define this if the hard drive uses large physical sectors (ATA-7 feature) */
> /* and doesn't handle them in the drive firmware */
> /* MAX_PHYS_SECTOR_SIZE 1024 */
> #define MAX_PHYS_SECTOR_SIZE 4096
> #define HAVE_LBA48
>
> 2. Recompile both the bootloader and the normal install.
>
> 3. Install the newly created rockbox.zip files on to the ipod
>
> 4. Install the newly created bootloader using some varient of:
> ipodpatcher.exe -a bootloader-ipodvideo.ipod
>
> 5. Voila! Your done.
>
> Thanks again to all,
> Steve Martin
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox
> FAQ: http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ
> Etiquette: http://www.rockbox.org/mail/etiquette.html

-- 
Overload -- core meltdown sequence initiated.
-------------------------------------------------------------------
Unsubscribe: http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox
FAQ:         http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ
Etiquette:   http://www.rockbox.org/mail/etiquette.html
Received on 2010-02-19

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy