AnsweredAssumed Answered

SD CARD NOT WORKING in IMX6UL

Question asked by nagaprasad vasamsetti on Jul 30, 2018
Latest reply on Jul 30, 2018 by nagaprasad vasamsetti

Hi everyone,

      I have connected two SD cards i.e one is mmc card & another one is SD card, i am using mmc card as boot purpose, i need to use SD card to read/write purpose.i have connected SD card through SD card connector,but it is not detecting in /dev.

output of dmsg is as follows

mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00000002
mmc0: sdhci: Blk size:  0x00000000 | Blk cnt:  0x00000001
mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000000
mmc0: sdhci: Present:   0x01f88088 | Host ctl: 0x00000000
mmc0: sdhci: Power:     0x00000000 | Blk gap:  0x00000080
mmc0: sdhci: Wake-up:   0x00000008 | Clock:    0x0000800f
mmc0: sdhci: Timeout:   0x00000080 | Int stat: 0x00000000
mmc0: sdhci: Int enab:  0x007f1003 | Sig enab: 0x007f1003
mmc0: sdhci: AC12 err:  0x00000000 | Slot int: 0x00000302
mmc0: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b407
mmc0: sdhci: Cmd:       0x00000000 | Max curr: 0x00ffffff
mmc0: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0x00000000
mmc0: sdhci: Resp[2]:   0x00000000 | Resp[3]:  0x00000000
mmc0: sdhci: Host ctl2: 0x00000000
mmc0: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x00000000
mmc0: sdhci: ============================================
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
sdhci-esdhc-imx 2194000.usdhc: could not get ultra high speed state, work on normal mode

 

mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
mmc0: host does not support reading read-only switch, assuming write-enable
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SB16G 14.8 GiB
 mmcblk0: p1
failed to power up DHD generic adapter, 3 retry left
wifi_platform_bus_enumerate device present 0
mmc0: card aaaa removed
wifi_platform_bus_enumerate device present 1
mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
mmc0: host does not support reading read-only switch, assuming write-enable
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SB16G 14.8 GiB
 mmcblk0: p1
failed to power up DHD generic adapter, 2 retry left
wifi_platform_bus_enumerate device present 0
mmc0: card aaaa removed
wifi_platform_bus_enumerate device present 1
mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
mmc0: host does not support reading read-only switch, assuming write-enable
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SB16G 14.8 GiB
 mmcblk0: p1
failed to power up DHD generic adapter, 1 retry left
wifi_platform_bus_enumerate device present 0
mmc0: card aaaa removed
wifi_platform_bus_enumerate device present 1
mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
mmc0: host does not support reading read-only switch, assuming write-enable
mmc0: new high speed SDHC card at address aaaa
mmcblk0: mmc0:aaaa SB16G 14.8 GiB
 mmcblk0: p1

but it is not showing any node in /dev folder,how can i use it to read/write purpose

 

Thanks&Regards,

Prasad.

Outcomes