[U-Boot] [PATCH v2a] AT91: add SD/MMC support

Reinhard Meyer u-boot at emk-elektronik.de
Sat Aug 14 11:43:17 CEST 2010


Dear Schleifer, Alexander,

> If you have two days patience, wait for the new driver, I will be
> most happy to have a tester ;)

TOP9000> mmci
mci: setting clock 194000 Hz, block size 512
mci: setting clock 24832000 Hz, block size 512
mci: setting clock 194000 Hz, block size 512
mci: setting clock 194000 Hz, block size 512
mci: setting clock 24832000 Hz, block size 512
Device: mci
Manufacturer ID: 3
OEM: 5344
Name: SD32G
Tran Speed: 25000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes <<<<< SDHC
Capacity: 31914983424 <<<< 32 GB !!!
Bus Width: 4-bit
TOP9000> mmc read mci 21000000 3b70000 100

MMC read: dev # 0, block # 62324736, count 256 ... mci: setting clock 194000 Hz,
 block size 512
mci: setting clock 24832000 Hz, block size 512
mci: setting clock 194000 Hz, block size 512
mci: setting clock 194000 Hz, block size 512
mci: setting clock 24832000 Hz, block size 512
256 blocks read: OK
TOP9000> mmc read mci 0 3b70000 100

MMC read: dev # 0, block # 62324736, count 256 ... mci: setting clock 194000 Hz,
 block size 512
mci: setting clock 24832000 Hz, block size 512
mci: setting clock 194000 Hz, block size 512
mci: setting clock 194000 Hz, block size 512
mci: setting clock 24832000 Hz, block size 512
256 blocks read: OK 

fatls, however fails, probably cannot handle 32 Gigs :)
(fatls works with a SDHC card with 4 Gigs)

Once my other question pertaining to *.h files is answered,
I can supply the driver as a patch.

Reinhard



More information about the U-Boot mailing list