iMX6 PCie inbound traffic not working
Hello
I tried to use a Intel 82574 based miniPCIe NIC on a Freescale iMX6 eval board as shown below. It seems that the NIC is unable to read and/or write the descriptors in system memory. The settings of the PCIe core registers seems to be OK (according to the iMX6 RM).
Any idea what i am missing?
U-Boot 2014.04-00078-gadcdeac-dirty (Apr 24 2014 - 15:40:02)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: WDOG Board: MX6-SabreSD DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
00:01.0 - 16c3:abcd - Bridge device
01:00.0 - 8086:10d3 - Network controller
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
Net: e1000: 00:03:1d:0c:57:86
e1000#0Warning: e1000#0 using MAC address from net device
Dave
Quoted 6 lines
From: u-boot-bounces at lists.denx.de [mailto:u-boot-bounces at lists.denx.de] On Behalf Of "David M?ller (ELSOFT AG)"
Sent: Thursday, April 24, 2014 07:59
To: u-boot at lists.denx.de
Subject: [U-Boot] iMX6 PCie inbound traffic not working
Quoted 6 lines
I tried to use a Intel 82574 based miniPCIe NIC on a Freescale iMX6 eval board as shown below. It seems that the NIC is unable to read and/or write the descriptors in system memory. The settings of the PCIe core registers seems to be OK (according to the iMX6 RM).
Any idea what i am missing?
Can you get a dump of config space for the 82574? What are its BARs?
Krunal (mobile)
Quoted 1 line · Krunal Desai
Can you get a dump of config space for the 82574? What are its BARs?
=> pci display 1.0.0 0 40
00000000: 10d38086 00100006 02000000 00000010 00000010: 01100000 00000000 01010001 01120000 00000020: 00000000 00000000 00000000 00008086 00000030: 00000000 000000c8 00000000 00000100 00000040: 00000000 00000000 00000000 00000000 00000050: 00000000 00000000 00000000 00000000 00000060: 00000000 00000000 00000000 00000000 00000070: 00000000 00000000 00000000 00000000 00000080: 00000000 00000000 00000000 00000000 00000090: 00000000 00000000 00000000 00000000 000000a0: 00000011 00000003 00002003 00000000 000000b0: 00000000 00000000 00000000 00000000 000000c0: 00000000 00000000 c822d001 0f002000 000000d0: 0080e005 00000000 00000000 00000000 000000e0: 0001a010 00008cc1 00112810 04031c11 000000f0: 10110000 00000000 00000000 00000000
Dave