Sdcard not detected on custom board

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Sdcard not detected on custom board

1,126 次查看
imravi
Contributor II

i have build my own custom board with only four data lines for sdcard. But the board is not able to detect sdcard. do i have to make any changes in the sdcard driver(mxs_mmc.c).

标签 (2)
标记 (4)
0 项奖励
3 回复数

885 次查看
imravi
Contributor II

if any one can tell that if we have to connect a sdcard host with only four data lines then do we have to change the driver of the host controlller / platform data for the board. if yes what are the changes to be made.

0 项奖励

885 次查看
ThomasG1z
Contributor III

No, that should not be necessary. Which kernel? Device tree based or 3.0? Regardless, do you have a SD card detect GPIO set up correctly and mapped to the right SD port? If not, or something is messed up you might also want to try to configure the port as a fixed/nonremovable device in boardconfig or devicetree to see if it works.

0 项奖励

885 次查看
imravi
Contributor II

I am working with linux kernel 2.6.31. The hardware is designed as per the imx28 schematics but the sdcard is a micro sdcard host instead of sdcard host in mx28.

These are the changes made to the BSP

our sdcard host is having four data lines only so i have removed SSP0_DATA4 - SSP0_DATA7 from the BSP of our custom board. I have also checked the SSP0_DETECT pin also it is connected properly only.

What i have understood after reading that when we connect a SD card , the SSP0_DETECT pin should go low. But this is not happening with our board.

0 项奖励