Modified the kernel then flash jetson thor with jetpack7.0 GA failed

I need T5000 to support the intel i225 NIC. I use the ./source -k -t Jeston_38.2.1 to sync the kernel and build the image and dtb ,update initrd file by following the docunment. the I use the jetpack7.0.1 gui to do the flash , flash will be failed.

Kernel Customization — NVIDIA Jetson Linux Developer Guide

Here is the failed log . upload the failed log .it seems that ADB failed .

14:05:07.554 - Info: [flash_bsp_jetson-t264_die0]: [ListADBDevices(180)] : listing connected adb devices with sudo
14:05:07.555 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(156)] : command = /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/adb devices -l
14:05:07.555 - Info: cwd = /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace/flash-images
14:05:07.558 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(163)] : List of devices attached
14:05:07.558 - Info:
14:05:07.558 - Info:
14:05:07.559 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(156)] : command = timeout 5 /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/adb -s 2U1T830H800000B060G0 wait-for-device
14:05:07.559 - Info: cwd = /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace/flash-images
14:05:12.562 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(171)] : shell command – timeout 5 /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/adb -s 2U1T830H800000B060G0 wait-for-device failed
14:05:12.564 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(173)] : Output:
14:05:12.565 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(175)] : Return code: 124
14:05:12.567 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(177)] : stdout: b’’
14:05:12.568 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(179)] : stderr: None
14:05:12.569 - Info: [flash_bsp_jetson-t264_die0]: [AdbFindDevice(203)] : the ADB device is not yet found online : 2U1T830H800000B060G0
14:05:12.571 - Info: [flash_bsp_jetson-t264_die0]: [AdbFindDevice(204)] : current totaltime in finding device online : 90
14:05:12.572 - Info: [flash_bsp_jetson-t264_die0]: [ListADBDevices(176)] : listing connected adb devices
14:05:12.574 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(156)] : command = /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/adb devices -l
14:05:12.574 - Info: cwd = /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace/flash-images
14:05:12.577 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(163)] : List of devices attached
14:05:12.577 - Info:
14:05:12.577 - Info:
14:05:12.578 - Info: [flash_bsp_jetson-t264_die0]: [ListADBDevices(180)] : listing connected adb devices with sudo
14:05:12.580 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(156)] : command = /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/adb devices -l
14:05:12.580 - Info: cwd = /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace/flash-images
14:05:12.582 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(163)] : List of devices attached
14:05:12.582 - Info:
14:05:12.582 - Info:
14:05:12.584 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(156)] : command = timeout 5 /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/adb -s 2U1T830H800000B060G0 wait-for-device
14:05:12.584 - Info: cwd = /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/flash_workspace/flash-images
14:05:17.588 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(171)] : shell command – timeout 5 /home/jc/nvidia/nvidia_sdk/JetPack_7.0_Linux_JETSON_AGX_THOR_DEVKIT/Linux_for_Tegra/unified_flash/out/bsp_images/tools/flashtools/flash/adb -s 2U1T830H800000B060G0 wait-for-device failed
14:05:17.590 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(173)] : Output:
14:05:17.591 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(175)] : Return code: 124
14:05:17.593 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(177)] : stdout: b’’
14:05:17.594 - Info: [flash_bsp_jetson-t264_die0]: [executeShellCommand(179)] : stderr: None
14:05:17.595 - Info: [flash_bsp_jetson-t264_die0]: [AdbFindDevice(203)] : the ADB device is not yet found online : 2U1T830H800000B060G0
14:05:17.597 - Info: [flash_bsp_jetson-t264_die0]: [AdbFindDevice(204)] : current totaltime in finding device online : 95
14:05:17.598 - Info: [flash_bsp_jetson-t264_die0]: [AdbFindDevice(208)] : failed to find the device :2U1T830H800000B060G0 online at the end of :100 seconds

SDKM_logs_JetPack_7.0_(rev._1)_Linux_for_Jetson_AGX_Thor_Developer_Kit_2025-12-17_13-49-27.zip (2.2 MB)

I use the debug UART to get the failed log. the log show that ,when the program try to flash date to nvme.the T5000 module run hang in EL3 which maybe uefi. By the way , I need to use the PCIE C3 port ,so I change the dts(/Linux_for_Tegra/source/hardware/nvidia/t264/nv-public/nv-platform/tegra264-p4071-0000.dtsi) to enable the PCIE C3 port.

▒▒INFO: END TASK:PCIE
INFO: enter idle task.
INFO: END TASK:MB▒▒
INFO: enter idle task.
INFO: END TASK:MB▒▒
▒▒ph =▒▒ter idle ta▒▒GPC ▒▒sk.
▒▒> logic map: 0=>0 1=>2 2=>1
▒▒Unhandled Exception in EL3.
x30 = 0x000000000ff4103c
x0 = 0x0000000000000000
x1 = 0x00000000be000011
x2 = 0x0000000000000011
x3 = 0x0000000000000000
x4 = 0x8f145c61617a399f
x5 = 0x0000000000000001
x6 = 0x0000000000016654
x7 = 0x000000000001668c
x8 = 0x0000000001000000
x9 = 0x0000001403813000
x10 = 0x0000000400800000
x11 = 0x0000001f76bd2d54
x12 = 0x0000000000016650
x13 = 0x00000000ffffffff
x14 = 0x0000001f7ebaa000
x15 = 0x0000001f7ebaa000
x16 = 0x0000001f799a0358
x17 = 0x0000000000000000
x18 = 0x0000001f799ab250
x19 = 0x000000000ff753f0
x20 = 0x0000000000000000
x21 = 0x0000000000000000
x22 = 0x0000000000000000
x23 = 0x0000000000000000
x24 = 0x0000000000000000
x25 = 0x0000000000000000
x26 = 0x0000000000000000
x27 = 0x0000000000000000
x28 = 0x0000000000000000
x29 = 0x0000000000000000
scr_el3 = 0x000000401c07073d
sctlr_el3 = 0x0000000030cd183f
cptr_el3 = 0x0000000000000100
tcr_el3 = 0x0000000080853510
daif = 0x00000000000002c0
mair_el3 = 0x00000000004404ff
spsr_el3 = 0x0000000040000309
elr_el3 = 0x0000001f78c96cd0
ttbr0_el3 = 0x000000000ff95001
esr_el3 = 0x00000000be000011
far_el3 = 0xe77846b7193a7afb
spsr_el1 = 0x0000000000000000
elr_el1 = 0x0000000000000000
spsr_abt = 0x0000000000000000
spsr_und = 0x0000000000000000
spsr_irq = 0x0000000000000000
spsr_fiq = 0x0000000000000000
sctlr_el1 = 0x0000000030d00980
actlr_el1 = 0x0000000000000000
cpacr_el1 = 0x0000000000300000
csselr_el1 = 0x0000000000000002
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 = 0x000000024a49790c
cntv_ctl_el0 = 0x0000000000000000
cntv_cval_el0 = 0x0000000000000000
cntkctl_el1 = 0x0000000000000000
sp_el0 = 0x0000001f799ab250
isr_el1 = 0x0000000000000040
cpuectlr_el1 = 0xc0007403c0543001
gicd_ispendr regs (Offsets 0x200 - 0x278)
Offset: value
0000000000000200: 0x0000000000000000
0000000000000204: 0x0000000000000000
0000000000000208: 0x0000000000000000
000000000000020c: 0x0000000000000008
0000000000000210: 0x0000000010000000
0000000000000214: 0x0000000000000000
0000000000000218: 0x0000000000000000
000000000000021c: 0x0000000000000000
0000000000000220: 0x0000000000000000
0000000000000224: 0x0000000000000000
0000000000000228: 0x0000000000000000
000000000000022c: 0x0000000000000000
0000000000000230: 0x0000000000000000
0000000000000234: 0x0000000000000000
0000000000000238: 0x0000000080000000
000000000000023c: 0x0000000000000000
0000000000000240: 0x0000000000000000
0000000000000244: 0x0000000000000000
0000000000000248: 0x0000000000000000
000000000000024c: 0x0000000000000000
0000000000000250: 0x0000000000001800
0000000000000254: 0x0000000000000000
0000000000000258: 0x0000000000000000
000000000000025c: 0x0000000000000000
0000000000000260: 0x0000000000000000
0000000000000264: 0x0000000000000000
0000000000000268: 0x0000000000000000
000000000000026c: 0x0000000000000000
0000000000000270: 0x0000000000000000
0000000000000274: 0x0000000000000000
0000000000000278: 0x0000000000000000

I’m just replying to your first post. My apologies if I misunderstand the issue.

As far as I can see it does not look like your Thor was in recovery mode; / or attached to your host computer. Did you have your x86_64 linux host computer connected to the Thor with usb-c into one of the two vertical usb-c ports? That is where the flashing usb-c cable end goes. If that is where you had the cable attached into the Thor, then swap the power usb-c cable with the flashing usb-c cable.

To put Thor in recovery mode you hold middle button, press power button, then release both. On the host you can run lsusb and will see a Nvidia entry.

One type-c for the Recovery mode for download ,one type-c for the uart debug port. that two type-c port are both on the thor-dev-kit. search the website, tell me to watch the uart debug log when run the Recovery Mode downloading the file to NVME. I can see that the flash process run at 87%,the Thor will do a boot ,that boot will be hang which I have put the log in this topic.

Today I do some test .After I do the make dtbs process and copy the dtb to kernel/dtb.here is the command.

“cp kernel-devicetree/generic-dts/dtbs/* /Linux_for_Tegra/kernel/dtb/“

after do that .I begin to flash the module with SDK7.0.1.that will be failed as I described in the topic.

it seems the dtbs maybe casue the fail. I need to update the dtb file . becase I need to use the PCIE C3 port

J90 is for the UART debug port in the Thor,J81 for Recovery mode download. I run the ./source -k -t Jeston_38.2.1 to sync the kernel source package .

I do a test. only I modify the kernel dt to enable PCIE C3 port will make the flash failed

tegra264-p4071-000.dsi

/* PCIe C3 is SNN on Jedha */
pcie*@a808440000* {
status = “okay”;
};

I found that,I have done the wrong dts config and the flash config file.please follow the document will be pass.

close this topic