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
| | |-+  Starting up iPod
« previous next »
  • Print
Pages: [1]

Author Topic: Starting up iPod  (Read 2390 times)

Offline Tijn22

  • Member
  • *
  • Posts: 5
Starting up iPod
« on: May 25, 2007, 08:38:55 AM »
Hi, I don't know if this post belongs here, but i've no idea were to post it otherwise.
Well, this is my question: How is Rockbox getting started on an iPod Nano?
So: which file does the ipod starts up (i guess that is the bootloader, but were can i find the file) after that i think that the bootloader starts up Rockbox.ipod (when i start this file, rockbox will load again).

How does it work exactly?

Thanks, Tijn Kersjes
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Starting up iPod
« Reply #1 on: May 25, 2007, 09:11:44 AM »
Are you asking how to install Rockbox on your Nano ?

Or are you asking for detailed technical information for some reason ?

(You *did* post in the wrong place by the way).
Logged

Read The Manual Please

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Starting up iPod
« Reply #2 on: May 25, 2007, 09:33:57 AM »
Assuming you're after technical information, the ipodpatcher documentation could help explain:

http://www.rockbox.org/twiki/bin/view/Main/IpodPatcher

You could also browse the ipodlinux wiki - that has lots of technical info as well.
Logged

Offline Tijn22

  • Member
  • *
  • Posts: 5
Re: Starting up iPod
« Reply #3 on: May 25, 2007, 01:23:21 PM »
Yea, i'm asking how my ipod starts up Rockbox (i know that it works, i want to know HOW it works) well, im reading the given page now, so thank you so far.  ;)
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Starting up iPod
« Reply #4 on: May 25, 2007, 07:19:59 PM »
The ipod power-on behaviour is the following:

1) Like all ARM processors, the code at address 0x0 is executed when the ipod is powered on.  On the ipods, this is the flash ROM, and contains the Apple bootloader, disk-mode, diagnostics mode and (on the 5g), some firmware which is transferred to the Broadcom processor.

2) After initialising the hardware, the Apple bootloader checks for the key combinations to enter either disk mode or diagnostics mode, and if they aren't being pressed, it will load the main Apple firmware from the firmware partition.  The firmware partition is the first partition on the disk, and is marked as type 0 (Empty).  This prevents operating systems like Windows/Mac OS X/Linux from attempting to mount it.

3) ipodpatcher attaches the Rockbox bootloader to the end of the Apple firmware in the firmware partition and changes the header information in the firmware partition so that the Apple bootloader will load both the Apple firmware and Rockbox bootloader into RAM, but execute the Rockbox bootloader.

4) The Rockbox bootloader then either loads and executes the main Rockbox firmware (the rockbox.ipod file on the FAT32 partition) or executes the Apple firmware already loaded to RAM by the Apple bootloader, depending on whether MENU/Hold is pressed.
Logged

Offline Tijn22

  • Member
  • *
  • Posts: 5
Re: Starting up iPod
« Reply #5 on: May 26, 2007, 10:39:20 AM »
Does rockbox still uses the standard firmware? or is it only loaded?
Logged

Offline Tijn22

  • Member
  • *
  • Posts: 5
Re: Starting up iPod
« Reply #6 on: May 29, 2007, 11:56:49 AM »
anyone?
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: Starting up iPod
« Reply #7 on: May 29, 2007, 12:03:05 PM »
I'm not sure what you mean by "use the standard firmware".

Rockbox is a standalone firmware, but it does reboot into the standard firmware's disk mode to allow you to access your ipod via USB - there is no USB mode for ipods in Rockbox yet.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Starting up iPod
« Reply #8 on: May 30, 2007, 02:29:32 AM »
From the very front page at www.rockbox.org :

"Rockbox is a complete rewrite and uses no fragments of any original firmwares."
Logged

Read The Manual Please

Offline Tijn22

  • Member
  • *
  • Posts: 5
Re: Starting up iPod
« Reply #9 on: May 31, 2007, 01:27:52 PM »
okay, thanx
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Starting up iPod
 

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

Page created in 0.073 seconds with 15 queries.