Jetpack 7.1 crashed when running the command "sudo /opt/nvidia/jetson-io/jetson-io.py"

HI,NVIDIA

I am developing the camera driver for JP7.1 and I want to use sudo /opt/nvidia/jetson-io/jetson-io.py to import my dynamic device tree. However, jetson-io.py fails to run properly and crashes. I have tried both flashing the system via a USB drive and using commands for verification, but all resulted in this issue. After re-flashing the system and running the jetson-io.py script without performing any other operations, it still couldn’t run properly. Does NVIDIA have any relevant solutions?

I checked the source code of jetson-io.py and initially thought it was the terminal window causing the failure to start properly. However, I verified that it was not due to the window size causing the crash.

Have you tried Jetson Thor Series Modules Pinmux Template 1.5 to create

Thor-thor_devkit-gpio-default.dtsi Thor-thor_devkit-padvoltage-default.dtsi Thor-thor_devkit-pinmux.dtsi

Sorry, I’m not familiar with the method you mentioned. Could you please elaborate on it?

hello 2309200691,

may I double check how you flash Thor platform?
you should flash with p3971 carrier board configuration to enable CSI bricks.
for instance,
P3834 + P3971 (NVME): $ sudo ./tools/kernel_flash/l4t_initrd_flash.sh p3834-0008-p3971-0000-nvme internal

besides.. please share the complete error logs for further supports.

hello JerryChang,

I used this command to perform the firmware update: sudo ./l4t_initrd_flash.sh jetson-agx-thor-devkit internal.
The one I use:Jetson Thor Developer Kit

How can I obtain the error message? Run sudo ./config-by-pin.py instead?

hello 2309200691,

it’s the target not support CSI configuration,
you should double check NVIDIA Jetson Thor about the specifications
let me re-cap as below..

NVIDIA Jetson Thor Series

Jetson AGX Thor Developer Kit Jetson T5000/Jetson T4000
Camera HSB camera via QSFP slot
USB camera
Up to 20 cameras via HSB
Up to 6 cameras through 16x lanes MIPI CSI-2
Up to 32 cameras using Virtual Channels
C-PHY 2.1 (10.25 Gbps)
D-PHY 2.1 (40 Gbps)

hello JerryChang,

The device I am using is: Jetson AGX Thor Developer Kit Jetson T5000

I want to confirm whether Jetpack 7.1 still does not support using the command “sudo /opt/nvidia/jetson-io/jetson-io.py”?

hello JerryChang,

Can importing the dynamic device tree only be done using the jetson-io method?

Can the OVERLAYS field be directly added in the /extlinux/extlinux.conf file to achieve the purpose of overriding?

hello 2309200691,

I assume you’re having customize carrier board, right?
please refer to p3971 carrier board configuration to enable CSI bricks. i.e. p3834-0008-p3971-0000-nvme.conf

yes, please note that, you can specify FDT alone. you can specify FDT + OVERLAYS. You cannot do only OVERLAYS though. overlays from Rootfs are processed only if DTB is coming from Rootfs, when FDT entry is not present in extlinux.conf UEFI DTB is used.

No, I’m using your official developer kit.

@JerryChang as @2309200691 noted, there is no Thor header module in jetson-io and the application fails to run on Jetson AGX THOR Developer Kit. Headers/csi-agx.py is Orin.

ls /opt/nvidia/jetson-io/
config-by-function.py  config-by-pin.py  Jetson        jetson-io.py.bak.20260128-215350  Utils
config-by-hardware.py  Headers           jetson-io.py  Linux

ls /opt/nvidia/jetson-io/Headers/
csi122.py  csi-agx.py   csi-tx1tx2.py  hdr30.py  __init__.py  m2ke.py
csi22.py   csi-nano.py  hdr20.py       hdr40.py  m2kb.py      __pycache__

sudo python3 -v /opt/nvidia/jetson-io/jetson-io.py

=================== Jetson Expansion Header Tool ===================
=================== Platform not supported, no headers found!
# And see attached jetson-io-Thor-no-Header.txt 

sudo python3 /opt/nvidia/jetson-io/config-by-hardware.py -l
Traceback (most recent call last):
  File "/opt/nvidia/jetson-io/config-by-hardware.py", line 126, in <module>
    main()
  File "/opt/nvidia/jetson-io/config-by-hardware.py", line 100, in main
    raise RuntimeError("Platform not supported, no headers found!")
RuntimeError: Platform not supported, no headers found!

sudo python3 /opt/nvidia/jetson-io/config-by-function.py -l all
Traceback (most recent call last):
  File "/opt/nvidia/jetson-io/config-by-function.py", line 184, in <module>
    main()
  File "/opt/nvidia/jetson-io/config-by-function.py", line 137, in main
    raise RuntimeError("Platform not supported, no headers found!")
RuntimeError: Platform not supported, no headers found!

sudo python3 /opt/nvidia/jetson-io/config-by-pin.py -l
Traceback (most recent call last):
  File "/opt/nvidia/jetson-io/config-by-pin.py", line 84, in <module>
    main()
  File "/opt/nvidia/jetson-io/config-by-pin.py", line 43, in main
    raise RuntimeError("Platform not supported, no headers found!")
RuntimeError: Platform not supported, no headers found!

jetson-io-Thor-no-Header.txt (30.0 KB)

Thank you to @whitesscott for your assistance in the analysis.
@JerryChang Please ask NVIDIA to help analyze and solve the problem as soon as possible.

hello 2309200691,

please refer to Jetson Linux release notes for [7. Implementation Details].
may I also know what pin configuration you’re going to toggle with Jetson-IO?

hello JerryChang,

I couldn’t find any relevant statements in the Jetson Linux r38.4.0 GA Release Notes.

I’M going to toggleConfigure Jetson AGX CSI Connector.Thor only supports CSI.
Could you please get a thor machine and use version 7.1 to conduct a verification on your end?
Just as @whitesscott said,no Thor header module.

Please conduct the investigation as soon as possible.

hello 2309200691,

please refer to my previous post #9,
Jetson AGX Thor Developer Kit support with HSB camera via QSFP or USB camera.
it doesn’t support configuring the CSI connector.

hello JerryChang,

In fact, we didn’t change the CSI connector. We just wanted to import my dtbo.

Even so, is it still necessary to solve the problem of “sudo /opt/nvidia/jetson-io/jetson-io.py” not functioning properly?

In previous versions, we used sudo /opt/nvidia/jetson-io/jetson-io.py to load our dynamic device tree. Why, in version 7.1, even without any operation, jetson-io.py couldn’t run properly?