How to config UPHY2 as lane0~lan3 with PCIE x4 and lane4 with mgbe(C0)

How to config UPHY2 as lane0~lan3 with PCIE x4 and lan4 with mgbe(C0)

*** Please note that this reply is generated by LLM automatically ***

To configure UPHY2 as lane0-lane3 with PCIE x4 and lane4 with MGBE C0 on the Jetson AGX Orin series, you need to understand the UPHY lane configuration and the available configurations for PCIE and MGBE.

According to the provided documentation, the Jetson AGX Orin series has 11 PCIe controllers supported by the HSIO, NVHS, and MGBE UPHY bricks. The PCIe controllers cannot be enabled at the same time, and the supported PCIe configurations are listed in the documentation.

To configure UPHY2 as lane0-lane3 with PCIE x4, you need to select a PCIe controller that supports x4 link width. Based on the documentation, PCIe C4 and PCIe C5 support up to x4 link width. However, since you want to configure UPHY2 as lane0-lane3, you need to select a PCIe controller that can be configured to use lanes 0-3.

To configure lane4 with MGBE C0, you need to understand that the Jetson AGX Orin series can support up to one MGBE(XFI) and one RGMII at the same time. Since you want to configure lane4 with MGBE C0, you need to ensure that the MGBE controller is enabled and configured to use lane4.

To configure UPHY2 as lane0-lane3 with PCIE x4 and lane4 with MGBE C0, you can follow these steps:

  1. Select a PCIe controller that supports x4 link width and can be configured to use lanes 0-3. Based on the documentation, PCIe C4 is a suitable option.
  2. Configure the PCIe controller to use lanes 0-3. This can be done by setting the nvhs-uphy-config-1 property in the jetson-agx-orin-devkit.conf file.
  3. Enable the MGBE controller and configure it to use lane4. This can be done by setting the gbe-uphy-config-22 property in the jetson-agx-orin-devkit.conf file.
  4. Reflash the device using the flash.sh command.

Here is an example of how to configure UPHY2 as lane0-lane3 with PCIE x4 and lane4 with MGBE C0:

ODMDATA="gbe-uphy-config-22,nvhs-uphy-config-1,hsio-uphy-config-0,gbe0-enable-10g,hsstp-lane-map-3";

This configuration sets the MGBE controller to use lane4 and the PCIe controller to use lanes 0-3.

Note that the exact configuration may vary depending on the specific requirements of your system. It is recommended to consult the NVIDIA documentation and the Jetson AGX Orin series datasheet for more information on configuring the UPHY lanes and PCIe controllers.

Comparison with other configurations:

  • Configuring UPHY2 as lane0-lane3 with PCIE x4 and lane4 with RGMII: This configuration is not possible since the Jetson AGX Orin series can only support up to one MGBE(XFI) and one RGMII at the same time.
  • Configuring UPHY2 as lane0-lane3 with PCIE x4 and lane4 with PCIE x1: This configuration is not possible since the PCIe controllers cannot be enabled at the same time.
  • Configuring UPHY2 as lane0-lane3 with MGBE C0 and lane4 with PCIE x4: This configuration is not possible since the MGBE controller and PCIe controller cannot be enabled at the same time.

In summary, configuring UPHY2 as lane0-lane3 with PCIE x4 and lane4 with MGBE C0 requires careful consideration of the available PCIe controllers and MGBE configurations. The exact configuration may vary depending on the specific requirements of your system, and it is recommended to consult the NVIDIA documentation and the Jetson AGX Orin series datasheet for more information.

*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***

there is no support on this. Only the option listed on the design guide is supported.

补充信息

UPHY0:

lane0 : PCIE X1

lane1: USB

lane2 : USB

lane3: PCIE X1

lane4~lan7: PCIE X4

UPHY1:

lane0~lane7:PCIE X 8

UPHY2:

lane0~lan3 :PCIE X4

lane4 : MGBE(C0)

Yes, that is not supported.