lp1982sdu 发表于 2021-9-26 09:40:49

mmc报错

有没有人碰到过,板子运行过程当中报mmc2的内核错误?

djh 发表于 2021-9-26 13:35:53

用的是出厂镜像吗?有具体的报错信息吗?

lp1982sdu 发表于 2021-9-26 14:58:29

mmc2: Timeout waiting for hardware interrupt.
mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
mmc2: sdhci: Sys addr:0x55464a00 | Version:0x00000002
mmc2: sdhci: Blk size:0x00000200 | Blk cnt:0x00000001
mmc2: sdhci: Argument:0x00004104 | Trn mode: 0x00000003
mmc2: sdhci: Present:   0x01f8810f | Host ctl: 0x00000011
mmc2: sdhci: Power:   0x00000002 | Blk gap:0x00000080
mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x000020ff
mmc2: sdhci: Timeout:   0x0000008f | Int stat: 0x00018000
mmc2: sdhci: Int enab:0x107f100b | Sig enab: 0x107f100b
mmc2: sdhci: AC12 err:0x00000000 | Slot int: 0x00000502
mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b407
mmc2: sdhci: Cmd:       0x0000183a | Max curr: 0x00ffffff
mmc2: sdhci: Resp:   0x40ff8080 | Resp:0xffffffff
mmc2: sdhci: Resp:   0x328f5903 | Resp:0x00000900
mmc2: sdhci: Host ctl2: 0x00000000
mmc2: sdhci: ADMA Err:0x00000000 | ADMA Ptr: 0x5608f208
mmc2: sdhci: ============================================

lp1982sdu 发表于 2021-9-26 14:59:55

是出厂镜像,我在上面尝试跑应用就内核报错。

lp1982sdu 发表于 2021-9-26 15:00:57

# mmc2: Timeout waiting for hardware cmd interrupt.
mmc2: sdhci: ============ SDHCI REGISTER DUMP ===========
mmc2: sdhci: Sys addr:0x00000000 | Version:0x00000002
mmc2: sdhci: Blk size:0x00000200 | Blk cnt:0x00000000
mmc2: sdhci: Argument:0x00010000 | Trn mode: 0x00000023
mmc2: sdhci: Present:   0x01f88008 | Host ctl: 0x00000031
mmc2: sdhci: Power:   0x00000002 | Blk gap:0x00000080
mmc2: sdhci: Wake-up:   0x00000008 | Clock:    0x0000001f
mmc2: sdhci: Timeout:   0x0000008f | Int stat: 0x00000001
mmc2: sdhci: Int enab:0x107f100b | Sig enab: 0x107f100b
mmc2: sdhci: AC12 err:0x00000000 | Slot int: 0x00000502
mmc2: sdhci: Caps:      0x07eb0000 | Caps_1:   0x0000b407
mmc2: sdhci: Cmd:       0x00000d1a | Max curr: 0x00ffffff
mmc2: sdhci: Resp:   0x00000900 | Resp:0xffffffff
mmc2: sdhci: Resp:   0x328f5903 | Resp:0x00000900
mmc2: sdhci: Host ctl2: 0x00000088
mmc2: sdhci: ADMA Err:0x00000000 | ADMA Ptr: 0x00000000
mmc2: sdhci: ============================================
mmcblk2: error -110 sending status command, aborting

djh 发表于 2021-9-26 17:02:49

lp1982sdu 发表于 2021-9-26 15:00
# mmc2: Timeout waiting for hardware cmd interrupt.
mmc2: sdhci: ==== ...

您用的是8MM吗?
是每次跑应用程序都会报错吗?
应用程序做了哪些操作啊?

lp1982sdu 发表于 2021-9-27 17:42:32

是的。我尝试在上面跑了jailhouse,那个嵌入式的虚拟机静态分区工具。100%会报这个错。上面还有一点信息。
CPU2: shutdown                                 
psci: CPU2 killed.                           
CPU3: shutdown                                 
psci: CPU3 killed.
Adding virtual PCI device 00:00.0 to cell "linux-inmate-demo"
Detected VIPT I-cache on CPU2
GICv3: CPU2: found redistributor 2 region 0:0x00000000388c0000
CPU2: Booted secondary processor
Detected VIPT I-cache on CPU3
GICv3: CPU3: found redistributor 3 region 0:0x00000000388e0000
CPU3: Booted secondary processor

lp1982sdu 发表于 2021-9-27 17:46:05

jailhouse 大概会分配CPU MM 虚拟一些pci 设备,映射些中断,这些操作。

djh 发表于 2021-9-28 15:49:33

lp1982sdu 发表于 2021-9-27 17:42
是的。我尝试在上面跑了jailhouse,那个嵌入式的虚拟机静态分区工具。100%会报这个错。上面还有一点信息。
...

这个不清楚原因,您在网上找找看有其他人遇到过没。可以看看应用程序的实现逻辑
页: [1]
查看完整版本: mmc报错