Migration from Kirkstone to Scarthgap results in loss of PCIe/Wifi

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Joe,

Thank you for reaching out with your question about the PCIe issue after migrating from the Kirkstone to Scarthgap BSP on your Apalis iMX8 module. Let’s explore some potential solutions to address the problem with the HSIO control registers:

  1. Device Tree Configuration: Verify that your device tree file (imx8qm-apalis-v1.1-eval.dtb) is correctly set up for your hardware. Ensure it accurately reflects the PCIe configuration and any changes between the BSP versions.

  2. Kernel Configuration: Check that your kernel configuration includes all necessary options for PCIe support. Look for any differences in the kernel configuration between the Kirkstone and Scarthgap versions that might affect PCIe functionality.

  3. HSIO Control Registers: The error regarding missing HSIO control registers suggests a possible misconfiguration. Ensure that the HSIO settings are correctly defined in the device tree and that any required drivers are enabled in the kernel.

  4. BSP Changes: Review the release notes and documentation for the Scarthgap BSP to identify any changes that might impact PCIe functionality, such as driver support or device tree bindings.

  5. Log Analysis: Compare the boot logs from both the Kirkstone and Scarthgap builds to identify any differences in the PCIe subsystem initialization. This can provide insights into what might be missing or misconfigured.

  6. Custom Distro Considerations: Since you are using a custom distribution, ensure that any modifications do not inadvertently disable or misconfigure PCIe support.

By following these steps, you should be able to narrow down the cause of the PCIe issue and take corrective action. If the problem persists, further investigation into specific changes between the BSP versions may be necessary.

I hope this helps resolve your issue. Please feel free to reach out if you have any more questions.

Best regards,
Toradex AI Assistant.

Please, also check if these links can help you solve your problem:

Apalis IMX8 BSP 7 Kernel 6.6.23 - PCI MSI issues.