AnsweredAssumed Answered

BF518 SD Host driver issue

Question asked by thangaraj on Dec 20, 2011
Latest reply on Dec 23, 2011 by vivili

Hi ,


I am working in BF518 ezkit and 2010 kernel.


I tested the SD card with the help of below link


the kerenl message is given below


mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SD card at address 0001
mmcblk0: mmc0:0001 128MB 119 MiB



to scan the SD card i followed the below information in the above link


"The SDH driver doesn't support automatic card detection currently.  So card scanning must be triggered manually by doing: echo 0 > /proc/driver/sdh"


But i couldnt see the driver sdh under  the /proc/drivers folder.


if i try to mount the sd card by the below commands,the kernel hangs.


mount -t vfat /dev/mmcblk0 /mnt

i got the below error in the u-boot while running in the command mmcinfo


U-Boot 2010.06 (ADI-2010R1-RC2) (Dec 20 2011 - 11:17:53)


CPU:   ADSP bf518-0.0 (Detected Rev: 0.0) (parallel flash boot)
Board: ADI BF518F EZ-Board board
Clock: VCO: 400 MHz, Core: 400 MHz, System: 80 MHz
RAM:   64 MiB
Flash: 4 MiB
MMC:  Blackfin SDH: 0
In:    serial
Out:   serial
Err:   serial
KGDB:  [on serial] ready
Net:   bfin_mac
Hit any key to stop autoboot:  0
bfin> mmcinfo
sending CMD8 failed
tranfering data failed
sending CMD51 failed
sending CMD51 failed
sending CMD51 failed
Device: Blackfin SDH
Manufacturer ID: 18
OEM: 494e
Name: 128MB
Tran Speed: 25000000
Rd Block Len: 512
SD version 1.0
High Capacity: No
Capacity: 125698048
Bus Width: 1-bit


Please clarify if any mistakes in my test procedure and also suggest what could be reasons for the above issues.


Thank you,