Rockbox Development > New Ports
SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
Bagder:
Isn't it time we added one or two v2 bootloaders to the build table now? I mean to make sure they keep building fine etc.
funman:
The "USB disk" offset (the number of blocks reserved for the OF in the SD) is hardcoded and needs to be calculated for e200 and fuze since they have too big firmwares (the value for Clip is 10MB, and is likely the same for m200 and c200).
You just need to print the number of sectors reported by the card and substract the number of sectors reported by the computer when you plug the model.
Moreover the code doesn't seem to work with a 8GB e200, it was only reported to work on 1GB Clip.
Maybe the SD card doesn't report as SDHC and we need to do "bank switching" (there is a vendor specific command used in the PP driver to do so)
That will need some code from the owner of a high capacity model.
The bootloader can be added to the build table, but since it doesn't work on all models maybe it can wait a bit ?
kugel.:
My Fuze's 4GB also have been detected as 1GB only.
Also, when trying to compile the build, I got a linker error. My rockbox.sansa didn't fit into DRAM. Then I replaced MEMORYSIZE with 8 in firmware/target/arm/as3525/app.lds and it compiled.
Is the memory size from configure not properly passed to app.lds?
Sadly, I get the disk_init failed message, so i can't test further.
Edit: My microSD is detected properly with 4GB.
funman:
--- Quote from: McFlow on November 09, 2008, 02:58:46 PM ---
--- Quote from: funman on November 09, 2008, 12:38:03 PM ---
Moreover the code doesn't seem to work with a 8GB e200, it was only reported to work on 1GB Clip.
Maybe the SD card doesn't report as SDHC and we need to do "bank switching" (there is a vendor specific command used in the PP driver to do so)
That will need some code from the owner of a high capacity model.
--- End quote ---
I have a Sansa e280 with 8GB.
I'm not sure if I can help here because my programing skills are rather low but maybe I can have a look, nevertheless...
--- End quote ---
If you have a look, read a bit the firmware/target/arm/ata-sd-pp.c file, I hope a similar technique is used (this file is used in sansa e200v1 and c200v1 at least).
It seems the SD is not reported as High Capacity, so I suppose the code switches between several 1GB banks.
RockRabbit:
--- Quote from: kugel. on November 08, 2008, 09:40:02 PM ---http://www.rockbox.org/twiki/bin/view/Main/DevelopmentGuide, http://www.rockbox.org/twiki/bin/view/Main/LinuxSimpleGuideToCompiling and http://www.rockbox.org/twiki/bin/view/Main/UsingSVN should help you.
--- End quote ---
Thanks. I had already used the SimpleGuideToCompiling to compile rockbox but it did not work. I added the path to perl mentioned in the DevGuide and also re-donwloaded the source, and now it works. Not sure which bit fixed it, assuming the perl link.
I have been able to retrieve and compile the mkamsboot, but without knowing what to modify or how to install it I cannot go any further. BEing completely new to the project it looks like I will need to spend loads of time going thru the code, which is probably beyond me. Unless someone can perhaps provide me with the exe and instructions how to install? If no one has the time to do that, I may not be able to go any further at present.
Phil T.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version