Hi,
I bought this iflash ata1 (
https://www.iflash.xyz/store/iflash-ata1/) to revive my old iPod 4g color/photo with failing hard disk. I ran Rockbox on it years ago and wanted to go back to those glory days. The iflash says 2021 on the actual hardware, so perhaps it's a new model?
I'm running the latest dev build (rockbox-ipodcolor-20220215). I'm using a PNY 512 GB SD card.
I copied some music to the device using the disk mode (holding select and play when booting up).
Unfortunately, I have a couple of problems that I've seen mentioned around this thread, too:
- After installing the iflash and restoring the disk using iTunes, looking at the disk with disk partitioning software gives an "Unable to detect file system" error.
- After installing Rockbox (using the Rockbox Utility on Linux) I can't play back any music, it gives an "error accessing playlist control file" error. I can browse the files and everything seems to be there. I tried with mp3's and flac's.
- Also, interestingly, I cannot run any(?) plugins. (I haven't tested them all, but at least the calculator and image viewer didn't work.)
- Different themes than the default will also not load.
I was afraid this was a hardware problem—that my SD card was faulty—but this thread at least makes me hopeful that that might not be the case? I saw the suggestion of setting ATA_MAX_UDMA to 1 in reply #30 (
https://forums.rockbox.org/index.php/topic,52560.msg247796.html#msg247796) but looking at the code of the currect dev build I don't think that can still be done in the same way. That is, reading the comments and code seems to suggest that it should already run with ATA_MAX_UDMA set to 1, as I'm running a 4g iPod.
I'm not sure if it's relevant, but looking under Debug and "View disk info", it says "DMA mode: UDMA 2". Shouldn't that say UDMA 1? I have no idea if that's how this works, unfortunately.
Could it be that the fixes implemented only work for the 4g greyscale model?
My next step now is to setup gcc and try to compile Rockbox with all instances of ATA_MAX_UDMA set to 1 in the ata-target.h file. No idea if that will do anything but I figure I can always try. I would appreciate some help, though!
EDIT:
I compiled a version of Rockbox where I replaced all instances of "ATA_MAX_UDMA 2" with "ATA_MAX_UDMA 1" in ata-target.h. Plugins and themes seem to work now as well as music playback. Only tested it for a few seconds so far, though. Under Debug->View disk info, there is now also "DMA mode: UDMA 1". All this leads me to suspect that the fixes for the 4g iPod version were only implemented for the greyscale version.
Will test further.
EDIT:
Well, it is more stable than before, but the system seems to freeze up after a few minutes of use. Seemed to happen more the more files I copied to the player. The screen still lights up when I touch the scroll wheel, but the selected text becomes garbled after a while. Even when browsing settings without playing anything just now, it froze up. It seems to be busy with something. In any case, not really usable yet.
If I reboot and then as quickly as possible go into files and select something to play, it does seem to work for a short while. Browsing to other files quickly leads to more freezing and garbled text, however.
I took a screenshot of when this happens:

FINAL EDIT:
Well, I experimented a bit more, and talked with Bilgus about it on the IRC channel, and I think the conclusion has to be that my SD card was simply faulty. Trying with a 4gb SD card seems completely stable, also with the latest development version (where UDMA is 2 and DMA isn't disabled). For whoever is interested, perhaps with similar woes, you can find that in the IRC logs of 17 & 18 February 2022. I'll shop around for a new SD card, I suppose.