VIM3 M2X PCIe not working - Failed to get pcie_bgp

Hi everyone,

I’m having trouble getting my M2X extension board to work with an NVMe SSD on my VIM3. Here is my full setup:

Hardware:

  • Khadas VIM3

  • Khadas M2X Extension Board

  • Sabrent Rocket SB-ROCKET-1TB (Phison E12 controller, NVMe PCIe 3.0 x4)

Software:

  • OS: Ubuntu 22.04.5 LTS (Jammy Jellyfish)

  • Kernel: 5.15.137 #1.7.3

  • Fenix version: 1.7.3-241129

  • Install type: EMMC

Symptoms:

  • The M2X board does not power on/get detected

  • lspci returns nothing

  • dmesg shows: amlogic-new-usb3-v2 ffe09080.usb3phy: Failed to get pcie_bgp

  • No /dev/nvme0 device present

What I have already tried:

    • Verified physical connections and M2X board installation

    • Confirmed overlays=m2x pcie in /boot/uEnv.txt

    • Modified the DTB at /boot/dtb/amlogic/kvim3.dtb setting status = "okay" on the pcie@fc000000 node

    • kbi tool is not available/installable on this firmware version

Is there any fix for the pcie_bgp clock error on kernel 5.15?

Thanks in advance!

Hi @Elfonte97

Please try to change to PCIe mode [1] and try again.

[1] - VIM3/3L USB3/PCIe Switch [Khadas Docs]

Regards,
Nick