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
Edit: the copy speed is very slow max at 2MB/s. Is there anyway to improve it ?