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 Development
| |-+  Starting Development and Compiling
| | |-+  compiling ipod bootloader
« previous next »
  • Print
Pages: [1]

Author Topic: compiling ipod bootloader  (Read 1941 times)

Offline Paul_

  • Member
  • *
  • Posts: 4
compiling ipod bootloader
« on: July 06, 2007, 05:24:17 PM »
Hey,

Im on Windows and using the cygwin setup.

I made my build directory, and ran ../tools/configure selecting 22 (iPod Video) and then B (Bootloader).

Then I ran make, and it made a bunch of files, one of those being bootloader-ipodvideo.ipod

I already had rockbox installed on my iPod (installed the bootloader by running ipodpatcher with no parameters) and I tried installing the bootloader I just compiled (no change from the source code) by running "ipodpatcher -a bootloader-ipodvideo.ipod" which should add (or replace) the bootloader into the iPod.

But when I restarted my iPod and didn't press any buttons it loaded into the apple firmware, instead of rockbox.

Is there something im missing?

I'm thinking that the bootloader-ipodvideo.ipod should run the main function in trunk/bootloader/ipod.c ?
Logged

Offline Paul_

  • Member
  • *
  • Posts: 4
Re: compiling ipod bootloader
« Reply #1 on: July 06, 2007, 08:26:00 PM »
What I want to do is make sure i'm compiling the right way (or right things) at the moment i'm either compiling the wrong code or using the wrong file. I think.

EDIT:

Ok, I tried another way, making ipodpatcher with the embedded bootloaders, with the bootloaders from http://download.rockbox.org/bootloader/ipod/bootloaders.zip it worked fine (they were compiled 23rd May 07) but if I replace the bootloader with the one I just compiled (from trunk) it has the same effect as before (just loads apple firmware)

Is there something wrong i'm doing to compile the bootloader?

EDIT2:

Just checked subversion & last time ipod.c was updated was 23rd May 07 (so the link above was giving me the latest compiled bootloaders)
« Last Edit: July 06, 2007, 09:24:26 PM by Paul_ »
Logged

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: compiling ipod bootloader
« Reply #2 on: July 08, 2007, 09:27:11 PM »
I could be wrong, but I think the recent changes to the clock just haven't caught up to the bootloader yet.  You could try compiling it from the source from the 1st, or just use the official bootloader (nothing wrong with it, probably works better actually).
Logged

Offline Paul_

  • Member
  • *
  • Posts: 4
Re: compiling ipod bootloader
« Reply #3 on: July 08, 2007, 09:32:47 PM »
Ok cool thanks  :)
I'll try that when I get home.

I'm wanting to compile a bootloader that loads the apple firmware first, I first tried compiling the bootloader with no source changes to check that I was doing it right (if it loaded like the official one then I had done it right) then I was going to change it round.
Logged

Offline Paul_

  • Member
  • *
  • Posts: 4
Re: compiling ipod bootloader
« Reply #4 on: July 09, 2007, 04:39:29 AM »
Hey thanks heaps tdtooke!

I reverted to some code committed on July 1st and the bootloader compiled correctly.

Thanks again  8-)
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  compiling ipod bootloader
 

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

Page created in 0.063 seconds with 15 queries.