How to change the number of PCIe lanes(from Width x1 to Width x8)
Mar 04, 2024
I check PCIe version and lanes in my orin host with following commands:
lspci
# 0001:00:00.0 PCI bridge: NVIDIA Corporation Device 229e (rev a1)
# 0001:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
lspci -n | fgrep 0001:00:00.0
# 0001:00:00.0 0604: 10de:229e (rev a1)
lspci -n -d 10de:229e -vvv | fgrep width -i
# LnkCap: Port #0, Speed 16GT/s, Width x1, ASPM not supported
# LnkSta: Speed 2.5GT/s (downgraded), Width x1 (ok)
From the information displayed above, it is PCIe gen 4.0, *1.
gen4.0 is as expected, but how do I set x8 lanes ?