FS#10053 - Sansa AMS >2GB support

Attached to Project: Rockbox
Opened by Rafaël Carré (funman) - Tuesday, 24 March 2009, 17:49 GMT
Last edited by Thomas Martitz (kugel.) - Monday, 30 March 2009, 13:26 GMT
Task Type Patches
Category Drivers
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I don't know how to find the real capacity but we don't need it until we have USB driver.

Please test on Fuze/e200 etc and as well on 1GB / 2GB models to see if issuing cmd6 causes a problem (it shouldn't)

I also removed the panicf() and used unique error codes.
This task depends upon

Closed by  Thomas Martitz (kugel.)
Monday, 30 March 2009, 13:26 GMT
Reason for closing:  Accepted
Additional comments about closing:  Thanks a lot, mighty disassembling funman ;)
Comment by Andreas Langmann (cyclon1978) - Tuesday, 24 March 2009, 20:01 GMT
With e280 8GB:

disk_init failed!

at startup with clean formatted player.

Version without patch runs fine! (but cant access mem > 1 gb)

Comment by Michael Chicoine (mc2739) - Wednesday, 25 March 2009, 00:31 GMT
I get this with e260v2:

No partition
Insert USB cable
and fix it.
Comment by Jack Halpin (FlynDice) - Wednesday, 25 March 2009, 06:09 GMT
e280v2 Brand spankin new SVN with sd-banks.diff patch.

I get the NO partition.... etc from main.c where it tries to mount disks. Interestingly though when I then popped in the microsd card it could read that ok and complained that there was no .rockbox installed.
Seems it could mount the microsd but not the internal.
Comment by Rafaël Carré (funman) - Wednesday, 25 March 2009, 12:17 GMT
Fix a stupid typo .. sorry
Comment by Michael Chicoine (mc2739) - Wednesday, 25 March 2009, 16:28 GMT
Appears to be working now.
Comment by Rafaël Carré (funman) - Thursday, 26 March 2009, 13:07 GMT
when it's reported to work fine on some models (especially 1GB & 2GB!!) this should be committed
Comment by Andreas Langmann (cyclon1978) - Thursday, 26 March 2009, 13:10 GMT
e280v2 works fine!
Comment by Thomas Martitz (kugel.) - Thursday, 26 March 2009, 18:51 GMT
I can test a clip 2gb soon.
Comment by Eric Shattow (lucent) - Saturday, 28 March 2009, 08:13 GMT
Briefly tested on 8GB Fuze. I restored the factory 8GB FAT partition, updated firmware and bootloader to r20550 + above patch. Created a 4GB-(1) dummy file to take up some space. Loaded some FLAC music. The files play back okay. Appears to work okay here.
Comment by Dominik Wenger (Domonoky) - Saturday, 28 March 2009, 14:58 GMT
I shortly tested this patch on e200v2 (2Gb) and a m200v4 (0.5Gb).
Everything seems fine, so i think this could go in.
Comment by Rafaël Carré (funman) - Monday, 30 March 2009, 12:26 GMT
thanks, you have my approval to commit (and to receive the blames if something goes wrong :p)