Support and General Use > Hardware
iPod 5.5G w/CF card - bad battery or hardware issue?
michaelc5047:
--- Quote from: soap ---I agree 100% that the numbers you posted are lower than expected with a stock battery, much less a (supposedly) higher-capacity aftermarket one.
That being said:
1 - There are lots of **** quality aftermarket batteries floating around. Ones which aren't worth the postage they were shipped in.
2 - There are lots of fraudulently labeled, and plain ol' counterfit aftermarket batteries floating around.
3 - The only way to nail down the question (which I think is the underlying question here) "Is my battery dying already or has Rockbox regressed in terms of battery runtime?" is to test against a known benchmark - the Apple Original Firmware (R) (TM)
--- End quote ---
Yes, that was in fact my underlying question, and my thanks were sincere. :) I also really hadn't thought of doing a benchmark on the Apple OS and comparing it against Rockbox.
saratoga:
--- Quote from: LurkAzusa on August 16, 2008, 11:15:54 PM ---Forgive me for hijacking your thread to discuss the 4G, but maybe together we can get the ipod CF corrected.
These are the values set in firmware/target/arm/system-pp502x.c for the ipod 4G
#elif defined(IPOD_4G)
/* set minimum startup configuration */
DEV_EN = 0xc2020124;
DEV_EN2 = 0x00000000;
CACHE_PRIORITY = 0x0000003f;
GPO32_VAL = 0x02000000;
DEV_INIT1 = 0x00000000;
DEV_INIT2 = 0x40000000;
/* reset all allowed devices */
DEV_RS = 0x3ffdfef8;
DEV_RS2 = 0xffffffff;
DEV_RS = 0x00000000;
DEV_RS2 = 0x00000000;
The debug menu shows the following differences, with patch applied to remark out DEV_RS=0x3ffdfef8;
DEV_EN = C0031926
DEV_INIT1 = 00040000
DEV_RS = 00000000
DEV_RS2 = 00000000
With a patch applied to remark out the entire code above:
DEV_EN = C0831977
DEV_EN3 = 0007003F
DEV_INIT1=00040000
DEV_RS = 0000000
DEV_RS2 = 00000000
--- End quote ---
If you comment out that block, you just disable the PP power saving patch we commited last winter. If you want good battery life, you should try to figure out which of those bits actually matters for CF support, instead of just removing all of them.
This page may be interesting to you:
http://www.rockbox.org/twiki/bin/view/Main/DeviceEnableRegistersPP502x
LurkAzusa:
Thanks Saratoga for the reference, but I haven't a clue what to look for. The only thing I do know is that it will boot with the DEV_RS = 0x3ffdfef8 removed. I listed the changed values to hopefully help identify what the value should be.
Can you tell me exactly what I should change and test? I'd really like to be able to use the the firmware unpatched.
What is the meaning of listing DEV_RS and DEV_RS2 twice in the reset section? Does only the second set take effect?
saratoga:
--- Quote from: LurkAzusa on August 17, 2008, 03:50:18 PM --- The only thing I do know is that it will boot with the DEV_RS = 0x3ffdfef8 removed.
--- End quote ---
Try it with and without that line removed and see what changes.
--- Quote from: LurkAzusa on August 17, 2008, 03:50:18 PM ---What is the meaning of listing DEV_RS and DEV_RS2 twice in the reset section? Does only the second set take effect?
--- End quote ---
The comment says its resetting the devices, so I guess its desirable to turn them on and then back off during power up, perhaps to clear any settings or somehow initialize them. If I knew exactly what that did, I could probably just fix the CF problem myself.
LurkAzusa:
I did post the changes with the line removed. I can't get a value with it active, as it won't boot.
So, since the DEV_RS value is 00000000, then removing that first DEV_RS line really doesn't make a difference to the battery saving code? Can that line be permanently removed?
I'm willing to test anything to help.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version