Open insekt opened 3 years ago
@insekt - IO BAR space is not a thing on ARM platforms, so that's expected.
It looks like the Pi's otherwise identifying the card correctly. Have you tried installing Intel's network drivers or recompiling the kernel with them in place? I had to do that to get the i340 working when I was testing it. The Pi's own kernel usually doesn't have any extra drivers loaded in.
IO BAR space is not a thing on ARM platforms, so that's expected.
Hmm, after reading this (https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/3):
PCIe interface seems happy with the default BAR space:
and this (https://gist.github.com/geerlingguy/9d78ea34cab8e18d71ee5954417429df):
The default BAR address space available on the CM4 may be too small to allow some devices to initialize correctly. To avoid 'failed to assign memory' errors on boot
I made a suggestion that it is necessary to BAR allocating works properly. Because of that I didn't try to go further. Am I made the wrong conclusion?
@insekt - Yes; IO bar space doesn't exist at all on ARM, so when you see:
[ 1.172996] pci 0000:01:00.0: BAR 2: no space for [io size 0x0020]
[ 1.173011] pci 0000:01:00.0: BAR 2: failed to assign [io size 0x0020]
[ 1.173026] pci 0000:01:00.1: BAR 2: no space for [io size 0x0020]
[ 1.173040] pci 0000:01:00.1: BAR 2: failed to assign [io size 0x0020]
That shouldn't be an issue unless the specific card you're using is an older variety that requires IO space. None of the network cards I've tested before have had an issue without IO space.
Can a RPI4 (not CM4) PXE boot with a PCIe ethernet card (not the onboard one)?
Nevermind, found this in the Raspberry Pi documentation:
On the Raspberry Pi 4 network booting is implemented in the second stage bootloader in the EEPROM. Network booting works only for the wired adapter built into the above models of Raspberry Pi. Booting over wireless LAN is not supported, nor is booting from any other wired network device.
So apparently PXE boot works only for the onboard ethernet. Wonder if there's any way to make it work tho.
Hi @geerlingguy . I'm trying to run Intel PRO/1000 NIC with RPi CM4. I stuck with the problem of allocating BAR space.
My main question for now. Is it possible to run this card on RPi CM4 with 2 GB of RAM?
Some output: