11
Repairing and Upgrading Rockbox Capable Players / Re: iPod Mini 2G Dramatic difference in battery life
« Last post by iPodVT on April 16, 2024, 10:20:36 AM »I have installed ab2af16c7c-240415 onto my 2nd Gen mini with CF->SD adapter. At the outset I'm seeing
SSD detected: yes
Power mgmt: unsupported
I don't know what you mean by "the ssd detection sanity"
Should I first see how long it will run with the Apple firmware as a benchmark, and then run this test version of Rockbox? I figure I should do the Apple version first in case any corruption results from running the Rockbox version.
[edit: addition] Or at this point are you only/mainly interested in stability/robustness, not necessarily power efficiency and how it compares to the Apple firmware's power efficiency?
SSD detected: yes
Power mgmt: unsupported
I don't know what you mean by "the ssd detection sanity"
Should I first see how long it will run with the Apple firmware as a benchmark, and then run this test version of Rockbox? I figure I should do the Apple version first in case any corruption results from running the Rockbox version.
[edit: addition] Or at this point are you only/mainly interested in stability/robustness, not necessarily power efficiency and how it compares to the Apple firmware's power efficiency?
12
Repairing and Upgrading Rockbox Capable Players / Re: iPod Mini 2G Dramatic difference in battery life
« Last post by speachy on April 16, 2024, 09:12:44 AM »I would be happy to test this if there is a fully built version I can install.
Here are test builds for the ipod5g, ipod6g, and mini2g:
https://www.shaftnet.org/~pizza/rockbox-ipod5g-exp.zip
https://www.shaftnet.org/~pizza/rockbox-mini2g-exp.zip
https://www.shaftnet.org/~pizza/rockbox-ipod6g-exp.zip
For the purposes of this testing, the mini2g and ipod5g are interchangeable from a hardware/software perspective, but the ipod6g needs to be independently tested.
All three identify as "ab2af16c7c-240415" and are are git master plus three patches from gerrit (#5647, #5648, and #5650) as of this writing.
I have been updating those three files as I've made more changes, so any test results need to include the version string (taken from the "rockbox info" menu item).
There appear to be no regressions on the mini2g and ipod5g with their original hard drives. I need data corruption and power consumption results for (1) real CF cards, (2), SD adapters, and (3) SATA adapters. I'll also need to have the ssd detection sanity checked too; that's in the disk info debug page.
If there are any issues, I will also need (1) the "identify info" file (dumped via the debug menu) and (2) the contents of the disk info screens (ideally everything, but at minumum the power management and SSD lines)
I have a mini2g, but when taking it apart yesterday to swap in a CF card, I think I damaged the clickwheel ribbon cable, so I'm probably not going to get any useful testing done on it. I also have a ipod5g with dead audio out that I intend to take apart for a SATA SSD swap, but I don't know when I'll have the time (and desk space) to get that done.
13
Repairing and Upgrading Rockbox Capable Players / Re: iPod Mini 2G Dramatic difference in battery life
« Last post by iPodVT on April 16, 2024, 08:11:20 AM »That said there is a flaw in the current code that results in power being left on even when it's safe to turn off -- I have a patch in gerrit that needs some wider testing:
https://gerrit.rockbox.org/r/c/rockbox/+/5647
I would be happy to test this if there is a fully built version I can install. I took a look at the page pointed to by the link above and it was not clear to me how I would incorporate the patch (which is something I've never done before). At this time I can't take on the project of installing a development environment and building my own versions of Rockbox from code.
My mini is a 2nd Gen, containing an iFlash CF->SD adapter which contains a 256GB Samsung Pro Plus microSD in an SD->microSD adapter. If I put a fresh battery in the mini, would it be necessary to first go through a few calibration cycles in order to get meaningful results from the power consumption testing? (Which begs the question: If a battery is disconnected and then reconnected, should it be recalibrated in order to get meaningful results from power consumption testing?)
14
Other - Installation/Removal / Re: Installing rockbox on HiFiMAN HM-603 Slim - boot hangs
« Last post by lisk on April 16, 2024, 06:46:56 AM »Well, it seems that I really bricked my HM.
Now it is restarting all the time after power on (with message F/W data error ID: 2) - the message appears, HM turns off, then turns on, message appears, turns off... And, what is worse, this happens after connecting it to PC, because this is the reason it couldn't be recognized as USB storage - HM reboot breaks connection and I can't even select it in DISKPART or cmd to format. And there is no difference is SD card plugged in HM or not; as I understand, this is fail of initial loading, not updating.
By the way, when this message appears after my attempts to install Rockbox that were built by myself, there wasn't endless reloading - after first message HM was loading with original firmware (HM-603 v.007) and modified HM-603.img was deleted from internal flash, so I had to put it again before new attempt.
I read somewhere that it is possible to close the contacts on Samsung chip on inner plate and somwhen it could help, so I'll try to find out more about. Otherwise it seems that I have to find the donor or buy the whole player.
Anyway, I'll keep your builds and I'll try use them in case successfull repair of my HM. Thanks a lot for your attention and shared builds!
Hope that I'll update here soon with a good news
Now it is restarting all the time after power on (with message F/W data error ID: 2) - the message appears, HM turns off, then turns on, message appears, turns off... And, what is worse, this happens after connecting it to PC, because this is the reason it couldn't be recognized as USB storage - HM reboot breaks connection and I can't even select it in DISKPART or cmd to format. And there is no difference is SD card plugged in HM or not; as I understand, this is fail of initial loading, not updating.
By the way, when this message appears after my attempts to install Rockbox that were built by myself, there wasn't endless reloading - after first message HM was loading with original firmware (HM-603 v.007) and modified HM-603.img was deleted from internal flash, so I had to put it again before new attempt.
I read somewhere that it is possible to close the contacts on Samsung chip on inner plate and somwhen it could help, so I'll try to find out more about. Otherwise it seems that I have to find the donor or buy the whole player.
Anyway, I'll keep your builds and I'll try use them in case successfull repair of my HM. Thanks a lot for your attention and shared builds!
Hope that I'll update here soon with a good news
15
Repairing and Upgrading Rockbox Capable Players / Re: iPod Mini 2G Dramatic difference in battery life
« Last post by speachy on April 15, 2024, 11:40:50 PM »Does this mean that a Rockbox user would see a notable power consumption improvement when using a true CF card rather than a CF->SD adapter? (Meaning that a true CF card would be better than both the original HD and a CF->SD adapter?)
It is likely that the CF card has a higher active read/write current than the SD card would, but assuming it properly implements the (mandatory!) power management commands, then yes, it would show overall better power consumption because we'd be able to safely power it down.
Is the power consumption even more degraded if the CF->SD adapter contains a microSD in an SD->microSD adapter?
No, the SD->uSD adapter is completely passive, only adapting the physical form factor.
Are you able to specify/recommend which SD (and/or microSD) cards do better than others re Rockbox power consumption with a CF->SD adapter?
Unfortunately, no. Anectdotally battery life reports have varied very widely, and given how commoditized SD cards are (and widespread counterfeits) just because a "FooCo Class 99 64GB" adapter showed good results doesn't mean that the next person trying to get the same model will see consistent results.
Does Rockbox do better re power consumption when the mini contains one of the cheapo CF->SD adapters rather than the iFlash version?
AFAICT all of the PATA/CF->SD adapters are all built on the same FC1307 chipset, and perform identically (quality control notwithstanding; anectdotally the iFlash branded ones seem to have fewer problem reports...)
I have a question — this flaw is on ALL iPods with ATA (iPod Gen 3 A1040, iPod Gen 4 A1059/1099)? As i have iPod Gen 5 A1136, and it's playtime on Rockbox is very good. I'm getting 70 hours with 3000mah battery, thought i did not tested on original firmware. But, also, i have A1040 with CF-SD adapter, and Rockbox playtime is about the same 5-6 hours. Will do tests on A1040 on original firmware to confirm.
It would behave more or less the same across all <6th gen models, correct. The 6th gen's hardware is completely different and has a bespoke ATA controller+driver. I'd expect the same sort of problems, but due to the 128GB limitation of the 6th-gen Apple firmware folks prefer to mod the 5th gen instead.
16
Repairing and Upgrading Rockbox Capable Players / Re: iPod Mini 2G Dramatic difference in battery life
« Last post by denkly on April 15, 2024, 07:12:25 PM »Is the power consumption even more degraded if the CF->SD adapter contains a microSD in an SD->microSD adapter?
Does Rockbox do better re power consumption when the mini contains one of the cheapo CF->SD adapters rather than the iFlash version?
I've done tests on both: Red CF-microSD Adapter + 128Gb Samsung EVO microSD — 6:10 hours of continuous FLAC playtime, iFlash CF-SD + Original SD Adapter + 512GB Samsung EVO microSD — 6:45 hours of continuous FLAC playtime. So about the same.
I have a question — this flaw is on ALL iPods with ATA (iPod Gen 3 A1040, iPod Gen 4 A1059/1099)? As i have iPod Gen 5 A1136, and it's playtime on Rockbox is very good. I'm getting 70 hours with 3000mah battery, thought i did not tested on original firmware. But, also, i have A1040 with CF-SD adapter, and Rockbox playtime is about the same 5-6 hours. Will do tests on A1040 on original firmware to confirm.
17
Repairing and Upgrading Rockbox Capable Players / Re: iPod Mini 2G Dramatic difference in battery life
« Last post by iPodVT on April 15, 2024, 05:43:17 PM »Rockbox writes to the disk far, far more often than the Apple firmware.
The fundamental problem is that the CF->SD chipset the iFlash adapters are built on don't properly support standard ATA power management commands (including "run in the lowest power mode possible without automatically going to sleep" and "flush everything to disk so it is safe to sleep" and even "flush everything and go to sleep now") so we have no way of reliably knowing when it is actually safe to kill power. Even the "just flush everything" command falsely claims success!) Killing power when it's not safe is near-guaranteed to cause data corruption. So we are forced to leave power on, which can severely hurt battery life depending on the specific SD card.
Does this mean that a Rockbox user would see a notable power consumption improvement when using a true CF card rather than a CF->SD adapter? (Meaning that a true CF card would be better than both the original HD and a CF->SD adapter?)
Is the power consumption even more degraded if the CF->SD adapter contains a microSD in an SD->microSD adapter?
Are you able to specify/recommend which SD (and/or microSD) cards do better than others re Rockbox power consumption with a CF->SD adapter?
[Edit - adding the following question]
Does Rockbox do better re power consumption when the mini contains one of the cheapo CF->SD adapters rather than the iFlash version?
Thanks very much.
18
Repairing and Upgrading Rockbox Capable Players / Re: iPod Mini 2G Dramatic difference in battery life
« Last post by denkly on April 15, 2024, 09:29:30 AM »Rockbox writes to the disk far, far more often than the Apple firmware.
The fundamental problem is that the CF->SD chipset the iFlash adapters are built on don't properly support standard ATA power management commands (including "run in the lowest power mode possible without automatically going to sleep" and "flush everything to disk so it is safe to sleep" and even "flush everything and go to sleep now") so we have no way of reliably knowing when it is actually safe to kill power. Even the "just flush everything" command falsely claims success!) Killing power when it's not safe is near-guaranteed to cause data corruption. So we are forced to leave power on, which can severely hurt battery life depending on the specific SD card.
That said there is a flaw in the current code that results in power being left on even when it's safe to turn off -- I have a patch in gerrit that needs some wider testing:
https://gerrit.rockbox.org/r/c/rockbox/+/5647
Meanwhile, SATA SSDs are are a different kettle of fish, and there are supposedly issues there too, but since these are native ATA devices, more research is needed to determine the root cause of reported issues with those. For example, many problems have been traced to loose/flaky cables, which obviously that has nothing to do with Rockbox. Similarly, the SATA SSDs usually have _worse_ power characteristics than the original hard drives, which again is not uinque to Rockbox.
Thanks! Hope it will be resolved, as Mini is one the greatest
19
Repairing and Upgrading Rockbox Capable Players / Re: iPod Mini 2G Dramatic difference in battery life
« Last post by speachy on April 15, 2024, 08:18:38 AM »Rockbox writes to the disk far, far more often than the Apple firmware.
The fundamental problem is that the CF->SD chipset the iFlash adapters are built on don't properly support standard ATA power management commands (including "run in the lowest power mode possible without automatically going to sleep" and "flush everything to disk so it is safe to sleep" and even "flush everything and go to sleep now") so we have no way of reliably knowing when it is actually safe to kill power. Even the "just flush everything" command falsely claims success!) Killing power when it's not safe is near-guaranteed to cause data corruption. So we are forced to leave power on, which can severely hurt battery life depending on the specific SD card.
That said there is a flaw in the current code that results in power being left on even when it's safe to turn off -- I have a patch in gerrit that needs some wider testing:
https://gerrit.rockbox.org/r/c/rockbox/+/5647
Meanwhile, SATA SSDs are are a different kettle of fish, and there are supposedly issues there too, but since these are native ATA devices, more research is needed to determine the root cause of reported issues with those. For example, many problems have been traced to loose/flaky cables, which obviously that has nothing to do with Rockbox. Similarly, the SATA SSDs usually have _worse_ power characteristics than the original hard drives, which again is not uinque to Rockbox.
The fundamental problem is that the CF->SD chipset the iFlash adapters are built on don't properly support standard ATA power management commands (including "run in the lowest power mode possible without automatically going to sleep" and "flush everything to disk so it is safe to sleep" and even "flush everything and go to sleep now") so we have no way of reliably knowing when it is actually safe to kill power. Even the "just flush everything" command falsely claims success!) Killing power when it's not safe is near-guaranteed to cause data corruption. So we are forced to leave power on, which can severely hurt battery life depending on the specific SD card.
That said there is a flaw in the current code that results in power being left on even when it's safe to turn off -- I have a patch in gerrit that needs some wider testing:
https://gerrit.rockbox.org/r/c/rockbox/+/5647
Meanwhile, SATA SSDs are are a different kettle of fish, and there are supposedly issues there too, but since these are native ATA devices, more research is needed to determine the root cause of reported issues with those. For example, many problems have been traced to loose/flaky cables, which obviously that has nothing to do with Rockbox. Similarly, the SATA SSDs usually have _worse_ power characteristics than the original hard drives, which again is not uinque to Rockbox.
20
Repairing and Upgrading Rockbox Capable Players / iPod Mini 2G Dramatic difference in battery life
« Last post by denkly on April 15, 2024, 06:26:22 AM »Hello! I've successfully upgraded my Mini 2G with iFlash CF-SD + new 600mAh battery. Installed Rockbox Daily, no problems. Did some tests and figured that on Rockbox playtime is about 6 hours, while on original OS it's over 20 hours. Is there some patch i need to apply? I don't want to stick with original OS on Mini, cause it's sounds so nice on Rockbox.