I’m using the latest Ubuntu image released on the 6th with a Rock Pi N10 model B (6GB). So far things seem fine, but I’ve not been able to get an NVME (Samsung EVO 970 512GB) to be recognized. I also tried the Debian image and had the same issue.
After some digging I discovered that PCIE/NVME support is missing in the u-boot image. The rk3399pro-rockpi-n10-linux_defconfig file is missing (at least):
CONFIG_NVME=y
CONFIG_PCI=y
CONFIG_DM_PCI=y
CONFIG_PCIE_ROCKCHIP=y
CONFIG_SPL_PCI_SUPPORT=y
CONFIG_SPL_GPIO_SUPPORT=y
Adding those and building a new debian image does cause the logs to display some PCIE scan related failures:
rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
rockchip-pcie: probe of f8000000.pcie failed with error -110
I had seen another rockchip board which had NVMe issues, and the fix for them was to add a delay following rockchip_pcie_cfg_atu and prior to scan. I did that in pcie_rockchip.c, but that didn’t help either.
Questions:
- Do I have all of the config options set properly to enable NVMe support for the N10?
- How can I build a new Ubuntu 18.04 image - the instructions for Debian are great, but I don’t know how to do the same for Ubuntu.
- Anything else I can try? I’m able to jump into the code to make changes and troubleshoot, but need some guidance.