FS#11199 - iPod bootloader: reboot to disk mode from the fatal error screen on cable insert

Attached to Project: Rockbox
Opened by Torne Wuff (torne) - Tuesday, 13 April 2010, 15:35 GMT
Last edited by Torne Wuff (torne) - Tuesday, 13 April 2010, 22:18 GMT
Task Type Patches
Category Bootloader
Status Closed
Assigned To No-one
Operating System iPod 5G
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Currently when the iPod bootloader experiences a fatal error (such as inability to mount the disk or find rockbox.ipod) it just prints a message telling you how to reset the ipod into disk mode manually. Some users appear to have difficulty with this, either because they are not doing it quick enough or perhaps their hardware is not behaving as we expect...

This patch makes the bootloader's fatal error handler poll for USB insertion and, on cable detection, reboot to the disk mode automatically. This should also work for firewire on 1G-3G, I hope.

The actual message printed to the screen needs to be updated, but I'm not sure how much space we have on the various screen sizes.. any suggestions what to say?

I've tested this on a 80GB ipod video 5.5G - can anyone test on other models, especially 1G-3G?
This task depends upon

Closed by  Torne Wuff (torne)
Tuesday, 13 April 2010, 22:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  Submitted (with proper messages) in r25643
Comment by Torne Wuff (torne) - Tuesday, 13 April 2010, 15:42 GMT
Ah, if you want to test: build and install a new bootloader with this patch, and then rename rockbox.ipod to something else (or anything else which would cause the bootloader to fail). When the bootloader dies with the fatal error you should be able to plug in your cable and it will reboot (after a moment) to the apple disk mode for you to fix the problem, without having to reset manually.