Third Party > Repairing and Upgrading Rockbox Capable Players

Gigabeat S with 160Gb HDD

(1/2) > >>

beanxinh:
Hi
I have a Gigabeat S60. Recently I got a used 160Gb MK1634GAL and trying to put it on my Gigabeat. Both the offical firmware and rockbox can recognize only 128GiB. I try to search on the internet and rockbox forum and come up with some confusing answers. Some say that the limitation can only remove by changing both the rockbox bootloader and the firmware. Adding two line to the coed

#define HAVE_LBA48
#define MAX_PHYS_SECTOR_SIZE 4096
Some say that I only need to change the code and recompile it.
What should I do
Pls help
Thank a lot

Edit: I took a look in the gigabeats.h and found that the line
#define HAVE_LBA48
already exist in the code but my player still can't recognize the extra space. How can I know if the gigabeat use the USB to ATA bridge that support LBA48 because I couldn't find that information in the wiki

Edit 2: I can only find the  the wiki for gigabeat F/X
http://www.rockbox.org/wiki/GigabeatInfo
I could only find that USB 2.0 ATA bridge Cypress EZ-USB AT2 for the F and Cypress EZ-USB AT2LP for the X but no mention of the one that use in the S. Both the USB 2.0 ATA bridge on F/X support 48 bit addressing

gevaerts:
The in-flash boot code on the gigabeat S does not like disks larger than 128GB. People have various ideas to work around these limitations, but given the price of such disks and the uncertainty of the outcome, nobody ever actually tried.

Since you now have both a gigabeat S and such a disk, you're in a good position to finally verify these ideas.

The best person to talk to about this is torne, either here on on irc.

jhMikeS:
There is no USB bridge IC in the Gigabeat S. It uses the ARC OTG controller and the software stack.

beanxinh:
I finally able to make rockbox recognize the full size of the disk. I made a silly mistake  :-[. I forgot to reformat the HDD after installing rockbox so rockbox can only see the 128Gb partition that the OF create. But now I have problem trying to change the size of the partition. If I changed the size of the partition to 160Gb the gigabeat will trying to reformat the partition back to 128GiB after I hard reset the device.I'll try to find a work around for it

torne:
You cannot create a partition which is larger than 128GB; the flash bootloader will always reformat it.

Let the original firmware format it, leave the existing partitions alone, then create a third partition on the drive which occupies the remaining space. You will need to set the third partition type to 0xFF (normal partitioning tools will almost certainly not let you do this, as this type is supposed to mean "partition does not exist"). This shouldn't trigger reformatting.

You then need to make a custom build of rockbox with multivolume support to allow it to see both data partitions. LBA48 support is already enabled as you saw, and there is no need to touch any of the sector size settings.

Nobody has actually tried this yet, but in theory it should work. If you want help with this then the easiest way is to ask people on IRC probably (especially me, but various others may be able to help too). We would quite like to see someone try this and prove it works so we can document how to do it :)

Navigation

[0] Message Index

[#] Next page

Go to full version