PCIe Device Not Recognized

Hi folks, here is an odd problem with PCIe on the Rubik Pi. I have an AI acclerator (DeepX DX-M1) that I would like to test on the Rubik Pi, but it is not being recognized by the kernel / OS. I am running Ubuntu 24.04 on my Rubik Pi, plugged in my accelerator to the m.2 slot, and boot up. Here is the result of lspci:

ubuntu@ubuntu:~$ lspci
0000:00:00.0 PCI bridge: Qualcomm Technologies, Inc SM8250 PCIe Root Complex [Snapdragon 865/870 5G]
0000:01:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)
0001:00:00.0 PCI bridge: Qualcomm Technologies, Inc SM8250 PCIe Root Complex [Snapdragon 865/870 5G]
ubuntu@ubuntu:~$ uname -a
Linux ubuntu 6.8.0-1055-qcom #55 SMP PREEMPT_DYNAMIC Tue Oct 28 12:31:56 MST 2025 aarch64 aarch64 aarch64 GNU/Linux

However, if I place the accelerator in another device, and run lspci on that board, I can see that it is recognized properly:

liveuser@localhost-live:~$ sudo lspci
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0000:01:00.0 Processing accelerators: DEEPX Co., Ltd. DX_M1 (rev 01)
0002:20:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0004:41:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

Obviously, the RK3588 device uses a different kernel, but I am simply showing this to demonstrate that the DeepX accelerator does work, and other devices recognize it, so perhaps there is some additional kernel or PCIe configuration needed on the Rubik Pi?

Anyone have some ideas? Thanks!

Could you kindly share the pinout definition and any additional documentation for the DeepX DX-M1?

Thank you @kinkin … they don’t seem to offer much technical documentation that I can find, or a pinout for the board.

Here is the website for the DX-M1: DX-M1 - DEEPX: Pioneering Innovation in Edge AI Semiconductors

And some more information here: https://deepx.ai/wp-content/uploads/2025/09/17172223/2025-0917-DEEPX-DX-M1-M.2-LPDDR5x2-AI-Accelerator-E-Brochure.pdf

We only tested NVME SSD to connected to M.2 slot.
For other devices, it might need device tree modification for kernel.
Since it’s open source project, you can try on your own.
Please refer to our doc about kernel git repo and procedure to build.
Thank you!

Thanks @rosh - yes, I know how to build a kernel, do you have any ideas or hints of what might need to enabled?

Thanks!

Above is the commit that we enabled the M.2 slot and works for NVME SSD.
You might need additional changes on top of it.

Thanks, I’ll compare that to Rockchip and other platforms that work with the device.

Kindly flash the dtb.bin and then try again.
File:dtb.bin
Link:查看分享
Password:ewqf
Expiry Date:2025-11-07 18:25:01

Additionally, did you purchase the model shown in the photo from the link below? If not, kindly share the purchase link you used.

Yes, that is the correct device @kinkin. I purchased it here: https://www.digikey.com/en/products/detail/deepx/DX-M1BNM5604/26858313

Today I will try to use the new dtb.bin that you prepared and let you know the results, thanks for creating it!

That worked! Thank you @kinkin ! :partying_face:

ubuntu@192.168.0.73's password: 
Welcome to Ubuntu 24.04.3 LTS (GNU/Linux 6.8.0-1054-qcom aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of Sat Nov  1 17:37:03 UTC 2025

  System load:  0.06               Temperature:            48.0 C
  Usage of /:   2.5% of 111.98GB   Processes:              316
  Memory usage: 5%                 Users logged in:        0
  Swap usage:   0%                 IPv4 address for wlan0: 192.168.0.73


The list of available updates is more than a week old.
To check for new updates run: sudo apt update

ubuntu@ubuntu:~$ uname -a
Linux ubuntu 6.8.0-1054-qcom #54oem5-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 11 16:39:35 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@ubuntu:~$ lspci
0000:00:00.0 PCI bridge: Qualcomm Technologies, Inc SM8250 PCIe Root Complex [Snapdragon 865/870 5G]
0000:01:00.0 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03)
0001:00:00.0 PCI bridge: Qualcomm Technologies, Inc SM8250 PCIe Root Complex [Snapdragon 865/870 5G]
0001:01:00.0 Processing accelerators: DEEPX Co., Ltd. DX_M1 (rev 01)
ubuntu@ubuntu:~$ 

Glad to hear it! :smiling_face_with_three_hearts: Thank you for sharing.
We will subsequently modify it and merge it into the official Ubuntu codebase.

1 Like