Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Bootloader question?
« previous next »
  • Print
Pages: [1]

Author Topic: Bootloader question?  (Read 1043 times)

Offline Sam66

  • Member
  • *
  • Posts: 8
Bootloader question?
« on: September 04, 2010, 06:17:04 AM »
Hope this is the correct area to post a question about the bootloader.

I have an iPod Mini 2g that I use in my car all the time, but I don't leave it in the car it is always removed when I get out, for these reasons the battery has about a 10 minute play time (and I'm not going to replace it) but I usually keep the pause button on, and I usually forget to un-pause it when I get back in and of course it boot to the crApple OS.

Is there a patch I can use on the bootloader or another build of it that DOES NOT boot the crApple OS when the Pause button is on during the boot up.

thanks in advance for any help on this issue of mine!
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Bootloader question?
« Reply #1 on: September 04, 2010, 07:03:51 AM »
I'm guessing you mean the hold switch, not the pause button...

Anyway, the answer is "not really". It's possible to build a bootloader which doesn't check the hold switch and always starts Rockbox, or even to not use the bootloader at all and just install Rockbox directly to the firmware partition, but then Rockbox will reset its settings to defaults every time you boot it up with the hold switch turned on, since that's what the switch does if it's turned on *after* the bootloader but before Rockbox has booted, so you would need to build a custom build of Rockbox itself as well which doesn't have that functionality either (and then you'll have to do a custom build forever to get any updates).

I've considered how to solve this but haven't come to a reasonable conclusion yet; probably the best thing to do is stop using the hold switch as the mechanism for *either* of these features on ipod, but this is a UI change (and some ipods apparently had a problem using a button for dual-boot) so it's not something I'm just going to change without more consideration.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
Re: Bootloader question?
« Reply #2 on: September 04, 2010, 12:25:43 PM »
On my 5G 30GB iPod I'm using a bootloader which ignores the hold switch.  I remember having difficulties when trying to press menu at the right time to enter the OF, but if I simply hold menu, I can reliably enter the OF:
  • From an off state, simply hold menu until you see that the OF is booting.
  • From Rockbox, hold menu+select, release select when the iPod starts rebooting, and then release menu when you see that the OF is booting.

I patch Rockbox to remove the settings clearing feature because I never really needed it.  A few times I installed unpatched Rockbox and unintentionally cleared my settings.  In those cases, I waited for the hard drive to spin down and then reset the iPod (with menu+select) to preserve my settings.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Bootloader question?
« Reply #3 on: September 04, 2010, 02:05:07 PM »
Nobody seems to recall clearly, but it's suspected that maybe menu on startup doesn't register on every model properly. It may also just be that people weren't doing it right :)

I've been meaning to do stuff about this for a while but haven't gotten to it yet, I suspect step 1 is to stop using the hold switch to reset settings on devices which are capable of being powered on with hold enabled... suggestions for what else it should be on ipod?
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline Sam66

  • Member
  • *
  • Posts: 8
Re: Bootloader question?
« Reply #4 on: September 05, 2010, 05:16:42 AM »
I had forgotten about the reset function with the hold button on.

since I can't program my way out of a wet digital paper bag, I guess I will have to stop using the hold button, or remember to turn it off before I plug it it.

thanks for all the help.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Bootloader question?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.075 seconds with 15 queries.