Inforce Computing Forums

inforce computing forums to discuss about inforce products

SD Card Does Not Work With Linux 1.0

Questions and discussions related to Inforce 6601™ development kit

by kim760407 » Wed Jun 20, 2018 12:18 pm

Hi. I updated my 6601 development board from Inforce Linux 0.5 to 1.0 and now SD Card does not seem to work. I see these messages in my debug console window when I insert an sd card:
mmc0: Timeout waiting for hardware interrupt.
[ 45.024659] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 45.029017] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00004902
[ 45.035440] mmc0: sdhci: Blk size: 0x00004008 | Blk cnt: 0x00000000
[ 45.041863] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 45.048286] mmc0: sdhci: Present: 0x03f80206 | Host ctl: 0x00000019
[ 45.054707] mmc0: sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 45.061132] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 45.067556] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000
[ 45.073979] mmc0: sdhci: Int enab: 0x02ff900b | Sig enab: 0x02ff100b
[ 45.080403] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 45.086826] mmc0: sdhci: Caps: 0x322dc8b2 | Caps_1: 0x00008007
[ 45.093249] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00000000
[ 45.099674] mmc0: sdhci: Resp[0]: 0x00000920 | Resp[1]: 0x5b590000
[ 45.106098] mmc0: sdhci: Resp[2]: 0xe8cf7f80 | Resp[3]: 0x0a4000ec
[ 45.112519] mmc0: sdhci: Host ctl2: 0x00000008
[ 45.118942] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ff05a200
[ 45.123282] mmc0: sdhci: ============================================
[ 45.232070] mmc0: Reset 0x4 never completed.
[ 45.232084] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 45.235388] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00004902
[ 45.241726] mmc0: sdhci: Blk size: 0x00004008 | Blk cnt: 0x00000000
[ 45.248149] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 45.254572] mmc0: sdhci: Present: 0x03f80206 | Host ctl: 0x00000019
[ 45.260997] mmc0: sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 45.267420] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 45.273842] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000
[ 45.280268] mmc0: sdhci: Int enab: 0x02ff900b | Sig enab: 0x02ff100b
[ 45.286691] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 45.293114] mmc0: sdhci: Caps: 0x322dc8b2 | Caps_1: 0x00008007
[ 45.299537] mmc0: sdhci: Cmd: 0x0000333a | Max curr: 0x00000000
[ 45.305960] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 45.312384] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 45.318807] mmc0: sdhci: Host ctl2: 0x00000008
[ 45.325230] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ff05a200
[ 45.329571] mmc0: sdhci: ============================================
[ 45.336824] mmc0: error -110 whilst initialising SD card
[ 45.443792] mmc0: Reset 0x4 never completed.
[ 45.443839] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 45.447145] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00004902
[ 45.453480] mmc0: sdhci: Blk size: 0x00004008 | Blk cnt: 0x00000000
[ 45.459903] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 45.466327] mmc0: sdhci: Present: 0x03f80206 | Host ctl: 0x00000019
[ 45.472749] mmc0: sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 45.479173] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 45.485595] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000
[ 45.492021] mmc0: sdhci: Int enab: 0x02ff900b | Sig enab: 0x02ff100b
[ 45.498442] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 45.504868] mmc0: sdhci: Caps: 0x322dc8b2 | Caps_1: 0x00008007
[ 45.511291] mmc0: sdhci: Cmd: 0x00000102 | Max curr: 0x00000000
[ 45.517714] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 45.524137] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 45.530561] mmc0: sdhci: Host ctl2: 0x00000008
[ 45.536984] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ff05a200
[ 45.541323] mmc0: sdhci: ============================================
[ 45.648801] mmc0: Reset 0x1 never completed.
[ 45.648841] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 45.652216] mmc0: sdhci: Sys addr: 0x00000000 | Version: 0x00004902
[ 45.658548] mmc0: sdhci: Blk size: 0x00004008 | Blk cnt: 0x00000000
[ 45.664989] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 45.671401] mmc0: sdhci: Present: 0x03f80206 | Host ctl: 0x00000018
[ 45.677844] mmc0: sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 45.684250] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 45.690669] mmc0: sdhci: Timeout: 0x0000000a | Int stat: 0x00000000
[ 45.697087] mmc0: sdhci: Int enab: 0x02ff900b | Sig enab: 0x00000000
[ 45.703522] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 45.709934] mmc0: sdhci: Caps: 0x322dc8b2 | Caps_1: 0x00008007
[ 45.716370] mmc0: sdhci: Cmd: 0x00000102 | Max curr: 0x00000000
[ 45.722780] mmc0: sdhci: Resp[0]: 0x00000000 | Resp[1]: 0x00000000
[ 45.729211] mmc0: sdhci: Resp[2]: 0x00000000 | Resp[3]: 0x00000000
[ 45.735634] mmc0: sdhci: Host ctl2: 0x00000008
[ 45.742065] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ff05a200
[ 45.746397] mmc0: sdhci: ============================================

Could you provide a patch for SD card to work in v1.0?

Thanks,
Kim
kim760407
 
Posts: 16
Joined: Thu Jan 04, 2018 7:51 am

Return to INFORCE 6601™ DEVELOPMENT KIT

cron

Contact Us.