Network boot from PCIE in U-Boot (PCIe device not recognized)

Hi,

I try to boot from a network card in the PCIe slot but somehow U-Boot does not recognize it.

U-Boot 2016.07-g0ce7ca2 (Jul 20 2017 - 00:37:03 -0700)

TEGRA210
Model: NVIDIA P2371-2180
Board: NVIDIA P2371-2180
DRAM: 4 GiB
MC: Tegra SD/MMC: 0, Tegra SD/MMC: 1
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
Tegra210 (P2371-2180) #

From the debug output it looks like it can’t see the PCI regions at all.

From other users in this forum I can see that U-Boot seems to detect the PCI regions and print them as debug info:

tegra-pcie: PCI regions:
tegra-pcie: I/O: 0x0000000012000000-0x0000000012010000
tegra-pcie: non-prefetchable memory: 0x0000000013000000-0x0000000020000000
tegra-pcie: prefetchable memory: 0x0000000020000000-0x0000000040000000
tegra-pcie: 4x1, 1x1 configuration
tegra-pcie: probing port 0, using 4 lanes
tegra-pcie: link 0 down, retrying
tegra-pcie: link 0 down, retrying
tegra-pcie: link 0 down, retrying
tegra-pcie: link 0 down, ignoring
tegra-pcie: probing port 1, using 1 lanes
tegra-pcie: link 1 down, retrying
tegra-pcie: link 1 down, retrying
tegra-pcie: link 1 down, retrying
tegra-pcie: link 1 down, ignoring

Any idea how I to make it work ?!

Thanks,
Peter

Looks like an issue. I am looking into it.

Sorry for inconvenience.

Have you tried the command “pci enum” ?

Please try with

Net:   No ethernet found.
Hit any key to stop autoboot:  0
Tegra210 (P2371-2180) # pci enum
Tegra210 (P2371-2180) # pci 0
Scanning PCI devices on bus 0
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
00.01.00   0x10de     0x0fae     Bridge device           0x04
Tegra210 (P2371-2180) # pci 1
Scanning PCI devices on bus 1
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
01.00.00   0x8086     0x10b9     Network controller      0x00