Phy link never came up / pcie failed with error -110

  • Hi,


    based on the latest release (fsimx8mp-Y2024.07.tar.bz2) : I was building the firmware via yocto with the core-image-minimal option for the PicoCoreMX8MPr2 (see [0] and [1]).


    I was successfully able to start and run the firmware. But I am not able to successfully use the PCI bus of the SKIT (see [2]). I connected a PCI/SATA adapter which is working fine on the efusA9Xr2 module (one lane per PCI bus). But with the PicoCore I am not able to see the ID on the bus (see [3]). I also checked the DeviceTree to enable the PCI bus.


    What needs to be done/configured to successfully link the module PCI bus to external devices? Thanks.




    [0]:



    [1]:

    Code
    1. root@fsimx8mp:~# cat /etc/os-release
    2. ID=fus-imx-wayland
    3. NAME="NXP i.MX Release Distro"
    4. VERSION="5.15-kirkstone (kirkstone)"
    5. VERSION_ID=5.15-kirkstone
    6. PRETTY_NAME="NXP i.MX Release Distro 5.15-kirkstone (kirkstone)"
    7. DISTRO_CODENAME="kirkstone"



    [2]:


    [2]:

    Code
    1. root@fsimx8mp:~# lspci -v
    2. root@fsimx8mp:~#
  • Hi BrenkeM,


    what is you HW setup look like? Do you use our PicoCoreBBDSI as baseboard?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Correct,


    The PicoCoreBBDSI is what I mean by SKit (StarterKit) : see https://fs-net.de/de/embedded-…rkit-picocoremx8mp-linux/


    In my case its a PCoreBBDSSI REV1.40 (2021).


    This issue seems to be related but does not provide a solution: https://community.toradex.com/…ed-on-imx8mp-verdin/24332


    The same error here: Solved be a hardware fix (see https://community.nxp.com/t5/i…VDD-PCIE-DIG/td-p/1611728).

  • there must be 100nF capacitors in the TX line. These are missing on the PicoCoreBBDSI.



    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello gentleman,


    your hardware service had a hard time to insert two Cs into the lines mentioned. But is was achieved.


    Nevertheless, we get the same error. No change.


    Will the latest PicoCoreBBDSI board fix this issue and successfully rise the link up (which version do you recommend)?

  • Hello,


    there is definitely a difference. As seen in [0] the kernel 6.6.69-F+S is loaded and even with an empty PCI slot (no externel hardware) the bus came up (see [1]) and is showing the DWC_usb3/PCIe bridge from Synopsys, Inc. (see [2]).


    But no SATA adapter can be detected. We will now try to detect the development PCI board we need for your project.


    Will there be a update of your buildroot repo with this kernel (no matter if pre-release or release)?



    Best reagrds.



    [0]:

    Code
    1. Starting kernel ...
    2. Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    3. Linux version 6.6.69-F+S (oe-user@oe-host) (aarch64-fslc-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT Tue Apr 8 11:48:15 UTC 2025
    4. F&S Linux Version: 6.6.69-F+S-v6.6.69-fs0.6-pre-gec50a0e7655e
    5. KASLR disabled due to lack of seed
    6. Machine model: F&S PicoCoreMX8MPr2
    7. efi: UEFI not found.


    [1]:


    [2]:

    Code
    1. # lspci
    2. 00:00.0 Class 0604: 16c3:abcd
  • Hello,


    Worked with Kernel 5.15 and Kernel 6.6;

    • DELOCK 95265 Gigabit LAN Mini PCIe Card
    • DELOCK 95243 Delock Mini PCIe Karte > 4 x Seriell RS-232

    Worked only with Kernel 6.6:

    • DELOCK 95233 SATA Mini PCIe Card


    So it still does not work with any card for you?


    Your F&S Support Team

  • Thanks for the response and indeed:


    The asmedia AMS1061 chip is not even detected on the PCIe bus (see #9; but we currently only have the modified PCoreBBDSSI REV1.40 (2021) with the manually placed 100nF capacitors in the TX line).


    What step would you recommend next:

    1. Get the DELOCK 95265 Gigabit LAN Mini PCIe Card and test with the existing (but old) PCoreBBDSSI (REV1.40)?

    or

    2. Try to link the existing PCIe card (asmedia AMS1061) with the latest version of the PCoreBBDSSI?

  • I can confrim, that it does not work without the HW fix on the BBDSI. It does not get any link



    With the fix it loads it gets the connection and loads the driver


    Code
    1. root@fsimx8mp:~# lspci
    2. 00:00.0 PCI bridge: Synopsys, Inc. DWC_usb3 / PCIe bridge (rev 01)
    3. 01:00.0 SATA controller: ASMedia Technology Inc. ASM1061/ASM1062 Serial ATA Controller (rev 02)


    We added the capacities on the BBDSI on these lanes:



    Could you check your fix again?