Rockbox

Tasklist

FS#6938 - Fixes bootfile change detection after usb (rolo)

Attached to Project: Rockbox
Opened by Peter D'Hoye (petur) - Thursday, 29 March 2007, 22:26 GMT
Task Type Patches
Category Operating System/Drivers
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch brings back the automatic rolo question you used to get after usb disconnect (and copying a new build of course)

It's here and not committed because this version scans at boot which is not very efficient imho. Any ideas are welcome
This task depends upon

Closed by  Peter D'Hoye (petur)
Friday, 30 March 2007, 21:55 GMT
Reason for closing:  Accepted
Comment by Peter D'Hoye (petur) - Thursday, 29 March 2007, 22:28 GMT
hmmmm sorry about the wrong line-endings ;)
Comment by Hepdog (007quick) - Thursday, 29 March 2007, 22:28 GMT
Can you elaborate a bit in your explanation!
Comment by Peter D'Hoye (petur) - Thursday, 29 March 2007, 22:32 GMT
you are like your nick (quick) ;)

Before the root menu, copying a new version + usb disconnect would give you a question if you wanted to reboot (on targets that handle usb themselves). It got broken by root menu, and this patch attempts to fix it in a more general and nicer way
Comment by Pascal Briehl (ColdSphinX) - Thursday, 29 March 2007, 22:33 GMT
Rockbox schoult detect an firmwareupdate after usb disconnects and reboot if it's updated.
There are some irc-discussions how to detect etc.
Comment by Pascal Briehl (ColdSphinX) - Thursday, 29 March 2007, 22:34 GMT
arg ther is an other one quick, with more experience on that discussion :D
Comment by Hepdog (007quick) - Thursday, 29 March 2007, 22:35 GMT
I see, just got lucky and looked at the right time!
Comment by Peter D'Hoye (petur) - Friday, 30 March 2007, 00:02 GMT
version 2: does a scan before and after the USB handler.
disadvantages:
- disk spins up before showing usb logo
- early USB not handled (but neither did the old code)
advantages:
- only scanned at usb connect, not every boot
- scanning is done regardless of where you are as long as default_handler is used

Loading...