Third Party > Repairing and Upgrading Rockbox Capable Players
Gigabeat S with 160Gb HDD
beanxinh:
I can at last make rockbox see all of my HDD. Thank Torne and gevaerts alot for their help.
This is what I did to make it work
- Make a live ubuntu usb.
- Follow this instruction up to the Gettign start part. Don't compile it now
http://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling
- Remove from firmware/target/arm/imx31/gigabeat-s/usb-target.h
#define USBSTOR_READ_SECTORS_FILTER() \
({ if (cur_cmd.sector == 0) \
usb_fix_mbr(cur_cmd.data[cur_cmd.data_select]); \
0; })
/* Disallow MBR writes entirely since it was "fixed" in usb_fix_mbr */
#define USBSTOR_WRITE_SECTORS_FILTER() \
({ cur_cmd.sector != 0 ? 0 : -1; })
- Apply the patch http://paste.debian.net/125614/
- Compile rockbox
- After Rockbox reset linux will no longer recognize rockbox partition. Just follow this guide to repair it
http://www.rockbox.org/wiki/GigabeatSInstallation#Step_2_45_Fix_your_Gigabeat_39s_partition_table
- Unlug then replug the Gigabeat then use Gpart to create a FAT32 partition on the unsed space from the HDD
- fdisk /dev/sdz
t
3
ff
w
- Unplug the USB. rockbox should now see the new partition as <HD1>
- Recompile rockbox without the change in usb-target.h
- After rockbox reset windows can now recognize the new partition.
Cheer ;D
Edit: the copy speed is very slow max at 2MB/s. Is there anyway to improve it ?
torne:
Glad this worked; we can hopefully write a plugin which will automate this process, and incorporate the required changes into the regular builds...
beanxinh:
I have connected the HDD to a ZIF to USB adapter and copy the Ubuntu Image to it in 50s with the average speed 14MB/s way higher than the average 2MB/s of rockbox.Are there anyway that I can improve the transfer rate of rockbox?
This is the information about my HDD that Rockbox give:
Model:TOSHIBA MK1634GAL
Firmware: VS210A
Size:131071MB
Free:80037MB
Spinup Time:2430ms
Power mgmt:unsupported
Noise mgmt:unsupported
Read-ahead: enable
PIO modes: 0 1 2 3 4
Cycle times: 120ns/120ns
Physical sector size: 4096
MDMA mode : 0 1 2
MDMA cycle times: 120ns/120ns
UDMA mode: 0 1 2 3 4 5
IORDY support:yes
IORDY disable: yes
Cluster size:32768 bytes
DMA mode:UDMA 4
Thank
Ste-:
--- Quote from: beanxinh on August 09, 2011, 10:15:50 AM ---I can at last make rockbox see all of my HDD. Thank Torne and gevaerts alot for their help.
This is what I did to make it work
- Make a live ubuntu usb.
- Follow this instruction up to the Gettign start part. Don't compile it now
http://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling
- Remove from firmware/target/arm/imx31/gigabeat-s/usb-target.h
#define USBSTOR_READ_SECTORS_FILTER() \
({ if (cur_cmd.sector == 0) \
usb_fix_mbr(cur_cmd.data[cur_cmd.data_select]); \
0; })
/* Disallow MBR writes entirely since it was "fixed" in usb_fix_mbr */
#define USBSTOR_WRITE_SECTORS_FILTER() \
({ cur_cmd.sector != 0 ? 0 : -1; })
- Apply the patch http://paste.debian.net/125614/
- Compile rockbox
- After Rockbox reset linux will no longer recognize rockbox partition. Just follow this guide to repair it
http://www.rockbox.org/wiki/GigabeatSInstallation#Step_2_45_Fix_your_Gigabeat_39s_partition_table
- Unlug then replug the Gigabeat then use Gpart to create a FAT32 partition on the unsed space from the HDD
- fdisk /dev/sdz
t
3
ff
w
- Unplug the USB. rockbox should now see the new partition as <HD1>
- Recompile rockbox without the change in usb-target.h
- After rockbox reset windows can now recognize the new partition.
Cheer ;D
Edit: the copy speed is very slow max at 2MB/s. Is there anyway to improve it ?
--- End quote ---
Thanks for the information above.
I was able to install a 240gb disk into my Gigabeat S.
127gb on first partition and 95.3 on the second.
Thanks again, it's working perfectly.
Navigation
[0] Message Index
[*] Previous page
Go to full version