PCIE C7 EP not work

hi ,
update ODMDATA =“gbe-uphy-config-0,hsstp-lane-map-3,hsio-uphy-config-16,nvhs-uphy-config-0”

The following is the PCIE device tree that I modified

pcie_ep@141e0000 {
        status = "okay";

        num-lanes = <8>;

        nvidia,max-speed = <0x3>;

        reset-gpios = <&tegra_main_gpio TEGRA234_MAIN_GPIO(AG, 1) GPIO_ACTIVE_LOW>;

        phys = <&p2u_gbe_0>, <&p2u_gbe_1>, <&p2u_gbe_2>,
               <&p2u_gbe_3>, <&p2u_gbe_4>, <&p2u_gbe_5>,
               <&p2u_gbe_6>, <&p2u_gbe_7>;
        phy-names = "p2u-0", "p2u-1", "p2u-2", "p2u-3", "p2u-4",
                    "p2u-5", "p2u-6", "p2u-7";

When an error occurs during system startup:
[ 6.357309] tegra194-pcie 141e0000.pcie_ep: Adding to iommu group 9
[ 6.370587] tegra194-pcie 141e0000.pcie_ep: Failed to get PERST GPIO: -517
[ 6.370591] tegra194-pcie 141e0000.pcie_ep: Failed to parse device tree: -517

Boot the root port system.
endpoint device:# [ 560.998311] tegra194-pcie 141e0000.pcie_ep: Failed to init UPHY for PCIe EP: -22

  • May I ask why the error ?

please refer to the Flashing PCIe as Endpoint on a Jetson AGX Orin Series System section in the developer guide.

yes,I referred to the document.

#. Set the nvhs-uphy-config of the ODMDATA value, for example: ODMDATA="**gbe-uphy-config-22,nvhs-uphy-config-0,hsio-uphy-config-0**,gbe0-enable-10g,hsstp-lane-map-3"; to ODMDATA="**gbe-uphy-config-22,nvhs-uphy-config-1,hsio-uphy-config-0**,gbe0-enable-10g,hsstp-lane-map-3";


To select Configuration #2 :

`` ODMDATA =”gbe-uphy-config-0,hsstp-lane-map-3,hsio-uphy-config-16,**nvhs-uphy-config-0”;**``

If use PCIE C7.
how to choose ODMDATA value?

hi WayneWWW,
Follow these steps:
2.sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1
The same error occurs:

[    7.596310] tegra194-pcie 141a0000.pcie_ep: Adding to iommu group 9
[    7.609594] tegra194-pcie 141a0000.pcie_ep: Failed to get PERST GPIO: -517
[    7.609599] tegra194-pcie 141a0000.pcie_ep: Failed to parse device tree: -517
[    7.609887] tegra194-pcie 141e0000.pcie_ep: Adding to iommu group 10
[    7.622543] tegra194-pcie 141e0000.pcie_ep: Failed to get PERST GPIO: -517
[    7.622547] tegra194-pcie 141e0000.pcie_ep: Failed to parse device tree: -517


Please set gbe-uphy-config-1 as the document shared.



1 Like

hi WayneWWW,
Glad to receive your reply.
I changed ODMDATA=“gbe-uphy-config-0,hsstp-lane-map-3,hsio-uphy-config-16,nvhs-uphy-config-0” to ODMDATA=“gbe-uphy-config-1,hsstp-lane-map-3,hsio-uphy-config-0,nvhs-uphy-config-0”.
sudo ./flash.sh jetson-agx-orin-devkit mmcblk0p1.
The above error log does not appear at present, but the root port does not recognize the PCIE.
In EP:

root@tegra-ubuntu:~# busybox devmem 0x141e00d0
root@tegra-ubuntu:~# busybox devmem 0x141e00cc

link down status?
May I ask what may be the cause?

Share your full dmesg please.

log (2).txt (66.5 KB)

Sorry for the late response, have you managed to get issue resolved or still need the support? Thanks

please check hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-pcie.dtsi and add corresponding setting as your hardware design to C7 ep node.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.