We are building custom OS for apalis-imx6 in Scarthgap kernel. I need PCI based ethernet, where i am failing to up eth1 interface using WGI210At. Does i need to apply any patch or enabling IGB in kernel is sufficient.
I have enabled IGB in kernel, but that alone doesn’t solved my problem.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
PCI Ethernet Configuration for Apalis iMX6
Based on the Apalis iMX6 specifications, the module includes PCIe support with a single-lane PCI Express interface complying with PCIe 2.0 specification(1). The interface supports a 5Gb/s data rate and is backward compatible with PCIe 1.1 (2.5Gb/s) (1).
Hardware Considerations
The Apalis iMX6 provides the necessary PCIe interface signals for external devices (1):
For PCI-based Ethernet support, you’ll need to ensure the following kernel configurations are enabled beyond just IGB:
CONFIG_PCI=y
CONFIG_PCI_MSI=y
CONFIG_PCI_IMX6=y
Additional Debugging Steps
Verify PCIe Detection: Check if your WGI210At card is being detected on the PCIe bus:
lspci
Check Kernel Logs: Look for PCIe and IGB-related messages:
dmesg | grep -i pcie
dmesg | grep -i igb
Interface Status: Verify the eth1 interface status:
ip link show eth1
PCIe Layout Requirements
The documentation emphasizes that PCIe is a high-speed interface that needs special layout requirements to be followed(1). Ensure your carrier board design follows the Apalis Carrier Board Design Guide for proper PCIe signal routing.
If the IGB driver is loaded but the interface won’t come up, the issue might be related to:
PCIe signal integrity on your carrier board
Power supply requirements for the WGI210At card
Device tree configuration for the PCIe controller
Best regards, Toradex AI Assistant.
Did you like my answer?
If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.