imx8mp jailhouse mmc2 print timeout

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mp jailhouse mmc2 print timeout

341 Views
jimmyhua
Contributor I

1.392352] Warning: unable to open an initial console.
[ 1.397384] Waiting for root device /dev/mmcblk2p2...
[ 11.606455] mmc2: Timeout waiting for hardware interrupt.
[ 11.608900] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 11.615066] mmc2: sdhci: Sys addr: 0xc4157200 | Version: 0x00000002
[ 11.621232] mmc2: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000001
[ 11.627399] mmc2: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 11.633566] mmc2: sdhci: Present: 0x01e88a8e | Host ctl: 0x00000011
[ 11.639732] mmc2: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
[ 11.645898] mmc2: sdhci: Wake-up: 0x00000008 | Clock: 0x000010ff
[ 11.652065] mmc2: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000
[ 11.658232] mmc2: sdhci: Int enab: 0x117f100b | Sig enab: 0x117f100b
[ 11.664399] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
[ 11.670566] mmc2: sdhci: Caps: 0x07eb0000 | Caps_1: 0x0000b400
[ 11.676732] mmc2: sdhci: Cmd: 0x0000083a | Max curr: 0x00ffffff
[ 11.682899] mmc2: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0xffffffff
[ 11.689065] mmc2: sdhci: Resp[2]: 0x329f5903 | Resp[3]: 0x00d0ffff
[ 11.695232] mmc2: sdhci: Host ctl2: 0x00000000
[ 11.699482] mmc2: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0xc483d200
[ 11.705649] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[ 11.712899] mmc2: sdhci-esdhc-imx: cmd debug status: 0x2100
[ 11.718315] mmc2: sdhci-esdhc-imx: data debug status: 0x22d0
[ 11.723815] mmc2: sdhci-esdhc-imx: trans debug status: 0x23c0
[ 11.729399] mmc2: sdhci-esdhc-imx: dma debug status: 0x2400
[ 11.734815] mmc2: sdhci-esdhc-imx: adma debug status: 0x2510
[ 11.740315] mmc2: sdhci-esdhc-imx: fifo debug status: 0x2610
[ 11.745815] mmc2: sdhci-esdhc-imx: async fifo debug status: 0x2733
[ 11.751815] mmc2: sdhci: ============================================
[ 11.758202] mmc2: error -110 whilst initialising MMC card
[ 22.102455] mmc2: Timeout waiting for hardware interrupt.
[ 22.104900] mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 22.111066] mmc2: sdhci: Sys addr: 0xc4157200 | Version: 0x00000002
[ 22.117232] mmc2: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000001
[ 22.123398] mmc2: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
[ 22.129565] mmc2: sdhci: Present: 0x01e88a8e | Host ctl: 0x00000011
[ 22.135732] mmc2: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
[ 22.141898] mmc2: sdhci: Wake-up: 0x00000008 | Clock: 0x000020af
[ 22.148065] mmc2: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000
[ 22.154232] mmc2: sdhci: Int enab: 0x117f100b | Sig enab: 0x117f100b
[ 22.160398] mmc2: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000502
[ 22.166565] mmc2: sdhci: Caps: 0x07eb0000 | Caps_1: 0x0000b400
[ 22.172732] mmc2: sdhci: Cmd: 0x0000083a | Max curr: 0x00ffffff
[ 22.178899] mmc2: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0xffffffff
[ 22.185065] mmc2: sdhci: Resp[2]: 0x329f5903 | Resp[3]: 0x00d0ffff
[ 22.191232] mmc2: sdhci: Host ctl2: 0x00000000
[ 22.195482] mmc2: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0xc483d200
[ 22.201649] mmc2: sdhci-esdhc-imx: ========= ESDHC IMX DEBUG STATUS DUMP =========
[ 22.208899] mmc2: sdhci-esdhc-imx: cmd debug status: 0x2100
[ 22.214315] mmc2: sdhci-esdhc-imx: data debug status: 0x22d0
[ 22.219815] mmc2: sdhci-esdhc-imx: trans debug status: 0x23c0
[ 22.225399] mmc2: sdhci-esdhc-imx: dma debug status: 0x2400
[ 22.230815] mmc2: sdhci-esdhc-imx: adma debug status: 0x2510
[ 22.236315] mmc2: sdhci-esdhc-imx: fifo debug status: 0x2610
[ 22.241815] mmc2: sdhci-esdhc-imx: async fifo debug status: 0x2733
[ 22.247815] mmc2: sdhci: ============================================
[ 22.254053] mmc2: error -110 whilst initialising MMC card

is mmc2 interrupt some error?

0 Kudos
Reply
2 Replies

253 Views
Peng_Fan
NXP Employee
NXP Employee

1.392352] Warning: unable to open an initial console.   ==> You last thread shows ttymxc3 is ok for your inmate, but here it gone?
[ 1.397384] Waiting for root device /dev/mmcblk2p2...   ==> please make sure the interrupt of sdhc controller you assigned to inmate is correct. Check the inmate cfg file. Also disable the sdhc in root cell device tree. 
[ 11.606455] mmc2: Timeout waiting for hardware interrupt.

So make sure mmc2 clock is set up by root cell(inmate does not has capability to touch clock controller, so need root cell to config it), and mmc2 interrupt and memory is correctly set up in inmate cell and inmate device tree.

Kernel & Virtualization Engineer
0 Kudos
Reply

314 Views
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @jimmyhua 

 

Are you using the EVK or custom board?

Could you please share more steps to try to reproduce it by my side?

 

Best regards,

--... ...--

Salas.

0 Kudos
Reply