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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
« previous next »
  • Print
Pages: 1 ... 50 51 [52] 53 54 ... 129

Author Topic: SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2  (Read 1336449 times)

Offline freqmod

  • Member
  • *
  • Posts: 4
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #765 on: April 09, 2009, 06:29:38 AM »
@funman: I am using sansa clip v1. (which also has corruption in the file buffering)
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #766 on: April 09, 2009, 09:49:25 AM »
Hey pals!

I know it's not Christmas but I have some presents for you:
Take this ata transfers fix and this stable mp3 decoding

Now if you can make your sansa crash please tell me how :)

Next steps:
  • USB (any volunteer?)
  • MMU / caching & buffering (in progress thanks to flyndice!)
  • Recording (I have some trouble with this, it seems to crash even with empty stubs in pcm-as3525.c
  • mpegplayer (lcd performance functions) : i'll try to do that for the fuze
  • Keymaps work, doc
Logged
a wise man said: "a wise man said"

Offline wpyh

  • Member
  • *
  • Posts: 10
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #767 on: April 09, 2009, 11:47:15 AM »
@funman: Ogg (Vorbis) and MP3 playback works fine on my 8GB Fuze now. I think you should specify that one has to clean up the build directory before trying out your patch :p
Logged

Offline Hillshum

  • Member
  • *
  • Posts: 108
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #768 on: April 09, 2009, 12:09:08 PM »
Isn't it good advice to do that anyway?
Logged

Offline sko

  • Member
  • *
  • Posts: 52
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #769 on: April 09, 2009, 12:40:57 PM »
Quote from: Hillshum on April 09, 2009, 12:09:08 PM
Isn't it good advice to do that anyway?
I think so, too.

btw (not very important now I think):
After I noticed that mp3 is working really good with funmans patch, I tried to play a movie (elephantsdream-q6-224x128-354kbps.mpg from the MPEGPlugin wiki-page): sound is working, but no picture, thats much better than before: there were just reboots if I tried to play it.
Logged
Sandisk Sansa e250v2 + 8GB Sandisk microSD Card
Ubuntu 9.10

Offline cyclon1978

  • Member
  • *
  • Posts: 8
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #770 on: April 09, 2009, 01:29:26 PM »
with both patches i have on e280v2 mp3 playback - great, ogg playback - great, video playback: sound without picture

Thanks!

Andreas
Logged

Offline freqmod

  • Member
  • *
  • Posts: 4
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #771 on: April 09, 2009, 01:42:36 PM »
@funman, well it does not crash, but my clipv1 stops playing when a track  if you shuffle a bit, and the let a track  play about a minutte after the lcd display has been turned of, then it displays (root), (root) and wont play anthing before playback is stopped (i.e. the square icon appears)  (when the disk alignment patch is applyed to rockbox SVN). This applies to mp3, but not to  speex (at least it takes much more time).

I did a full new full checkout from svn and made a new build directory to be shure it was no old remains from other patches.

edit: It does not seem like the oled/lcd has anything to do about it, it chashed when the lcd was active tool.
« Last Edit: April 09, 2009, 02:01:32 PM by freqmod »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8964
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #772 on: April 09, 2009, 02:39:29 PM »
funman:  I tested both patches and they work nicely.  I say commit as soon as possible.

Performance is still extremely poor for whatever reason.  MP3 takes ~ 145MHz.  I can shave 10MHz off that by putting everything in IRAM, but thats it.  Cache shouldn't hurt us all that badly when running out of IRAM, unless lack of the MMU imposes some other performance penalty (slowing down sequential IRAM access or similar).  Is it possible some driver is doing a lot of busy waiting?

Otherwise, the port seems quite functional. 
Logged

Offline funman

  • Developer
  • Member
  • *
  • Posts: 645
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #773 on: April 10, 2009, 01:49:33 PM »
@freqmod : I'll try using my clip more to see if I can reproduce (the IRAM patch didn't apply to Clipv1 and m200v4 at all by the way)

@sko/cyclon1978 : on the Fuze you need this patch for mpegplayer

@saratoga : I'll try to look in drivers if they do busy waiting and put some yield() here
Perhaps the slowness comes from the fact that we don't declare the SDRAM nor IRAM as cached (via the MMU) ?
Logged
a wise man said: "a wise man said"

Offline bertrik

  • Developer
  • Member
  • *
  • Posts: 171
    • Homepage Bertrik Sikken
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #774 on: April 10, 2009, 02:07:39 PM »
IIRC from the discussions on IRC, a lot of ARM targets currently use long calls which makes the code slower and bigger. I think one of the most important things we could do with the MMU is to map memory regions such that they are close enough to each other to use short calls, thereby shrinking the code and speeding it up (slightly).
Logged
Meizu M6SP, Samsung YP-S3, iPod nano 1g, Sansa c200, Sansa e200, Sansa Clip, Sansa Clip+, Sansa Clip Zip
 

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #775 on: April 10, 2009, 02:09:50 PM »
Quote from: bertrik on April 10, 2009, 02:07:39 PM
IIRC from the discussions on IRC, a lot of ARM targets currently use long calls which makes the code slower and bigger. I think one of the most important things we could do with the MMU is to map memory regions such that they are close enough to each other to use short calls, thereby shrinking the code and speeding it up (slightly).

Yep, indeed. BTW: The long-call border is 64MB. I.e., if a foo() calls bar() and bar is more than 64MB away. then a long call must be used.

If we can put everything within 64, e.g. by mapping the iram just after the dram, we can get rid of long calls.
Logged
 

Offline helios

  • Member
  • *
  • Posts: 2
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #776 on: April 10, 2009, 05:04:12 PM »
MPEG-3, Ogg Vorbis, and C64 SID files now work nicely with revision 20680 on Sansa e250v2! FLAC already worked with revision 20619 and version 3.2 of rockbox.
Logged

Offline FlynDice

  • Developer
  • Member
  • *
  • Posts: 166
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #777 on: April 11, 2009, 03:14:09 AM »
I'm spinning my wheels working on the mmu but plugging away. I can tell you a whole bunch of things that don't work and not one that does.  I think the mmu is actually functioning as several people have reported success mapping memory regions to different locations.  Whenever I try to enable caching however I get a mirror image lcd screen.  I have tried all kinds of combinations of invalidate_cpucache, clean_dcache, clean_dcache_range etc. to no avail.

In my flailing away at the problem I did come up with several questions though:

  • It appears we have leftover room in iram, is there a reason not to use it for the stack?
  • Do we really need the mmu functioning in the bootloader?  It seems to me it overcomplicates things.
  • And , of course now that Funman has mp3 and ogg playing so nicely for me(thanks a ton by the way) how do I stay motivated  :P
Logged
e280v2    fuzev1 2gb   clip+4gb   8GB Transcend cl6 uSD    access to fuzev2 4GB       clip+2gb R.I.P.

Offline sko

  • Member
  • *
  • Posts: 52
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #778 on: April 11, 2009, 04:19:47 AM »
Quote from: FlynDice on April 11, 2009, 03:14:09 AM
  • And , of course now that Funman has mp3 and ogg playing so nicely for me(thanks a ton by the way) how do I stay motivated  :P
Well, iiuc the performance would be much better with mmu, 145 MHz for playing mp3 is to much and decreases the runtime I think.

btw: what about FS#9985 (rtc fix) I think it's working good, maybe commit it?

I would also like to say that the work you guys do is really great, many thanks! I hope I will understand it someday :)

EDIT: I made a patch to make menus wrap on e200v2, maybe someone may have a look at it: FS#10127
« Last Edit: April 12, 2009, 05:02:30 AM by sko »
Logged
Sandisk Sansa e250v2 + 8GB Sandisk microSD Card
Ubuntu 9.10

Offline kugel.

  • Developer
  • Member
  • *
  • Posts: 271
Re: SanDisk Sansa e200 v2, c200 v2, m200 (v2), clip and Fuze
« Reply #779 on: April 12, 2009, 01:49:40 PM »
Quote from: FlynDice on April 11, 2009, 03:14:09 AM
I'm spinning my wheels working on the mmu but plugging away. I can tell you a whole bunch of things that don't work and not one that does.  I think the mmu is actually functioning as several people have reported success mapping memory regions to different locations.  Whenever I try to enable caching however I get a mirror image lcd screen.  I have tried all kinds of combinations of invalidate_cpucache, clean_dcache, clean_dcache_range etc. to no avail.

In my flailing away at the problem I did come up with several questions though:

  • It appears we have leftover room in iram, is there a reason not to use it for the stack?
  • Do we really need the mmu functioning in the bootloader?  It seems to me it overcomplicates things.
  • And , of course now that Funman has mp3 and ogg playing so nicely for me(thanks a ton by the way) how do I stay motivated  :P

Please keep up the good work! Have you found a combination which is not so utterly slow?
Logged
 

  • Print
Pages: 1 ... 50 51 [52] 53 54 ... 129
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  New Ports
| | |-+  SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
 

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

Page created in 0.522 seconds with 20 queries.