FS#5504 - New bootloader to take advantage of charging and autodetected remote type

Attached to Project: Rockbox
Opened by Anonymous Submitter - Tuesday, 06 June 2006, 13:31 GMT
Last edited by Rani Hod (RaeNye) - Wednesday, 20 September 2006, 22:49 GMT
Task Type Feature Requests
Category Bootloader
Status Closed
Assigned To No-one
Operating System Iriver H300 series
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Now the h300 seems to charge ok (well, I never boot back into the original firmware anyway, I just start rockbox and then plug the charger in) and also appears to properly autodetect the remote type (I have the h300 non-lcd remote and I can't start the player from the remote as it believes the hold switch is on) I was merely inquiring as to the feasibility of churning out a new bootloader that boots rockbox when the charger is connected and takes advantage of the new remote code..

Just a wishlist/feature request

Brad Campbell (perplexity)
This task depends upon

Closed by  Bj√∂rn Stenberg (zagor)

Reason for closing:  Fixed
Additional comments about closing:  Closing all feature requests.
Comment by Jason Bolger (galapogos01) - Sunday, 10 September 2006, 23:42 GMT
Can i add; this is one of the most annoying "features" when using Rockbox in a car.

Consider this:

- Car running, rockbox supplying superb music to the vehicle, DC adaptor plugged in
- Rockbox in "Car Adaptor Mode"
- Car stops
- Rockbox shuts down (as per "Car Adaptor Mode") - great feature.
- Car starts
- Iriver firmware loads... this takes over a minute... Incorrect song restarts... User has to kill the power, reboot the player into Rockbox...

Obviously, the desired functionality is a new bootloader which handles the DC charge event properly... and firmware hacking is something reserved for the pro's with the hardware to avoid bricking players.

Any progress in this department would be great, and mean a no-buttons-required start/stop cycle for Rockbox in a car!

Comment by Jason Bolger (galapogos01) - Wednesday, 04 April 2007, 04:09 GMT
Any progress in this department with the new Bootloader stuff thats going on?
Comment by Steve Bavin (pondlife) - Wednesday, 04 April 2007, 06:35 GMT
The current SVN bootloader does charge without going into the OF (I believe, my H300 is away at the moment). Car adapter mode is not yet supported in the bootloader, primarily because this option is currently stored on the hard disk, not in non-volatile RAM (and we don't want the bootloader to require HD access to start up in case the battery is flat).

So if you can build your own bootloader, you'll get native charging (and more reliable Bootloader USB support).
Comment by Jason Bolger (galapogos01) - Wednesday, 04 April 2007, 23:04 GMT
I'd love to, but I dont have the know-how nor the hardware required to build my own bootloader.

To clarify, with the latest v5 bootloader, plugging in a DC cable causes a subset of the OF (not the whole thing) to boot in order to charge. This is the same behavior a H300 exhibits without rockbox installed at all, ie its not a function of the rockbox bootloader.

Understand your point about drive spinup to boot Rockbox; maybe the bootloader could choose which to start based on battery voltage (which it already detects early in the boot process) to prevent this issue? If there was enough voltage to start the drive (plus a safe margin), charging would commence once rockbox was initialised (ie exactly what happens when you plug in a DC cable when rockbox is already booted).

I think this is one of the biggest usability issues i have with Rockbox on the H300...
Comment by Jason Bolger (galapogos01) - Wednesday, 29 August 2007, 23:39 GMT
Has there been any progress on this recently?
Comment by Gareth (Mystic_kitsune) - Saturday, 23 February 2008, 08:28 GMT
-strolls by to see post-
Comment by Jason Bolger (galapogos01) - Sunday, 02 March 2008, 04:58 GMT
Is there anyone who actively contributes to rockbox that can actually look at bootloader issues? I understand you need to have special hardware to be able to re-flash a unit if the bootloader gets broken. The lack of progress on these issues sucks, im guessing thats why. Still, this bug has been open since 2006.
Comment by Jonathan Gordon (jdgordon) - Sunday, 02 March 2008, 05:12 GMT
yes, only a few devs have the hardware needed to recover a bricked iriver and the others which have one dont like the idea of possibly bricking it.
also, devs which dont have hardware, and arnt scared of bricking the iriver (like myself) only have one remote so its hard to test the bootloader...
Comment by Jason Bolger (galapogos01) - Sunday, 02 March 2008, 08:54 GMT
i'd be happy to donate a remote to a dev if it meant my car mode worked :)
Comment by Gareth (Mystic_kitsune) - Monday, 10 March 2008, 17:40 GMT
you need more than a remote, you need a factory refurbishing machine, these are not easy too find! i had an ipod g2 refurbisher, but my cat though it was a good litter box...
Comment by Jason Bolger (galapogos01) - Tuesday, 09 December 2008, 00:59 GMT
Try this patch for this functionality: