Rockbox Development > New Ports

SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2

<< < (160/386) > >>

mbr:

--- Quote from: sko on April 19, 2009, 04:15:43 PM ---Here is a patch by kugel and me which enables scrollwheel acceleration on e200v2: FS#10151. Maybe someone with an e200v2 can have a look at it.

--- End quote ---

The patch works on my e250v2

funman:
Hi.

I have played with FS#10048 and noticed something interesting:

When declaring IRAM as cached/bufferable, rockbox sometimes boot, sometimes crash.
When it boots I can decode/play (perfect sound) ~20s of audio before it crashes.

I had the time to use test_codec before rockbox crashes, and decoding speed was significantly higher! (required freq for MP3 : 36MHz)

So the slowness problem definitely comes from caching.

Since rockbox continues to crash / deadlock (even with caches disabled), we probably have remaining bugs in our drivers, which might be more visible when caches are enabled...

So, TODO : read carefully all the as3525 drivers and look for bugs ;)

saratoga:

--- Quote from: funman on April 20, 2009, 10:44:43 AM ---I had the time to use test_codec before rockbox crashes, and decoding speed was significantly higher! (required freq for MP3 : 36MHz)

--- End quote ---

Wow even faster per clock then PP or the Gigabeat F!


--- Quote from: funman on April 20, 2009, 10:44:43 AM ---When declaring IRAM as cached/bufferable, rockbox sometimes boot, sometimes crash.
When it boots I can decode/play (perfect sound) ~20s of audio before it crashes.

--- End quote ---

Do you flush the caches before/after DMA transfers to IRAM then? 

sko:
I updated FS#10151: it's compiling again (didn't work since r20757)

funman:

--- Quote from: saratoga on April 20, 2009, 02:04:16 PM ---Do you flush the caches before/after DMA transfers to IRAM then?
--- End quote ---

Only before transfers, did you look at FS#10048 ?

Other topic : I started looking at USB code, and indeed the registers look very similar to AMD 5536 UDC, but some are missing (from AS3525, or from AMD 5536).

A problem is that I don't see any FIFO mentioned in AMD 5536 or AS3525, I still have to read the Linux source code to see how data is transferred.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version