2009-12-10 00:23:33     a new problem of SD card

Document created by Aaronwu Employee on Aug 20, 2013
Version 1Show Document
  • View in full screen mode

2009-12-10 00:23:33     a new problem of SD card

zhang zhihua (CHINA)

Message: 83321   

 

Hi,我用的内核是2009R1,开发板是BF518F-EZBRD,busybox是1.13.4,已经严格按照  docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:bfin_sdh&s[]=sd&s[]=card的说明对内核做了如下配置:

<*> MMC/SD card support  --->

   --- MMC/SD card support

   [ ]   MMC debugging

   [ ]   Allow unsafe resume (DANGEROUS)

   ---   MMC/SD Card Drivers

   <*>   MMC block device driver

   ---   MMC/SD Host Controller Drivers

   <*>   Blackfin Secure Digital Host support

   [*]     Blackfin EZkit Missing SDH_CMD Pull Up Resistor Workaround

   [ ]     Enable sdio irq for sdio device

<*> Memory Technology Device (MTD) support  --->

    <*>   NAND Device Support  --->    

    --- NAND Device Support

    < >   Blackfin on-chip NAND Flash Controller driver

我编译下装后,在/proc/driver/目录下出现了sdh,但是在dev目录下没有sd或者mmc的相关设备,当运行echo 0 > /proc/driver/sdh 时提示mmc0: error -84 whilst initialising SD card,怎么办?

TranslateQuoteReplyEditDelete

 

 

2009-12-14 03:13:57     Re: a new problem of SD card

Yi Li (CHINA)

Message: 83466   

 

可以enable "[ ]MMC debugging ", 然后把kernel boot message贴上来看一下。

 

-Yi

Attachments

    Outcomes