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
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  An alternate dual boot method for faster Rockbox startup
« previous next »
  • Print
Pages: [1]

Author Topic: An alternate dual boot method for faster Rockbox startup  (Read 4154 times)

Offline dreamlayers

  • Developer
  • Member
  • *
  • Posts: 425
  • Boris Gjenero
    • My Blog
An alternate dual boot method for faster Rockbox startup
« on: December 16, 2008, 12:07:38 AM »
It's possible to install Rockbox into the firmware partition, and then patch it with a modified bootloader to allow dual-booting.  This gives faster Rockbox startup at the expense of slower original firmware startup.

Save the original firmware to apple_os.ipod:
ipodpatcher -rf apple_os.ipod
Put that in the root directory on the iPod.
Write rockbox to the firmware partition:
ipodpatcher -wf rockbox.ipod
Add the modified bootloader:
ipodpatcher -a bootloader-ipodvideo.ipod

You might want to save a copy of the firmware partition in case something goes wrong, but you should be able to restore from the apple_os.ipod file.  If you put the original firmware back in the firmware partition, you probably don't want an apple_os.ipod file in the root because the Rockbox bootloader will load it instead of running the already loaded firmware.

Here's a link to the patch and a pre-built 30 gig Video iPod bootloader.  This bootloader should only be used for this special application.

(I was trying to figure out how to load the original firmware from within Rockbox.  I was able to find some hardware initializations which prevent it from running properly, but I wasn't able to undo those.  So I gave up for now and did this instead.)

Edit:  Custom bootloader mentioned above is obsolete.  The required functionality is in SVN since r20921, via http://www.rockbox.org/tracker/task/9730
« Last Edit: May 13, 2009, 02:20:43 AM by dreamlayers »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: An alternate dual boot method for faster Rockbox startup
« Reply #1 on: December 16, 2008, 02:40:57 AM »
Please, don't post unsupported builds (and a custom bootloader is exactly that) anywhere but the unsupported build forum.

And don't post static information, like tutorials, in the forums in general.

Both of these are in the forum guidelines. I'll remove this post in a day or two, so you have time to decide if you want to maintain an unsupported build.
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: An alternate dual boot method for faster Rockbox startup
« Reply #2 on: December 30, 2008, 04:20:05 PM »
I've written a patch for current svn which implements this functionality in a backward compatible way (i.e. you can still also load rockbox from disk). Booting this way is roughly five seconds faster for me; I'd appreciate anyone who's intereted in testing :)

Patch and instructions are here: http://www.rockbox.org/tracker/task/9730

Edit: actually I can't reproduce the five second speedup - it's more like 1.5 seconds when I time it multiple times and average. There are some timings posted on the patch comments, it'd be good if someone else could try, on any model?
« Last Edit: December 30, 2008, 06:27:45 PM by torne »
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  An alternate dual boot method for faster Rockbox startup
 

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

Page created in 0.078 seconds with 15 queries.