ORIN NX 8GB flashing failed when I set ODMDATA="gbe-uphy-config-9,hsstp-lane-map-3,hsio-uphy-config-0"

Device:ORIN NX 8GB
JetPack:5.1.3

I purchased an Orin NX core board, and on the hardware I designed myself, I need to set PCIe C9 enable and display as HDMI.
First, I installed Jetpack 5.1.3 using SDKManager tool, and then tried flashing again using the command. The command is as follows:

sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1   -c tools/kernel_flash/flash_l4t_external.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml"   --showlogs --network usb0 jetson-orin-nano-devkit internal

After successfully flashing the command, I modified the ODMDATA of the p3767.conf.common file as follows:

ODMDATA="gbe-uphy-config-9,hsstp-lane-map-3,hsio-uphy-config-0";

and modified Linux_for_Tegra/source/public/hardware/nvidia/platform/t23x/p3768/kernel-dts/cvb/egra234-p3768-0000-a0-pcie.dtsi as follows:

pcie@141e0000 {
		/*
		 * C7 - M2 Key M, default config, other config possible as
		 * below:
		 * C7 x2 - default
		 * C7 x1 or C9 x1
		 */
		status = "okay";
		phys = <&p2u_gbe_0>, <&p2u_gbe_1>;
		phy-names = "p2u-0", "p2u-1";
	};

	pcie@140a0000 {/* C8 - Ethernet */
		status = "okay";

		nvidia,pex-wake-gpios = <&tegra_main_gpio TEGRA234_MAIN_GPIO(L, 2) GPIO_ACTIVE_LOW>;
	};

	pcie@140c0000 {/* C9x1*/
		status = "okay";
		phys = <&p2u_gbe_1>;
        	phy-names = "p2u-0";
	};

The command failed to burn again, but after modifying ODMDATA back to its original configuration, it can be flashed normally. Refer to the ORIN NX documentation and set PCIe C9 enable to modify ODMDATA. The same modification on Orin Nano is not a problem. Why does Orin NX have a burning problem?

The device tree looks wrong.

Your C7 still shares the same UPHY with C9.

1 Like

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