Rockbox Technical Forums

Installation / Removal => Manual Installation => Apple - Installation/Removal => Topic started by: landtuna on December 06, 2007, 02:38:15 PM

Title: iPod 2G firewire last known good version?
Post by: landtuna on December 06, 2007, 02:38:15 PM
I just tried to install Rockbox on my 2nd generation iPod (firewire).  I think it's installed correctly, because I can get into the original firmware if the hold switch is on as it boots.  When I don't do that, I get various errors, like "data abort F0000006" and "undefined instruction at 000449FC" after a long boot.  Sometimes, it just hangs with the apple on the screen.  It's almost like the firmware isn't for this processor.

Right now I'm using r15886.

What's the most recent version someone has running on a 1G or 2G iPod?

Thanks.
Title: Re: iPod 2G firewire last known good version?
Post by: yapper on December 07, 2007, 10:33:33 AM
Try the daily build from 20071204.  It's working for me (I haven't updated recently so can't confirm your issue)
Title: Re: iPod 2G firewire last known good version?
Post by: landtuna on December 07, 2007, 11:33:30 AM
That version worked.  Thanks!  (And don't update your iPod.  :))
Title: Re: iPod 2G firewire last known good version?
Post by: yapper on December 08, 2007, 02:05:11 AM
I just updated to r15896 and that seems to be working fine.
Title: Re: iPod 2G firewire last known good version?
Post by: pixelma on December 08, 2007, 03:50:41 AM
I've heard that currently there is a problem with the early Ipod models which have a certain Portalplayer chip (1st - 3rd generation if I remember correctly). This problem occurs as described by the original post but only in some builds - the slightest change to the source can make a build break or work again even if the change doesn't seem important. This is why it is so hard to hunt down the real cause of it and to fix by the developers who are aware of the issue.

You could only try new builds from time to time and keep the last version that was working for you.
Title: Re: iPod 2G firewire last known good version?
Post by: yapper on December 08, 2007, 02:32:59 PM
Thanks for that info, pixelma.

I looked through the recent changes and couldn't see anything that indicated a problem being fixed, but your comments explain the scenario experienced by the OP.

Updates (based on my testing on a 20Gig 2nd Gen model):
r15930 good (from http://download.rockbox.org/daily/ipod1g2g/rockbox-ipod1g2g-20071215.zip)
r15951 good (from http://download.rockbox.org/daily/ipod1g2g/rockbox-ipod1g2g-20071218.zip)
r15958 good (from http://download.rockbox.org/daily/ipod1g2g/rockbox-ipod1g2g-20071222.zip)
r15971 good (from http://download.rockbox.org/daily/ipod1g2g/rockbox-ipod1g2g-20071225.zip)
r15994 good (from http://download.rockbox.org/daily/ipod1g2g/rockbox-ipod1g2g-20080104.zip)
r16011 good (from http://download.rockbox.org/daily/ipod1g2g/rockbox-ipod1g2g-20080107.zip)
r16557 - works when built with 3 NOPs*
r16586 good (from http://download.rockbox.org/daily/ipod1g2g/rockbox-ipod1g2g-20080309.zip)
r16593 good

* see post further down this thread with explains how to modify a build to allow it to run.
Title: Re: iPod 2G firewire last known good version?
Post by: apogee on January 06, 2008, 11:32:00 AM
r15975 works on my 20GB 2G iPod.
Title: Re: iPod 2G firewire last known good version?
Post by: yapper on January 17, 2008, 07:19:33 PM
If you are able to compile, then there is a trick that can be used to try to make a build function. Add a few nops as described here:
apps/main.c at the end of app_main()  (first function) does the trick. The number needed varies but 1-5 should do it. A few tries with different numbers of them might be needed.
Code: [Select]
static void app_main(void)
{
    ....
    nop; nop; nop; nop; ...
}
Title: Re: iPod 2G firewire last known good version?
Post by: yonkiman on February 29, 2008, 02:18:26 AM
Just tried installing RB on my 2G firewire ipod.  Get similar errors every time i reboot:
   Data abort at 00183E60 (1)
   Undefined instruction at 01002724 (1)

Tried the Feb 28 build, feb 29th build, and the Feb 1 build, and all seem to fail.  The Apple software boots and works OK, so I assume my hardware is OK.

Should I just keep trying different builds until I find one that works?  

Any ideas?

Thanks,
Fred

 
Title: Re: iPod 2G firewire last known good version?
Post by: AlexP on February 29, 2008, 03:14:10 AM
Should I just keep trying different builds until I find one that works?  

I'm afraid at the moment, yes.
Title: Re: iPod 2G firewire last known good version?
Post by: yapper on February 29, 2008, 07:26:24 AM
Look back through this thread for my list of versions that I've tried.

r16196 was the last version I tested that worked (without tweaking).

This one (r16197) has a good chance of working, but I haven't tested it myself:
http://download.rockbox.org/daily/ipod1g2g/rockbox-ipod1g2g-20080202.zip  

If it does work, please post an update here  :)

Title: Re: iPod 2G firewire last known good version?
Post by: yonkiman on February 29, 2008, 10:10:59 AM
Look back through this thread for my list of versions that I've tried.

r16196 was the last version I tested that worked (without tweaking).

This one (r16197) has a good chance of working, but I haven't tested it myself:
http://download.rockbox.org/daily/ipod1g2g/rockbox-ipod1g2g-20080202.zip  

If it does work, please post an update here  :)

I tried r16195 last night, thinking it was close to your r16196 that worked, but it didn't work.  Will try 16197 tonight.

What happened to r16196?  Is it available anywhere?  Could it be tagged as "last known working" and made available?

Thanks for the help and advice,
Fred
Title: Re: iPod 2G firewire last known good version?
Post by: yonkiman on March 01, 2008, 03:08:58 PM
Today's release (r16467, March 1, 2008) works!  Nicer fonts and graphics, too!

I love you rockbox developers!

Title: Re: iPod 2G firewire last known good version?
Post by: AlexP on March 01, 2008, 03:19:55 PM
I'm glad that that specific version works, but the underlying bug has not been fixed so the next one may well not.  Therefore before trying to update next time, it will be a good idea to keep a back up of this build so if it doesn't work you can go back to this, until you find a newer one that does work.
Title: Re: iPod 2G firewire last known good version?
Post by: amiconn on March 13, 2008, 03:18:45 PM
The problem has been tracked down, and was fixed in SVN r16547 (07 March 2008).
Title: Re: iPod 2G firewire last known good version?
Post by: yapper on March 13, 2008, 05:21:37 PM
Excellent - thanks for tracking this one down  ;D
Title: Re: iPod 2G firewire last known good version?
Post by: yonkiman on March 14, 2008, 01:12:36 AM
The problem has been tracked down, and was fixed in SVN r16547 (07 March 2008).

Sweet!  Thanks for the notification!
Title: Re: iPod 2G firewire last known good version?
Post by: yapper on March 29, 2008, 11:22:18 AM
This may not be linked to the original problem, but I'll note it here until I have time to investigate further ...

r16873 boots fine
r16877 freezes after the Apple logo (blank screen)

edit:
r16884 boots fine
r16890 also boots fine