Rockbox Development > New Ports

Cowon D2

<< < (129/194) > >>

3amsleep:

--- Quote from: shotofadds on July 24, 2009, 01:23:28 PM ---Is it possible you're using an SD-enabled bootloader but a version of rockbox.zip that doesn't support SD?

The most recent builds (since r21999) do not have the SD driver enabled, for safety reasons.

--- End quote ---

yeah I heard about that so I tried an older version.

Sorry my mistake, I thought it was an older version. Yep it works fine with an older version, thanks =).

hpfmn:
Hey it works really nice for me :) I really appreciate your work!

I'm just a bit afraid because I don't want to loose my card even it is just maybe something about 20€...

I hope you guys will find out what is wrong - if I can help in any way just tell me. keep up the good work

shotofadds:
I've posted an SD-enabled build over in the Official Testing Builds forum. Please use that thread to report back any successes/failures using SD cards in Rockbox.

I've made a couple of changes which should hopefully help: we now power off the player using the same mechanism as the Cowon firmware, and there was also a problem where the power management chip could cut the power while Rockbox was still shutting down - and this could potentially have been while writing files to the SD card.

grantmasterflash:
Wanted to see if anyone has heard of this problem, has any ideas on what could be causing it, or knows what I could enable to debug it:

(I'm using shotofadds' official testing build with the SD driver, but this is unrelated to SD driver.  None of the files I'm referring to are on the SD card and I've noticed this problem with all Rockbox builds I've tried over the past few months).

I listen to mostly flac on my 16GB D2.  Every now and then I will be playing a track that suddenly abends due to some unknown error and the playback jumps immediately to the next track in the playlist.  I can recreate the problem over and over again at the same time point in whatever track exhibits the problem.  Rebooting Rockbox has no effect - the problematic track will stop playback at the same point and jump to the next even after many restarts. 

If I boot into the standard D2 firmware, the track will play without a problem (no skips).

I've found that I can fix the playback problem in Rockbox by deleting the problematic flac file from the D2 and then simply copying the file back from my PC to the D2 (so no change whatsoever to the file).

This happens with files that have metadata and that have no metadata (vorbis tags), so seems unrelated to that.

The problem has happened with many different files - for example, one album track with Vorbis tags that I ripped from CD, one live bootleg track with no Vorbis tags that I downloaded from a live performance torrent site, etc.  The other day a file encountered the error at about 3:40 into the track, another at 2:30, etc.  I find no common factor uniting the tracks that exhibit the problem, except that they have all been copied from my Ubuntu box onto the D2.

I don't listen to many mp3 files or other formats, so I can't say whether it is specific to flac or not, although I have not noticed the problem occurring with any format other than flac so far.

The fact that I can fix it by deleting the file from the D2 and copying it anew from my PC makes me wonder if it has to do with some fragmentation of the D2's internal memory that Rockbox doesn't like...  I don't know - I'm shooting in the dark.

shotofadds:

--- Quote from: grantmasterflash on July 30, 2009, 05:26:29 PM ---The fact that I can fix it by deleting the file from the D2 and copying it anew from my PC makes me wonder if it has to do with some fragmentation of the D2's internal memory that Rockbox doesn't like...  I don't know - I'm shooting in the dark.

--- End quote ---
Do these files play reliably if you play them from the SD card?

If so, the problem is most likely due to incorrect file data being read from the internal flash. There are almost certainly bugs left in our implementation of the NAND FTL (flash translation layer), and since FLACs tend to be rather large files they are likely to show this kind of problem more often than other formats.

Edit to add: Now we have semi-reliable SD access it should be much easier to debug NAND issues, however it's unlikely I'll find the time to look into this for a while.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version