AnsweredAssumed Answered

SD card in BF516 u-boot (failure)

Question asked by illishar on Mar 30, 2012
Latest reply on Apr 1, 2012 by Aaronwu

Hello there,

 

I've been testing a micro SD card in our custom BF516 ezbrd. It's a SU04G SDHC card. It seems to be working fine in Linux. But I can't make it work in u-boot.

 

Linux startup:

===================================================

...

mmc0: host does not support reading read-only switch. assuming write-enable.

mmc0: new SDHC card at address e624

mmcblk0: mmc0:e624 SU04G 3.69 GiB

mmcblk0: p1

...

===================================================

 

u-boot trials:

===================================================

> mmcinfo

tranfering data failed

sending CMD51 failed

sending CMD51 failed

sending CMD51 failed

Device: Blackfin SDH

Manufacturer ID: 3

OEM: 5344

Name: SU04G

Tran Speed: 25000000

Rd Block Len: 512

SD version 2.0

High Capacity: Yes

Capacity: 3.7 GiB

Bus Width: 1-bit

===================================================

> fatls mmc 0

MMC: block number 0x1 exceeds max(0x0)

** Can't read from device 0 **

 

 

** Unable to use mmc 0:1 for fatls **

===================================================

> fatinfo mmc

MMC Device 3 not found

 

 

** Invalid boot device **

 

 

> mmc list

Blackfin SDH: 0

bfin> fatinfo mmc

MMC Device 3 not found

 

 

** Invalid boot device **

===================================================

> mmc part

tranfering data failed

sending CMD51 failed

sending CMD51 failed

sending CMD51 failed

 

 

Partition Map for MMC device 0  --   Partition Type: DOS

 

 

Partition     Start Sector     Num Sectors     Type

MMC: block number 0x1 exceeds max(0x0)

** Can't read partition table on 0:0 **

===================================================

> mmc dev 0

tranfering data failed

sending CMD51 failed

sending CMD51 failed

sending CMD51 failed

mmc0(part 0) is current device

===================================================

 

 

I've also attached my u-boot config.

Am I doing something wrong? Or is it just an unlucky choice of sd card?

Attachments

Outcomes