This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PCIe crash with Broadcom wireless card

Hello!

I'm in the process of trying to bring up a Broadcom BCM4360 wireless card on the ti8147 EVM.  The device enumerates properly and it looks like it can access the configuration space.  However it's consistently crashing during the probe in driver initialization, and in fact appears to crash whenever attempting to access anything in MBAR0 after offset 0x2880 (MBAR0 is 16KB in size).

Unhandled fault: Precise External Abort on non-linefetch (0x1008) at 0xd7113800
Internal error: : 1008 [#1]
last sysfs file: /sys/devices/pci0000:00/0000:00:00.0/0000:01:00.0/class
Modules linked in: wl(+)
CPU: 0    Not tainted  (2.6.37 #56)
PC is at sprom_read_pci+0x114/0x1f8 [wl]
LR is at sprom_read_pci+0x114/0x1f8 [wl]
pc : [<bf0105d0>]    lr : [<bf0105d0>]    psr: 60000013
sp : d58e1be0  ip : d58e0000  fp : 000000ea
r10: 00000000  r9 : 00000001  r8 : d5991c00
r7 : d5a10800  r6 : d7113800  r5 : 00000000  r4 : 00000000
r3 : d58e1bd4  r2 : d58e1bd4  r1 : bf47a83c  r0 : 00000013
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c5387d  Table: 959a8019  DAC: 00000015
Process insmod (pid: 1359, stack limit = 0xd58e02e8)
Stack: (0xd58e1be0 to 0xd58e2000)
1be0: 00000000 d7113800 ffffffff d5a10800 00000001 ffffffff d5a10814 d7110000
1c00: d5991c00 bf0116c4 d5991c00 000000ea 00000001 60000013 d58e1d70 d58e1d74

Same driver works fine on my x86 system.

Has anybody ever seen anything like this before?

Thanks in advance,

Devin

  • Hi Devin,

    I made a search but I can not find someone in the E2E forum to successfully verified the BCM4360 with DM814x EVM. I found that BCM5751 is tested:

    http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_PCI_Express_Root_Complex_Driver_User_Guide#Using_PCIe_Endpoint

    For some debug hints check:

    http://processors.wiki.ti.com/index.php/DM81xx_AM38xx_PCI_Express_Root_Complex_Driver_User_Guide#Troubleshooting

    The below threads might be also in help:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/150937.aspx

    http://e2e.ti.com/support/embedded/linux/f/354/t/143548.aspx

    Regards,
    Pavel