Unable to boot Xavier NX in PCIe endpoint mode with Jetpack 5.0.2 in UEFI mode

TL;DR: Unable to boot Xavier NX in PCIe endpoint mode with Jetpack 5.0.2 in UEFI mode, getting errors. Reverting ODMDATA value to the original allows UEFI to start and work as expected.

Hello Support Team,

Please help me to find a way to use Xavier NX modules configured in PCIe End Point mode with Jetpack 5.0.2 and UEFI.

I changed the ODMDATA value from 0xB8190000 to 0xB8191000 in the file p3668.conf.common, and applied the command sudo ./flash.sh jetson-xavier-nx-devkit-qspi mmcblk0p1

After that the system won’t boot and report the following errors:

??ERROR:   MPIDR 0x80000000: exception reason=0 syndrome=0xbe000000

ERROR:   **************************************

ERROR:   RAS Error in L2, ERRSELR_EL1=0x200:

ERROR:          Status = 0xfc006612

ERROR:          IERR = SCF to L2 Slave Error Read: 0x66

ERROR:   SERR = Error response from slave: 0x12

ERROR:          Overflow (there may be more errors) - Uncorrectable

ERROR:          Uncorrectable (this is fatal)

ERROR:          MISC0 = 0x80000000400000

ERROR:          MISC1 = 0x20240000001

ERROR:          ADDR = 0x8000000003eb00c0

ERROR:   **************************************

ERROR:   **************************************

ERROR:   RAS Error in SCF_IOB, ERRSELR_EL1=0x401:

ERROR:          Status = 0xf4009604

ERROR:          IERR = CBB Interface Error: 0x96

ERROR:   SERR = Assertion failure: 0x4

ERROR:          Uncorrectable (this is fatal)

ERROR:          MISC0 = 0x40

ERROR:          MISC1 = 0x664a444461

ERROR:          ADDR = 0x8000000003eb00c0

ERROR:   **************************************

ERROR:   RAS error handled!

ERROR:   sdei_dispatch_event returned -1

ERROR:   MPIDR 0x80000000: exception reason=0 syndrome=0xbe000000

ERROR:   **************************************

When I revert ODMDATA to the original value, the UEFI would start and work as expected.

Is there anything in the UEFI / BSP configuration that needs to be changed to make EP mode work?

Thanks,

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

please check if you have similar patch as below for your corresponding controller.

	fragment-pcie-c5-ep-enable@2 {
		target-path = "/";
		board_config {
		    odm-data = "pcie-c5-endpoint-enable";
		};
		__overlay__ {
			pcie@141a0000 {
				status = "disabled";
			};
			pcie_ep@141a0000 {
				status = "okay";
			};
		};
	};

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

No, I am still waiting for a solution.

should I just add this section that you provided to the file
./sources/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-p3509-overlay.dts

or should I modify some existing section in this file?

Thanks

Actually we should confirm which pcie controller do you want to use as EP. If it is also C5, then you can add this part to your overlay dts.

I want to use the one with 4 pcie lanes.

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