AnsweredAssumed Answered

jailhouse on imx8mq

Question asked by dhty2015@outlook.com on Jul 25, 2019

im8mq-evk 支持jailhouse虚拟机,但是在实际测试中,gic测试和uio_ivshmem测试都很正常;测试linux时候,总是报:

Page pool usage after cell creation: mem 69/993, remap 336/131072
[ 1771.789645] Created Jailhouse cell "linux-inmate-demo"
[ 1781.825731] mmc0: Timeout waiting for hardware interrupt.
[ 1781.831192] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 1781.837636] mmc0: sdhci: Sys addr: 0x00000010 | Version: 0x00000002
[ 1781.844079] mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000000
[ 1781.850521] mmc0: sdhci: Argument: 0x00162bb8 | Trn mode: 0x0000003b
[ 1781.856963] mmc0: sdhci: Present: 0x01f88008 | Host ctl: 0x00000031
[ 1781.863405] mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
[ 1781.869846] mmc0: sdhci: Wake-up: 0x00000008 | Clock: 0x0000000f
[ 1781.876285] mmc0: sdhci: Timeout: 0x0000008f | Int stat: 0x00000003
[ 1781.882724] mmc0: sdhci: Int enab: 0x107f100b | Sig enab: 0x107f100b
[ 1781.889163] mmc0: sdhci: AC12 err: 0x00000000 | Slot int: 0x00008402
[ 1781.895602] mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x8000b407
[ 1781.902042] mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00ffffff
[ 1781.908481] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0xffffffff
[ 1781.914920] mmc0: sdhci: Resp[2]: 0x320f5903 | Resp[3]: 0x00000900
[ 1781.921358] mmc0: sdhci: Host ctl2: 0x00000088
[ 1781.925801] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x440da210
[ 1781.932239] mmc0: sdhci: ============================================

 

因为我的板子只有一个mmc,dts中标记为usdhc1,使用fsl-imx8mq-evk-root.dts的时候,打开了usdhc1,而在fsl-imx8mq-evk-inmate.dts上禁用了usdhc1(也就是删除了这个节点),上述打印依然会出现

请问,使用jailhouse 是否必须配备两个mmc设备(或者emmc+sdcard)?是否可以共用板载emmc?

希望有人能提供答案或建议~

Outcomes