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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  [iPod] Dual boot...how about dual bootloaders?
« previous next »
  • Print
Pages: [1]

Author Topic: [iPod] Dual boot...how about dual bootloaders?  (Read 3041 times)

Offline keeegan

  • Member
  • *
  • Posts: 8
[iPod] Dual boot...how about dual bootloaders?
« on: January 12, 2010, 01:15:04 AM »
I know the rockbox team is not affiliated with ipodlinux nor do you support their loader. I am just wondering if this is possible, and I thought I'd ask here first.
That being said, how about the ability to have the bootloader function normally when hold isn't activated (booting straight to rockbox with no delay), but when the hold switch is activated, bringing up ipl2 instead of booting the apple OS. I personally use rockbox 90% of the time and ipodlinux and apple firmware 10% of the time. I think this feature would be neat and others possibly might too.
« Last Edit: January 12, 2010, 01:17:38 AM by keeegan »
Logged
5.5gen iPod video 32meg running 120gig Toshiba MK1224GAH

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: [iPod] Dual boot...how about dual bootloaders?
« Reply #1 on: January 12, 2010, 01:18:21 AM »
We don't support (or have anything at all to do with) ipl2 here, but you can use it with rockbox last I heard.  Is what you're suggesting any different?
Logged

Offline keeegan

  • Member
  • *
  • Posts: 8
Re: [iPod] Dual boot...how about dual bootloaders?
« Reply #2 on: January 12, 2010, 01:24:24 AM »
It's a little different I guess. I'm wanting the ipod to boot into rockbox like normal, but when the hold switch is on, have it load ipl2 instead of the apple firmware. Is this more clear?
Logged
5.5gen iPod video 32meg running 120gig Toshiba MK1224GAH

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: [iPod] Dual boot...how about dual bootloaders?
« Reply #3 on: January 12, 2010, 01:25:53 AM »
So basically you want ipl2 to load rockbox by default, and only give you a choice if you don't have hold selected?

Have you tried asking the ipl2 developers?  We don't really have any control over ipl2 here, so theres not much we can do about how it works.
Logged

Offline keeegan

  • Member
  • *
  • Posts: 8
Re: [iPod] Dual boot...how about dual bootloaders?
« Reply #4 on: January 12, 2010, 01:26:53 AM »
No, I'm wanting to modify your bootloader to load ipl2 instead of the apple firmware.
Logged
5.5gen iPod video 32meg running 120gig Toshiba MK1224GAH

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: [iPod] Dual boot...how about dual bootloaders?
« Reply #5 on: January 12, 2010, 01:29:33 AM »
Hmm I don't think running two bootloaders makes much sense, although its probably possible.

Either way, hacking up our bootloader to work with ipl isn't on topic here.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: [iPod] Dual boot...how about dual bootloaders?
« Reply #6 on: January 12, 2010, 05:31:43 AM »
The Rockbox bootloader is already capable of booting ipl by holding another button (although I forget which).

edit:  I'm struggling to find any information on this, but I could have sworn it was possible.

edit 2:  From http://ipodlinux.org/irc/reader/2009-11-14

Quote
14:25   amiconn   The rockbox bootloader supports triple boot on ipods
14:26   amiconn   Hold switch selects OF, Play selects ipl. No button will try to boot rockbox
14:26   amiconn   In order to boot ipl with the rockbox bootloader, the ipl kernel must be put on the fat32 partition, named "linux.bin"

*amiconn is a core Rockbox dev.
« Last Edit: January 12, 2010, 05:40:18 AM by AlexP »
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline keeegan

  • Member
  • *
  • Posts: 8
Re: [iPod] Dual boot...how about dual bootloaders?
« Reply #7 on: January 13, 2010, 02:12:50 AM »
That worked perfectly! Thanks AlexP for actually comprehending what I said and unlocking the thread to help me.

For anyone else wanting to do this, don't be confused by the wording. It's not the actual linux kernel, but the ipl bootloader, usually called loader.bin
Just rename it to linux.bin and drop it in the root of your iPod's drive, reboot and hold play.
Logged
5.5gen iPod video 32meg running 120gig Toshiba MK1224GAH

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: [iPod] Dual boot...how about dual bootloaders?
« Reply #8 on: January 13, 2010, 04:47:55 AM »
Although you can actually use the linux kernel too. Your method of using loader.bin is probably more flexible though since our bootloader does not allow parameters to be parsed to the kernel on load, whereas iPL's does.
Logged

Read The Manual Please

Offline keeegan

  • Member
  • *
  • Posts: 8
Re: [iPod] Dual boot...how about dual bootloaders?
« Reply #9 on: January 13, 2010, 10:28:27 PM »
Ahh, thanks for clarifying that. I'm not using ipodlinux from the main development tree, since i didn't want to repartition, so my linux root runs off the fat32. That could explain why I had problems not being able to pass any parameters to my kernel.
Logged
5.5gen iPod video 32meg running 120gig Toshiba MK1224GAH

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  [iPod] Dual boot...how about dual bootloaders?
 

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

Page created in 0.085 seconds with 14 queries.