Rockbox Ports are now being developed for various digital audio players!
Quote from: grantmasterflash on July 30, 2009, 05:26:29 PMThe 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.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.
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.
grantmasterflash, I have encounted the same problem
It should be relatively straighforward to add ECC, but try as I might I couldn't get any errors to show up on my D2 at all, so it makes testing rather difficult!
It should be relatively straighforward to add ECC, but try as I might I couldn't get any errors to show up on my D2 at all, so it makes testing rather difficult! It's another one for the to-do list I'm afraid...
In my experience, I find one of these error-inducing files approx. every 10-12 tracks
Ah, it all becomes clear! Those are all single-bit errors, which is almost certainly because the NAND driver does not yet implemented any error correction (ECC). Nothing to do with the FTL, phew!It should be relatively straighforward to add ECC, but try as I might I couldn't get any errors to show up on my D2 at all, so it makes testing rather difficult! It's another one for the to-do list I'm afraid...
Yes, but there are reasons why I can't use that code. It needs implementing afresh from the datasheet.
Quote from: grantmasterflash on July 31, 2009, 05:00:57 PMIn my experience, I find one of these error-inducing files approx. every 10-12 tracksSo how about a "how to reproduce" If a bug is easy reproducible by someone that knows how to fix it, i'm pretty sure that it will be fixed. So if you really want to fix this thing ..why don't you give a hand ??
Aside this, I've made the following observation: when using a 16Mb (yes, megs!) or 256Mb SD cards with the same test build, Rockbox boots then shuts down and never comes back. The file system goes corrupted and I even had to reformat these SD cards.
Page created in 0.072 seconds with 21 queries.