I've soldered a SD/MMC socket to Simpad and was trying to use guylhem's driver. Unfortunately, I'm having problems with 32MB MMC card that I have.
Sometimes I'm getting the following error messages:
mmc: GPIO init
mmc: initialising MMC
GPIO_SD_CS dir: 1 alt: 0
GPIO_SD_DI dir: 1 alt: 0
GPIO_SD_DO dir: 0 alt: 0
GPIO_SD_CS dir: 1 alt: 0
mmc: card init 1/2
mmc: card init 255 error
GPIO_SD_CS dir: 1 alt: 0
GPIO_SD_DI dir: 1 alt: 0
GPIO_SD_DO dir: 0 alt: 0
GPIO_SD_CS dir: 1 alt: 0
mmc: card init 1/2
mmc: card init 255 error
mmc: error 1 in mmc_card_init
mmc: error -1 in mmc_init
Sometimes it gets alittle bit further, but I still get errors:
mmc: GPIO init
mmc: initialising MMC
GPIO_SD_CS dir: 1 alt: 0
GPIO_SD_DI dir: 1 alt: 0
GPIO_SD_DO dir: 0 alt: 0
GPIO_SD_CS dir: 1 alt: 0
mmc: card init 1/2
mmc: card init 2/2
mmc: card init 3/3
Size = 31360, hardsectsize = 512, sectors = 62720
Partition check:
mmca:end_request: I/O error, dev 79:00 (mmc), sector 0
end_request: I/O error, dev 79:00 (mmc), sector 2
end_request: I/O error, dev 79:00 (mmc), sector 4
end_request: I/O error, dev 79:00 (mmc), sector 6
end_request: I/O error, dev 79:00 (mmc), sector 0
end_request: I/O error, dev 79:00 (mmc), sector 2
end_request: I/O error, dev 79:00 (mmc), sector 4
end_request: I/O error, dev 79:00 (mmc), sector 6
unable to read partition table
Either way, so far I was not able to do anything useful with this card on Simpad. The card has a single primary partition type 6 that is formated FAT16. It works fine in my cell phone, notebook and two different Zauruses.
It looks it's able to read card's physical parameters sometimes, so wiring must be correct. Any idea what could be wrong?
I'll try to find some old Sandisk 128MB SD card that I have somewhere and give it a try too.
-albertr