• BORED Logo

  • iFlash and Rockbox….

2nd July 2008

iFlash and Rockbox….

By Tarkan | Permanent Link
Updated Tue, 30th September 2008

Several people have got in touch with problems running Rockbox on their iFlash ‘d Video Ipod’s.

After some investigation work it has come to light that since build version r16258 , Rockbox has stopped working on slower/cheaper Compact Flash cards (e.g. A-Data , Transcend). The newer builds throw up a ATA -1 error.

I know of a few people who are trying track down why this is happening, time permitting I will also be looking through the source code to attempt a fix. So far it looks like the changes made to the power management is the root of this evil!!

If you are using a fast CF card (e.g. Sandisk Extreme) then more than likely the current build of Rockbox will work for you, but if you are suffering from the ATA -1 error and being such a nice guy I have made available the r16258 builds below which will work.

**UPDATE** (30th September 2008)

Looks like we have found a temporary fix for the current builds to work with the error causing CF cards. Below is the current build r18673 (as of 30th September 2008) modified which is the newly released version 3 of Rockbox.

(these have been personally compiled by me…but please don’t blame me if they go wrong…)

For 5g/5.5g Video Ipod (30Gb version) – rockbox-r18673-iflash_video32mb

For 5g/5.5g Video Ipod (60Gb/80Gb Version) – rockbox-r18673-iflash_video64mb

(here is the patch file for anyone who wants to compile there own or wants to experiment patch.txt)

This is an experimental fix and if you notice any issues then please leave a comment.

If you need help with Rockbox in general the best place to go is www.rockbox.org

Enjoy and if you can offer any help please get in touch….

Posted on Wed, 2nd July 2008 at 8:09 pm under Modding, Tutorials. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

There are currently 39 responses to “iFlash and Rockbox….”

Comments? Suggestions? Help? Well here's your chance! Leave a comment.

  1. 1 On July 2nd, 2008, Jared said:

    Hey Tarkan,

    I’ve been working on tracking down the specific change that caused this problem. I’ve narrowed the issue down to changes in the file “firmware/target/arm/system-pp502x.c”

    I’ll continue to work on finding some more specific information, but I figured this might be helpful for anyone else trying to track down the problem (no need to duplicate work :) ).

    Jared

  2. 2 On July 3rd, 2008, Jared said:

    GOT IT!!!!! W00T!!!!

    If you follow the link below, you can see the block that’s causing the problem (lines 301-314). I commented those lines, and the latest SVN compiled and ran on my iFlash’d 30GB Video (booted and played music)…

    http://svn.rockbox.org/viewvc.cgi/trunk/firmware/target/arm/system-pp502x.c?annotate=16259&pathrev=16258#l301

    I suppose those values should be set to something, but I’m not sure what it should be at the moment. I’ve uploaded my build of the latest SVN here:

    http://jaredsutton.com/downloads/rockbox-ipodvideo-30gb-iflash-r172923.zip

    Jared

  3. 3 On July 3rd, 2008, Tarkan said:

    WOW, Jared!! well done!! excellent, should make it much easier to track down why it works on some cards and not others.

    I will be having a play tonight with your svn.

    If my testing goes well you ok if I put the builds up for download, in the mean time?

  4. 4 On July 3rd, 2008, Jared said:

    No problem here. You may want to rename the file (if you’re going to post it on your server), as I mis-typed the SVN revision number. Should have ended with “r17923.zip”

  5. 5 On July 3rd, 2008, Tarkan said:

    Jared,

    Ok looks like the DEV_RS is causing the problem, I removed the line and it works.

    I don’t think DEV_RS is the actual problem – as it does not cause issues with some cards, so the reset it causes needs to be looked at.

  6. 6 On July 4th, 2008, Jared said:

    Double check your svn revision numbers on your post. I think you type-o’d similarly to me ;)

    How would we go about reporting such a problem to the rockbox people? Would they even care, since this problem is definitely not on vanilla hardware?

    Jared

  7. 7 On July 4th, 2008, Tarkan said:

    Jared, my revision number is correct – I made my changes to the current revision pulled down by SVN.

    One of the developers has taken some interest on the rockbox forum, I will post up a patch file later for them with some information.

    Hopefully they are able to locate the exact issue.

    At least it works for now!!!

  8. 8 On July 4th, 2008, Scott said:

    I’m just having loads of good luck. I’ve reinstalled my A-Data card and back to biz in regards to the OEM firmware. Just loaded the latest Rockbox bootloader and the July 3rd build posted up above and I’m getting the same error that I got when I first tried Rockbox:

    Loading Rockbox…
    Error!
    Can’t load rockbox.ipod:
    File not found

    I can see “.rockbox” in the root directory. Any ideas?

  9. 9 On July 4th, 2008, Scott said:

    I think I should have provided the previous lines of the error message:

    Rockbox boot loader
    Version: 2.0
    IPOD version: 0xFFFFFFFF
    CF 32GB
    Partition 1: 0x0B 7720 MB

    Then comes the lines I noted above.

  10. 10 On July 4th, 2008, Tarkan said:

    Nothing to worry about, I had the exact error with my A-Data card when I first tried Rockbox.

    http://www.tarkan.info/20080126/tutorials/32gb-compact-flash-ipod/3

    All it is the partition table is messed up, just need to wipe the partition table clean – I used my camera to format the card.

  11. 11 On July 4th, 2008, Kyle B said:

    thanks a lot for the patched version man, my adat was’nt coming out of sleep well on apples firmware. and now i have a better OS. aka 1ny0urfac3 on rockbox forums.

  12. 12 On July 5th, 2008, Jared said:

    Scott,

    If you have access to a Linux box, you can use dd to erase the partition table (you can plug it in with the regular iPod USB cable):

    dd if=/dev/zero of=/dev/sdX bs=512 count=1

    where /dev/sdX is the device name of the iPod (you can use “fdisk -l” to help you locate which device is the iPod).

    After you erase the partition table, you can use fdisk to create a new DOS parition table. Then, you can plug the iPod into a Windows box and let iTunes restore the iPod. You should now have a “factory” iPod (well, except the CF card, of course). After this, you can use the Rockbox installer to install Rockbox automagically. You can find the installer here:

    http://download.rockbox.org/rbutil/win32/rbutilqt-v1.0.5.zip

  13. 13 On August 14th, 2008, michael said:

    Hey Tarkan,

    Thanks for doing this. My iFlash has been sitting around unloved for a month or so, as I’ve been using the 32GB card in an iPod mini. Now that they’ve dropped below $100 US, I went ahead and bought a second one, and finally have a working Rockboxed iFlash. Now I just need to bug them to put it in SVN so we can use newer builds.

  14. 14 On August 21st, 2008, CV said:

    Hello, i submitted a comment in the other post but posting here also. I can’t get rockbox to load properly. I get ATA error -80 “No partition found”. Any ideas? I tried the patch above and followed the install instructions from the rockbox.org website. Mine is a 30Gb 5G Ipod video and using Transcend 32 Gb card which I thought people got working with the patched build above but I could be wrong. Has anyone with Transcend 32 Gb got rockbox working? Would appreciate any help.

  15. 15 On August 21st, 2008, Tarkan said:

    CV,

    Glad you got your iPod working. Having you tried the Rbutil program to install rockbox.

    This ATA -80 error is normally a corrupt partition table, maybe you can format your card in a camera or another device – then do the iTunes installation followed by the Rockbox utility.

    Hopefully, some of the more experienced Rockbox’ers can chime in with some ideas for you.

    It may worth testing another card anything above 1Gb should do.

    Good luck.

  16. 16 On August 22nd, 2008, CV said:

    Hi Tarkan

    Thanks for your response…I did test with my Lexar Platinum from the camera and everything worked including Rockbox and worked fast :-). The difference in speed is big enough IMO so I’m returning the Transcend and getting a 16 Gig Sandisk Extreme 3 on which I got a great deal ($80).

    Once again, thanks for the pointers and hopefully I’ll be up and rocking in a few days.

    Cheers!

  17. 17 On August 22nd, 2008, Tarkan said:

    Becareful with the Sandisk Extreme cards – the new 2008 30mb/s models do not work. I have a 16Gb card and it does not work.

  18. 18 On August 22nd, 2008, Bigsouth said:

    Tarkan!
    I’ve gotten used to the endless restore loop that my card is giving me, but now I’ve got the -80 No Partition error. I’ve tried numerous tools to clean the card off completely. The most succesful being the HP USB Disk Format Utility. I got the card down to one partition, and as soon as I restore it in iTunes, I get two partitions…which is where I think the bootloader is messing up.
    Has anyone come across this and found a fix?
    Did I just buy a bum cf card?
    -south

  19. 19 On August 22nd, 2008, CV said:

    Hmmm…thanks Tarkan for the headsup about the new Sandisk Extremes. I guess I’ll have to wait and see if they work. So I understand it right, the card won’t work at all or its just that it keeps showing up with the Restore sceen every now and then? I might be able to live with the latter if the card is fast enough when syncing but otherwise, I’ll be returning it, lets see.

  20. 20 On August 22nd, 2008, Tarkan said:

    South – it could be your CF card is bad, the two partitions is correct, one partition is actually where the bootloader resides.

    CV – the Extreme 3 (2008 30Mb/s) do not work full stop. I don’t think even Rockbox works with them – I will try it this weekend for you, I still have a 16Gb III card here.

  21. 21 On August 25th, 2008, CV said:

    Tarkan

    The new Sandisk Extreme didn’t work just like you’d predicted – it doesn’t load either the Apple or Rockbox firmware. Did you get a chance to try any new workarounds?

  22. 22 On September 29th, 2008, RockBox said:

    Rockbox was updated to v3.0, getting an ATA error w/ my iFlash. Could someone plz patch 3.0 to work on an iFlashed Video 30GB? Thanks!

  23. 23 On September 29th, 2008, Tarkan said:

    Hi,

    Have you had Rockbox working before? and if so was it a patched version or off the shelf version? and what card are you running.

    I will try and download the latest source and compile a patched version (assuming nothing else has been broken)…..

  24. 24 On September 29th, 2008, RockBox said:

    Hi, thanks for the quick reply. This is the first time I’ve tried rockbox with iFlash. Here’s my card, http://www.newegg.com/Product/Product.aspx?Item=N82E16820211259

    Also, I wanted to thank you for developing this converter. It’s been running great with the stock firmware for some time. I use it on average of 6 hours a day.

  25. 25 On September 30th, 2008, Tarkan said:

    Hi people,

    I have updated the patched version to the latest Rockbox to fix issues with the slower CF cards.

  26. 26 On October 1st, 2008, suicidal_orange said:

    Hi Tarkan

    Great timing on the release of the patched 3.0 – same day my 32gb Transcend 133x card arrived! I have just got round to installing both and while the default OS is fine, the rockbox bootloader errors with

    ipod bootloader v2.0
    ipod version 0xFFFFFFFF
    ATA: -80
    No partition found

    And asks me to reboot into disk mode to repair. Is this an iflash problem, to do with your rockbox build or is the bootloader just too old for rockbox v3? Back to the hard drive with v2 for me for now, but hopefully someone will know where the problem lies

    Thanks

  27. 27 On October 2nd, 2008, RockBox said:

    Tarkan,
    Thanks for 3.0 update, works great. You rock :]

  28. 28 On October 4th, 2008, 5.5g ipod new battery+hd - Head-Fi: Covering Headphones, Earphones and Portable Audio said:

    [...] 4gb until I remounted it to add music, then it broke. That was using the 60gb patched version from iflash (the site I got the CF adaptor from). I still have the older version if you want to try it, but the [...]

  29. 29 On October 5th, 2008, Jared said:

    Hey Tarkan,

    I’ve got a strange issue here with the new build. Whenever I’m try to play any files, I’m getting “codec failure.” Also, it’s worth noting, the official build from rockbox.org now boots on my iFlash’d 30GB video, though it also has the “codec failure” problem.

    Any thoughts?

    Jared

  30. 30 On October 6th, 2008, Tarkan said:

    Hi Jared,

    Not seen the codec failure issue, what version number you running? , interesting that you did not need to patch – the version I have posted above does not run on my 32gb Adata hence the patch…

    I’ll have a look over the svn…..

  31. 31 On October 9th, 2008, ganck said:

    Hi suicidal_orange,

    I had the same problem as you, until I tried the bootloader, found at

    http://www.rockbox.org/tracker/task/9369

    Try it and see if it works for you.

  32. 32 On October 11th, 2008, suicidal_orange said:

    Thanks ganck – it works! I’ve just installed it, so will need to check for reboot problems but at least it booted first time and much quicker than from a hard drive.

    I also noticed that I’m using todays official build not the one linked above and all good so far – no codec issues, but all my files are flac’s so not tested many.

  33. 33 On January 10th, 2009, Jared said:

    Hey Tarkan,

    I just discovered a proposed patch in Rockbox’s Flyspray bug/patch tracker that fixes the rockbox issues with the iPod Video and CF cards. Apparently, Rockbox is reseting the IDE device but not waiting long enough before querying it for a status. I just tested the patch on the latest SVN and it works fine for me. Someone commenting on the patch said they’re going to push it to SVN soon. You can find it here:

    http://www.rockbox.org/tracker/task/9749

    BTW, I discovered my previous problem with the “codec failure” was related to the fact that I renamed my previous rockbox install from .rockbox to .rockbox.old. Apparently, having both a “.rockbox” and a “.rockbox.old” folder in the root of the drive with two different builds of rockbox really confuses it. It appears it was booting up with the /.rockbox.old/rockbox.ipod image, but it was trying to use the codecs from the newer version of Rockbox installed in “/.rockbox”. I’m using iPodLinux’s Loader2 bootloader, and I strongly suspect that it is to blame.

    Jared

  34. 34 On January 13th, 2009, Tarkan said:

    Hi Jared,

    Long time no hear!!

    Thanks for the heads up – so all it was a simple change to the reset line. So no more un-official patching…..:)

  35. 35 On July 13th, 2009, 5.5G CFmod problem... - Head-Fi: Covering Headphones, Earphones and Portable Audio said:

    [...] [...]

  36. 36 On September 30th, 2010, Van said:

    I’ve been looking through your archives about this, and have a few questions, as the entries look a little dated…

    1. Are there any compatibility issues with your adapter and newer flash cards? Are there any brands/models I should steer clear of when shopping for a flash drive for the iPod? I’m looking at either a 32 or 64 gb card.

    2. Are there any current issues using flash memory and RockBox? I’m planning on using the newest build of RockBox once I mod, so any info on this would be appreciated.

    Thanks so much for your time!

  37. 37 On September 30th, 2010, Tarkan said:

    Rockbox does not care about the storage device, so it should work ok.

    The compatibility list is updated when new cards have been reported as working ok.

    http://www.tarkan.info/20080506/blog/iflash-compact-flash-compatibility-help-needed

  38. 38 On September 5th, 2013, WenJun said:

    Hey Tarkan,

    May I know if Rockbox is support if I use SD Card?

  39. 39 On September 5th, 2013, Tarkan said:

    Yes Rockbox will work ok on SD card – there is a problem with the Rockbox USB Handler, so you have to boot in to diskmode when you want to transfer music over.

Leave a Reply

Your email address will not be published. Required fields are marked *


− 2 = 5

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spread the Word
slashdot
delicious
digg
technorati
reddit
magnolia
stumbleupon
yahoo
google
  • Ads