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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Rockbox and Compact Flash
« previous next »
  • Print
Pages: 1 ... 7 8 [9] 10 11

Author Topic: Rockbox and Compact Flash  (Read 73045 times)

Offline viperX

  • Member
  • *
  • Posts: 10
Re: Rockbox and Compact Flash
« Reply #120 on: June 27, 2008, 06:12:40 AM »
For jeremania ; I've sent you the file by email.

For Llorean/Petur; please comment what to do next. It is my first "bug" with Rockbox. Should I log the bug in Flyspray?

Regards
Logged

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: Rockbox and Compact Flash
« Reply #121 on: June 27, 2008, 02:33:14 PM »
yes, put all you found out in a flyspray bugreport
Logged

Offline Rapide_23

  • Member
  • *
  • Posts: 40
Re: Rockbox and Compact Flash
« Reply #122 on: June 27, 2008, 07:45:21 PM »
Just wanted to say thanks Petur for the build! My H332 is now complete!
Logged
iRiver H332, Cowon D2 16GB

Offline 1ny0urfac3

  • Member
  • *
  • Posts: 13
Re: Rockbox and Compact Flash
« Reply #123 on: June 29, 2008, 04:29:34 PM »
So guys is this being worked on, i have no idea how to go about fixing this kind of thing but I'd be happy to test builds and if anyone has the last working build for a 5g ipod that they coulkd email to me that would be phenominal.  Thanks.
Logged
5th gen video
32 gig compact flash card
Ivue clear faceplate

Offline tarkan

  • Member
  • *
  • Posts: 7
    • Tarkan Akdam's BORED
Re: Rockbox and Compact Flash
« Reply #124 on: July 03, 2008, 05:27:28 PM »
Hi,

We have tracked down the call which is causing this issue with the 5g/5.5g iPods and certain CF cards.

It is not a permanent fix but it seems to work. I have posted the build on the following page :-

http://www.tarkan.info/20080702/tutorials/iflash-and-rockbox

Try it out and let me know how you find it.

regards, Tarkan
Logged
-------
Visit my website
www.tarkan.info

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Rockbox and Compact Flash
« Reply #125 on: July 03, 2008, 06:53:22 PM »
Could you link to the patch for convenience?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline 1ny0urfac3

  • Member
  • *
  • Posts: 13
Re: Rockbox and Compact Flash
« Reply #126 on: July 03, 2008, 11:44:58 PM »
Thanks so much tarkan!
Logged
5th gen video
32 gig compact flash card
Ivue clear faceplate

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: Rockbox and Compact Flash
« Reply #127 on: July 04, 2008, 03:23:42 AM »
Quote from: tarkan on July 03, 2008, 05:27:28 PM
We have tracked down the call which is causing this issue with the 5g/5.5g iPods and certain CF cards.

It is not a permanent fix but it seems to work. I have posted the build on the following page :-

http://www.tarkan.info/20080702/tutorials/iflash-and-rockbox

Try it out and let me know how you find it.

Can you please offer more details and a patch? Also note that we are strongly against the distribution of binary-only builds, you should always provide the source code when offering a custom build (as per GPL)
« Last Edit: July 04, 2008, 03:55:11 AM by petur »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Rockbox and Compact Flash
« Reply #128 on: July 04, 2008, 06:10:37 AM »
Not only are we strongly against it, but you cannot do it.  You would be violating the GPL (and therefore Rockbox's licence).  I don't mean this to sound aggressive, but I just wanted to point out providing the source is a requirement not a preference :)
« Last Edit: July 04, 2008, 06:20:26 AM by BigBambi »
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline tarkan

  • Member
  • *
  • Posts: 7
    • Tarkan Akdam's BORED
Re: Rockbox and Compact Flash
« Reply #129 on: July 04, 2008, 07:52:05 AM »
Petur,

I will post up a diff later on.

Details are as follows :-

iPod 5g or 5.5g with certain cards throws up a PANIC ATA -1 error, the current build works ok on CF cards like the Sandisk Extreme III 16Gb but gives the error when used on the A-Data Speedy 32Gb.

Other symptoms of the error are, at boot up it hangs for about 10seconds at the boot up/splash screen and the backlight at 50% brightness.

Removing the following line from the ipod_video confirguration and reset section, cures it but this just a clunky fix. The root cause needs to be determined.

firmware/target/arm/system-pp502x.c         
remove LINE 311               DEV_RS         = 0x3ffffef8;


regards, Tarkan
Logged
-------
Visit my website
www.tarkan.info

Offline viperX

  • Member
  • *
  • Posts: 10
Re: Rockbox and Compact Flash
« Reply #130 on: July 04, 2008, 01:18:19 PM »
Hi Tarkan;

Is it expected that this will fix the problem on 4G grayscale too?
I'm afraid the instructions need to be slightly different then, I'd be happy to test in 4G GS if you instruct me to do the right changes at the source.

Thx
Logged

Offline tarkan

  • Member
  • *
  • Posts: 7
    • Tarkan Akdam's BORED
Re: Rockbox and Compact Flash
« Reply #131 on: July 04, 2008, 05:19:02 PM »
Here is patch file for the changes I made http://www.tarkan.info/wp-content/uploads/2008/07/patch.txt

ViperX, sorry I don't know much about the 4g or the problems you are having. If you did not have the problems on builds before r16258 then it is possible the same lines of code causing the problems in the 5g could be causing them in the 4g.

Sorry ViperX, just realised you have the means to do your own build - It is worth trying it out, remove line 353 in the file /firmware/target/arm/system-pp502x.c

If that does not work try removing the whole block lines 344 - 356 inclusive.

regards, Tarkan
« Last Edit: July 04, 2008, 05:26:08 PM by tarkan »
Logged
-------
Visit my website
www.tarkan.info

Offline LurkAzusa

  • Member
  • *
  • Posts: 40
Re: Rockbox and Compact Flash
« Reply #132 on: July 04, 2008, 08:14:12 PM »
I have the same problem with the 4G.  I've spent the day trying to install Cygwin (can't find the setup.ini file at download.rockbox.org, probably because it is in the cygwin directory).  Then I installed VMWare and compiled the bootloader, but it still doesn't work.

How exactly can I patch that system file?  Can you please create a diff file for the 4G, or instruct me in the exact commands to edit the file directly?

I googled vi and learned how to edit system-pp502x.c to comment out the offending lines and created my first patch.  Thanks Tarkan for all your help in finding the problem and setting me on the right path with the file supplied.
« Last Edit: July 05, 2008, 08:21:14 PM by LurkAzusa »
Logged

Offline viperX

  • Member
  • *
  • Posts: 10
Re: Rockbox and Compact Flash
« Reply #133 on: July 06, 2008, 03:22:53 PM »
Bingo!

It works too for 4G in the latest build deleting just the line:

DEV_RS         = 0x3ffffef8;

I'm sorry I did not write the line number  :-[ but it is slightly below line 353 (that was true for 16259).

I guess you can produce an offical patch now...

Many thanks for fixing this
Logged

Offline 1ny0urfac3

  • Member
  • *
  • Posts: 13
Re: Rockbox and Compact Flash
« Reply #134 on: July 24, 2008, 12:00:23 AM »
so has this been fixed in the daily builds now?  I'm still using tarkans build
Logged
5th gen video
32 gig compact flash card
Ivue clear faceplate

  • Print
Pages: 1 ... 7 8 [9] 10 11
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Rockbox and Compact Flash
 

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

Page created in 0.168 seconds with 21 queries.