AGX Orin C7 Endpoint Problem

Hello,

Jetpack Version : 5.1.2

I am trying to enable the C7 controller as an endpoint. (C5 already set as an endpoint.)To achieve this, I modified the ODM data as follows in p3701.conf.common

ODMDATA=“gbe-uphy-config-1,hsstp-lane-map-3,nvhs-uphy-config-1,hsio-uphy-config-16”;

and also changed the lane ownership configuration.

I set the following configuration:

UPHYLANE_CONFIG=“tegra234-mb1-bct-uphylane-si-c7x8.dtsi”

The contents of tegra234-mb1-bct-uphylane-si-c7x8.dtsi are as follows:

/dts-v1/;

/ {
uphy-lane {
lane-owner-map = <2 0 1>, /* Lane 0 owner 1 - PCIe, x8 mode for GBE UPHY /
<2 1 1>, /
Lane 1 owner 1 - PCIe, x8 mode for GBE UPHY /
<2 2 1>, /
Lane 2 owner 1 - PCIe, x8 mode for GBE UPHY /
<2 3 1>, /
Lane 3 owner 1 - PCIe, x8 mode for GBE UPHY /
<2 4 1>, /
Lane 4 owner 1 - PCIe, x8 mode for GBE UPHY /
<2 5 1>, /
Lane 5 owner 1 - PCIe, x8 mode for GBE UPHY /
<2 6 1>, /
Lane 6 owner 1 - PCIe, x8 mode for GBE UPHY /
<2 7 1>; /
Lane 7 owner 1 - PCIe, x8 mode for GBE UPHY */
};
};

I also came across a related discussion on the NVIDIA Developer Forums:

Has anyone encountered a similar issue or successfully configured the C7 controller to operate in endpoint mode?

Any suggestions or guidance would be greatly appreciated.

��ERROR: Exception reason=0 syndrome=0xbe000011
ERROR: **************************************
ERROR: RAS Uncorrectable Error in IOB, base=0xe010000:
ERROR: Status = 0xec000612
ERROR: SERR = Error response from slave: 0x12
ERROR: IERR = CBB Interface Error: 0x6
ERROR: Overflow (there may be more errors) - Uncorrectable
ERROR: MISC0 = 0xc45e0040
ERROR: MISC1 = 0x22cc860000000000
ERROR: MISC2 = 0x0
ERROR: MISC3 = 0x0
ERROR: ADDR = 0x8000000003f200c0
ERROR: **************************************
ERROR: sdei_dispatch_event returned -1
Unhandled Exception in EL3.
x30 = 0x0000000050011384
x0 = 0x0000000000000000
x1 = 0x0000000000000000
x2 = 0x000000005000d1cc
x3 = 0x0000000000000047
x4 = 0x0000000000000000
x5 = 0x0000000000000043
x6 = 0x0000000000000001
x7 = 0x0000000000000000
x8 = 0x000000005000b7f8
x9 = 0x0000000000000000
x10 = 0x000000000001b330
x11 = 0x0000000e2d1fe73c
x12 = 0x0000000e2cd28000
x13 = 0x000000000001b330
x14 = 0x0000000e06381398
x15 = 0x0000000e2cd28000
x16 = 0x0000000e28dffcd4
x17 = 0x00000000edc889ed
x18 = 0x0000000000000000
x19 = 0x0000000003f200c4
x20 = 0x0000000e28da5da0
x21 = 0x0000000e28da73c0
x22 = 0x0000000000000001
x23 = 0x0000000000000023
x24 = 0x000000000000004b
x25 = 0x0000000e07190574
x26 = 0x0000000e07190589
x27 = 0x000000004c553250
x28 = 0x0000000e06381000
x29 = 0x0000000e2d1fe740
scr_el3 = 0x000000000003073d
sctlr_el3 = 0x00000000b0cd183f
cptr_el3 = 0x0000000000000000
tcr_el3 = 0x0000000080823518
daif = 0x00000000000003c0
mair_el3 = 0x00000000004404ff
spsr_el3 = 0x00000000600003cd
elr_el3 = 0x0000000050011384
ttbr0_el3 = 0x0000000050026ac1
esr_el3 = 0x0000000002000000
far_el3 = 0x0000000000000000
spsr_el1 = 0x0000000000000000
elr_el1 = 0x0000000000000000
spsr_abt = 0x0000000000000000
spsr_und = 0x0000000000000000
spsr_irq = 0x0000000000000000
spsr_fiq = 0x0000000000000000
sctlr_el1 = 0x0000000030d00800
actlr_el1 = 0x0000000000000000
cpacr_el1 = 0x0000000000300000
csselr_el1 = 0x0000000000000000
sp_el1 = 0x0000000000000000
esr_el1 = 0x0000000000000000
ttbr0_el1 = 0x0000000000000000
ttbr1_el1 = 0x0000000000000000
mair_el1 = 0x0000000000000000
amair_el1 = 0x0000000000000000
tcr_el1 = 0x0000000000000000
tpidr_el1 = 0x0000000000000000
tpidr_el0 = 0x0000000080000000
tpidrro_el0 = 0x0000000000000000
par_el1 = 0x0000000000000800
mpidr_el1 = 0x0000000081000000
afsr0_el1 = 0x0000000000000000
afsr1_el1 = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1 = 0x0000000000000000
cntp_ctl_el0 = 0x0000000000000005
cntp_cval_el0 = 0x000000001361b87c
cntv_ctl_el0 = 0x0000000000000000
cntv_cval_el0 = 0x0000000000000000
cntkctl_el1 = 0x0000000000000000
sp_el0 = 0x0000000e28f3b2f0
isr_el1 = 0x0000000000000040
cpuectlr_el1 = 0xa000000b40543000
gicd_ispendr regs (Offsets 0x200 - 0x278)
Offset: value
0000000000000200: 0x0000000000000000
0000000000000204: 0x0000000000000000
0000000000000208: 0x0000000000000000
000000000000020c: 0x0000000000000000
0000000000000210: 0x0000000000000000
0000000000000214: 0x0000000000000000
0000000000000218: 0x0000000000010000
000000000000021c: 0x0000000000020000
0000000000000220: 0x0000000000000000
0000000000000224: 0x0000000000000000
0000000000000228: 0x0000000000000000
000000000000022c: 0x0000000000000000
0000000000000230: 0x0000000000000000
0000000000000234: 0x0000000000000000
0000000000000238: 0x0000000000000000
000000000000023c: 0x0000000000000000
0000000000000240: 0x0000000000000000
0000000000000244: 0x0000000000000000
0000000000000248: 0x0000000000000000
000000000000024c: 0x0000000000000000
0000000000000250: 0x0000000000000000
0000000000000254: 0x0000000000000000
0000000000000258: 0x0000000000000000
000000000000025c: 0x0000000000000000
0000000000000260: 0x0000000000000000
0000000000000264: 0x0000000000000000
0000000000000268: 0x0000000000000000
000000000000026c: 0x0000000000000000
0000000000000270: 0x0000000000000000
0000000000000274: 0x0000000000000000
0000000000000278: 0x0000000000000000
000000000000027c: 0x0000000000000000

The post you are referring to is not related.

Also, your change in tegra234-mb1-bct-uphylane-si-c7x8.dtsi is not needed. Please make it to default value.

Please enable the EP node and disable the RP node in kernel device tree for your PCIe C7.

pcie_ep@141e0000 is PCIe C7 EP node
pcie@141e0000 is PCIe C7 RP node.

You don’t need to do that for C5 because we already helped you do.