AGX Orin PCIE configuration failed
Hello nv team:
We designed a carrier board for Orin.We used three PCIE interfaces, but one of them defaults to a USB3.0 interface and the other defaults to a 10 Gigabit Ethernet port. We need to modify the underlying driver to change them to PCIE interfaces. We did a series of work but still failed.as shown in the following figure,We need to configure the two interfaces marked in red as PCIE interface.
![image](/uploads/20240229/669254e24d469d1b84b7b81dfa7e2653.jpeg)
We did the following work specifically.
1.Find the p3701.conf.common file in /nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra. In line 165 of the file find ODMDATA= “gbe-uphy-config-22,hsstp-lane-map-3,nvhs-uphy-config-0, hiso-uphy-config-0,gbe0-enable-10g”. Modify it to: ODMDATA= “gbe-uphy-config-0,hsstp-lane-map-3,nvhs-uphy-config-0, hiso-uphy-config-16”;
2.Modify the pinmux file. Here is the pinmux file before and after the change
before:tegra234-mb1-bct-pinmux-p3701-0000-a04(back).dtsi.txt (64.6 KB)
tegra234-mb1-bct-gpio-p3701-0000.dtsi (3.9 KB)
after:tegra234-mb1-bct-pinmux-p3701-0000-a04.dtsi.txt (64.6 KB)
tegra234-mb1-bct-gpio-p3701-0000-a04.dtsi.txt (3.8 KB)
After doing the above two works, Orin still cannot detect PCIE devices. May I ask if the above modification is wrong or there are other configuration items that need to be modified.thank you!