我尝试将我的PCI设备连接到嵌入式Android。不幸的是,我不能使用命令“lspci”。在dmesg | grep pci
之后,我看到了:
pci 0001:00:00.0: [17cb:0104] type 01 class 0x060400
msm_pcie_oper_conf: Read of RC1 0:0x00 + 0x0014[4] is all FFs
pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
pci 0001:00:00.0: of_irq_parse_pci() failed with rc=-19
pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0001:01:00.0: [126f:0750] type 00 class 0x030000
pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x03ffffff pref]
pci 0001:01:00.0: reg 0x14: [mem 0x00000000-0x001fffff]
pci 0001:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
pci 0001:01:00.0: supports D1
pci 0001:01:00.0: PME# supported from D0 D1 D3hot
pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
msm_pcie_oper_conf: Read of RC1 0:0x00 + 0x0028[4] is all FFs
pci 0001:00:00.0: BAR 8: no space for [mem size 0x06000000]
pci 0001:00:00.0: BAR 8: failed to assign [mem size 0x06000000]
pci 0001:00:00.0: BAR 0: assigned [mem 0x0d300000-0x0d300fff 64bit]
pci 0001:01:00.0: BAR 0: no space for [mem size 0x04000000 pref]
pci 0001:01:00.0: BAR 0: failed to assign [mem size 0x04000000 pref]
pci 0001:01:00.0: BAR 1: no space for [mem size 0x00200000]
pci 0001:01:00.0: BAR 1: failed to assign [mem size 0x00200000]
pci 0001:01:00.0: BAR 6: no space for [mem size 0x00010000 pref]
pci 0001:01:00.0: BAR 6: failed to assign [mem size 0x00010000 pref]
pci 0001:00:00.0: PCI bridge to [bus 01]
当我尝试加载Android崩溃的内核模块(pci-device驱动程序)设备时。崩溃的原因是尝试读取指针(mem + some_offset)。 我该如何解决这个问题?
谢谢和问候