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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Battery runtime on iPod 5,5 gen
« previous next »
  • Print
Pages: [1]

Author Topic: Battery runtime on iPod 5,5 gen  (Read 2939 times)

Offline rapster

  • Member
  • *
  • Posts: 6
Battery runtime on iPod 5,5 gen
« on: August 06, 2007, 03:05:08 PM »
Quote
Reduced battery consumption on PP5002 targets (iPod 1st/2nd gen and 3rd gen). Now rockbox battery runtime is better than OF, verified on 2nd gen :-)
Great! This is good news! Is there a chance that iPod 5,5 gen will soon have reduced battery consumption too?

Greetings

rapster
« Last Edit: August 06, 2007, 03:11:56 PM by Febs »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Battery runtime on iPod 5,5 gen
« Reply #1 on: August 06, 2007, 03:38:07 PM »
The PP502x targets have different hurdles. It gives us some things to look for, but by no means guarantees that it will discovered soon.
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Battery runtime on iPod 5,5 gen
« Reply #2 on: August 06, 2007, 05:43:14 PM »
I also cannot wait the next good news as I saw the progress on 2nd and 3rd generation iPODs the last days!  :)
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline sadffffff

  • Member
  • *
  • Posts: 52
Re: Battery runtime on iPod 5,5 gen
« Reply #3 on: August 07, 2007, 12:52:58 AM »
what was the reason for the improvement? I'd be curious to hear some more about this.
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Battery runtime on iPod 5,5 gen
« Reply #4 on: August 07, 2007, 02:33:29 AM »
Quote from: sadffffff on August 07, 2007, 12:52:58 AM
what was the reason for the improvement? I'd be curious to hear some more about this.

As I understand it, this is how it went down :

1) amiconn took delivery of a 2nd Gen iPod he'd bought on ebay
2) On dumping the flash from it (or the original firmware, I'm unclear on which) and then disassembling the same, he found some hardware routines that were performed during device initialisation that we didn't do before. These routines accessed bits of the Portal Player that are previously unknown to both us, and iPodLinux.
3) Copying these routines into our bootloader, and also figuring out finally how to turn the hard drive off when it's not being used resulted in :

Rockbox using less battery than the original firmware on the all PP5002 targets (which is the 1st, 2nd and 3rd Gen iPods).
Logged

Read The Manual Please

Offline carmenm

  • Member
  • *
  • Posts: 50
Re: Battery runtime on iPod 5,5 gen
« Reply #5 on: August 07, 2007, 03:28:34 AM »
Thanks for the info GodEater, that s a great news(i remember when it happened on H3x0, just crazy ... :D ). It reminds us how lucky we are to have such talented people behind that project.
I know it doesnt mean anything for the 5,5.5gn but at least it gives hope !

Thanks to everyone
Logged

Offline Buschel

  • Developer
  • Member
  • *
  • Posts: 190
Re: Battery runtime on iPod 5,5 gen
« Reply #6 on: August 07, 2007, 03:00:19 PM »
Is there anything where 5.5-users can help? e.g. back up the OF and hand it over to somebody who is able to disassemble it?
Logged
iPod 5.5G 30GB, iPod nano 2G 8GB, 97% MPC and growing...
 

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Battery runtime on iPod 5,5 gen
« Reply #7 on: August 07, 2007, 03:09:25 PM »
No - we have more than enough copies of it already thanks.
Logged

Read The Manual Please

Offline blindraccoon

  • Member
  • *
  • Posts: 1
Re: Battery runtime on iPod 5,5 gen
« Reply #8 on: August 14, 2007, 04:38:53 PM »
Quote
Rockbox is a complete rewrite and uses no fragments of any original firmwares.

Quote
3) Copying these routines into our bootloader,...

If the second quote (from above) is factual, then how does that jive with the first quote (from the website's front page) ?

P.S. I'm nobody, just curious.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Battery runtime on iPod 5,5 gen
« Reply #9 on: August 14, 2007, 04:53:56 PM »
My knowledge in this area is minimal, but bootloaders are a slightly different beast.

The actual operating firmware (rockbox.player) is (as much as any open source project can be) entirely brand new.

Bootloaders, however, have to insinuate themselves into the OF bootloader so that it is 'diverted' into running Rockbox. Also, certain hardware initilisations have to take place during boot and where the exact behaviour of the hardware is unknown, the only recourse is to copy the OF's init routines directly into the RB bootloader.

EDIT: Obviously, anyone is free to jump on me here if I am talking out of my backside  :-\
« Last Edit: August 14, 2007, 04:55:29 PM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Battery runtime on iPod 5,5 gen
« Reply #10 on: August 14, 2007, 05:09:06 PM »
The power consumption improvements just involving storing two words to hardware registers.  The apple code isn't used to do this, amiconn wrote his own:

http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/arm/system-pp5002.c?r1=14217&r2=14218

Also, rather then asking about these things, its pretty easy to just look them up.  Theres a log of all changes made on the front page.  You don't have to be a programmer to understand what this one did: "Reduced battery consumption on PP5002 targets".
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Battery runtime on iPod 5,5 gen
 

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

Page created in 0.086 seconds with 14 queries.