ROCK 3B: NVMe not detected with 6.1 kernel (rk2410), works with 5.10 — regression
Hi,
On two ROCK 3B boards (v1.51 and [rev]), an NVMe SSD in the M.2 M-key slot is never detected with the current Radxa Debian 12 image, but works with the older 5.10 image on the same hardware.
Hardware: Transcend TS128GMTE110S (2280, PCIe 3.0 x4), works in a PC. Radxa 25W PoE+ HAT.
Fails: Debian 12 image (RSDK build 2026-04-08), kernels 6.1.84-13-rk2410-nocsf and 6.1.84-17-rk2410-nocsf, U-Boot 2017.09-73:
rk-pcie 3c0800000.pcie: PCIe Link Fail, LTSSM is 0x3, hw_retries=1
rk-pcie 3c0800000.pcie: failed to initialize host
Works, same board, same SSD, same U-Boot (from eMMC), booting the b18 image (rock-3b_debian_bullseye_xfce_b18) from microSD with kernel 5.10.160-18-rk356x:
snps pcie3phy FW update! size 8192
rk-pcie 3c0800000.pcie: PCIe Link up, LTSSM is 0x230011
nvme nvme0: allocated 64 MiB host memory buffer.
The link comes up at 8.0 GT/s x2.
Device tree: I compared the full live device trees (dtc -I fs /proc/device-tree). The pcie@fe280000, phy@fe8c0000, pcie30x2m1-pins and PCIe regulators are identical, except:
-
vpcie3v3-supply:pcie30_3v3(GPIO0_D4) in 5.10,vcc3v3_sys2in 6.1; -
the config reg space, due to the driver version.
Tried on 6.1, all without effect:
-
overlay restoring
vpcie3v3-supply = <&pcie30_3v3>onpcie3x2; -
overlay setting PERST# (GPIO2_D6) to GPIO function as in the mainline dts;
-
max-link-speed = <2>withnum-lanes = <1>; -
cold boots;
-
USB-C power instead of PoE.
So it looks like a regression in the 6.1 PCIe or PCIe3 PHY driver for RK3568. Is this known? Is there a fix or a kernel version where NVMe works on ROCK 3B?
Thanks!