Hi
I installed a nvme SSD to my rockpro64 (with a generic PCIe adapter card). Somehow it only uses a x1 link instead of x4. I also observed the same behaviour with a x2 SATA card (only x1 link established).
Output of lspci:
LnkSta: Speed 2.5GT/s (downgraded), Width x1 (downgraded)
To rule out hardware issues, I also tried the same setup with Manjaro-ARM which correctly negotiates a x4 link.
LnkSta: Speed 2.5GT/s (downgraded), Width x4
dmesg for Armbian
[ 2.221206] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[ 2.221296] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[ 2.221334] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[ 2.222953] rockchip-pcie f8000000.pcie: supply vpcie1v8 not found, using dummy regulator
[ 2.223187] rockchip-pcie f8000000.pcie: supply vpcie0v9 not found, using dummy regulator
[ 2.286376] rockchip-pcie f8000000.pcie: wait 1000 ms (from device tree) before bus scan
[ 3.298661] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[ 3.309542] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 3.310052] pcieport 0000:00:00.0: PME: Signaling with IRQ 58
[ 3.310984] pcieport 0000:00:00.0: AER: enabled with IRQ 58
virtually identical for Manjaro-ARM
[ 1.114557] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[ 1.114626] rockchip-pcie f8000000.pcie: MEM 0x00fa000000..0x00fbdfffff -> 0x00fa000000
[ 1.114655] rockchip-pcie f8000000.pcie: IO 0x00fbe00000..0x00fbefffff -> 0x00fbe00000
[ 1.115937] rockchip-pcie f8000000.pcie: supply vpcie1v8 not found, using dummy regulator
[ 1.116100] rockchip-pcie f8000000.pcie: supply vpcie0v9 not found, using dummy regulator
[ 1.176874] rockchip-pcie f8000000.pcie: wait 1000 ms (from device tree) before bus scan
[ 2.234398] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[ 2.274272] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 2.274780] pcieport 0000:00:00.0: PME: Signaling with IRQ 58
[ 2.275722] pcieport 0000:00:00.0: AER: enabled with IRQ 58
I also compared the device trees for Armbian and Manjaro. There are no differences as well.
Has anyone a hint for me what I could try to get the x4 link established?