TI中文支持网
TI专业的中文技术问题搜集分享网站

DM8148 PCIE问题

你好:

       在我们的设计中用到贵公司的DM8148和C6678。C6678通过pcie与DM8148连接通信(dm8148 RC,C6678 EP)。

       但是在DM8148启动内核时,pcie的初始化出现了错误(资源分配不对),下面是内核打印:

   ti81xx_pcie: Invoking PCI BIOS…

ti81xx_pcie: Setting up Host Controller...
ti81xx_pcie: Register base mapped @0xc6820000
ti81xx_pcie: INTx enabled legacy IRQ48
ti81xx_pcie: MSI info enabled msi_irq=49 msi_irq_num=32
ti81xx_pcie: Starting PCI scan...
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers disabled
pci 0000:00:00.0: BAR 9: assigned [mem 0x20000000-0x28ffffff pref]
pci 0000:00:00.0: BAR 8: assigned [mem 0x29000000-0x290fffff]
pci 0000:00:00.0: PCI bridge to [bus 01-01]
pci 0000:00:00.0:bridge window [io disabled]
pci 0000:00:00.0:bridge window [mem 0x29000000-0x290fffff]
pci 0000:00:00.0:bridge window [mem 0x20000000-0x28ffffff pref]
PCI: enabling device 0000:00:00.0 (0140 -> 0143)
Finding the device....
Found TI device
TI device: vendor=0x0000104c, dev=0x0000b005, drv=0x00000000, irq=0x0030, bus=0xc2c7c200
Reading the BAR areas....
BAR0 start:0x0
BAR0 len:0x1000
BAR0 flag:0x40200
BAR1 start:0x10000000
BAR1 len:0x1000000
BAR1 flag:0x42208
BAR2 start:0x10000000
BAR2 len:0x2000000
BAR2 flag:0x42208
BAR3 start:0x12000000
BAR3 len:0x2000000
BAR3 flag:0x42208
Enabling the device....
pci 0000:01:00.0: Refused to change power state, currently in D3
PCI: Device 0000:01:00.0 not available because of resource collisions
Access PCIE application register ....
enson Steven:

你好,你们这个问题怎么解决的?我在内核中一打开pci支持,内核就启动不来了,卡在

registered ti81xx_vpss deviceregistered ti81xx_vidout deviceregistered ti81xx on-chip HDMI deviceregistered ti81xx_fb deviceregistered ti81xx_vin deviceti81xx_pcie: Invoking PCI BIOS…ti81xx_pcie: Setting up Host Controller…ti81xx_pcie: Register base mapped @0xc8820000

我觉得是这句话的问题

reg_virt = (u32)ioremap_nocache(reg_phys, SZ_16K);

这之后只要读写reg_virt的语句都有错,不知道为啥

赞(0)
未经允许不得转载:TI中文支持网 » DM8148 PCIE问题
分享到: 更多 (0)