VIM3 cannot see anything from M.2 PCIe socket

Which Khadas SBC do you use?

VIM3 Amlogic A311D

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu

Which version of system do you use? Khadas official images, self built images, or others?

Ubuntu 20.04

Please describe your issue below:

VIM3 cannot see anything from M.2 PCIe socket. I tried M.2 SSD but VIM3 cannot see it. I verified my M.2 SSD on another computer and it works.
Also I have an AI aceelerator chip and I loaded all drivers of it, then I put it on Khadas PCIe but it could not recognize it. I also verified my AI accelerator on another PC and it also work. What should I do?

Post a console log of your issue below:


**Delete this line and post your log here.**

Hi @egecancetin

You need to enable the PCIe by switching the port mode.

$ echo 1 > /sys/class/mcu/usb_pcie_switch_mode
$ sudo reboot

Regards.