This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#6721 - RoLo ipod disk mode from ROM instead of rebooting
Attached to Project:
Rockbox
Opened by Dave Chapman (linuxstb) - Saturday, 03 March 2007, 14:22 GMT+2
Opened by Dave Chapman (linuxstb) - Saturday, 03 March 2007, 14:22 GMT+2
|
DetailsThis patch should apply to all ipods, but needs testing - on both a mixture of ipods and mixture of operating systems. I've tested it successfully on my Color with both Linux and Mac OS X.
Current SVN behaviour is to write some magic to the end of IRAM and reboot the ipod when a USB connection is detected. This causes the Apple bootloader to start the disk mode application which is stored in flash ROM. This patch cuts out the reboot stage and uses rolo to start the disk mode application directly from flash - meaning the ipod enters disk mode almost immediately. This is done in a new rolo_load_rom() function which copies the image from ROM to RAM and then executes it. |
This task depends upon
Sadly it dose not fix the flash disk mode being to slow when writing files to disk to be much use, but I don’t think you were expecting this patch to help with that problem. As it still takes about 20 minutes to extract rockbox with disk mode as opposed to under 1 minute to extract rockbox under the retain OS disk mode.
I have also tested this with 6 different computers running Windows XP Pro, 2000 Pro, Vista both 64-bit and 32 bit versions and even an Amiga 1200 with USB and the slow firmware disk mode problem is consistent. None of the computers I have tested with have any problems with my h140 running rockbox or the retail OS or my nano or 80GB ipod video running there retail OS.
As such I look forward to rockbox having its own USB disk mode but its not a big problem as I can just boot into retail mode to transfer files back and forward.
It will also be interesting to compare the firmware disk mode performance of my 80GB ipod video then it becomes supported by rockbox.
Back on topic I don't know exactly why but the last two times I RoLo'ed the disk mode last night apples please reinstall your ipod screen in lots of languages has been
displayed for a few seconds before disk mode loads as normal.
When you plugin the USB cable into the IPOD the USB logo is displayed then cleared and the backlight is switched off at this point the ipod locks up and the only way out is to reset the ipod.
Device is Ipod Mini 2G.
If I reboot my nano, then plug in without starting playback it works. Otherwise, it shows "Use iTunes to restore" on screen.
- very fast switching to disk mode - great :-)
- sometimes there are USB device resets which slow down the connection
- backlight is ON all the time (with unpatched rockbox backlight is OFF in disk mode)
Good work so far!
linux syslog (with patch):
usb 6-1: new full speed USB device using uhci_hcd and address 6
usb 6-1: new full speed USB device using uhci_hcd and address 7
usb 6-1: not running at top speed; connect to a high speed hub
linux syslog (unpatched):
usb 6-1: new full speed USB device using uhci_hcd and address 8
usb 8-3: new high speed USB device using ehci_hcd and address 10