How to use dtbo overlay on Jetson AGX Orin Platform

Refer to the documentation using jetson-io tool to load dtbo file, the problem is as follows:
1.Execute “sudo /opt/nvidia/jetson-io/jetson-io.py ", the graphical interface exits automatically after it is displayed
2.Execute “sudo /opt/nvidia/jetson-io/config-by-hardware.py -l”, The error is reported below:

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

Please how to load dtbo file?
Thank you.

hello Bob-Nv,

I am able to execute Jetson-IO and running config-by-hardware.py correctly.
for example,

$ sudo python config-by-hardware.py -l
Header 1 [default]: Jetson 40pin Header
  Available hardware modules:
  1. Adafruit SPH0645LM4H
  2. Adafruit UDA1334A
  3. FE-PI Audio V1 and Z V2
  4. ReSpeaker 4 Mic Array
  5. ReSpeaker 4 Mic Linear Array
Header 2: Jetson AGX CSI Connector
  Available hardware modules:
  1. Jetson Camera Dual-IMX274
  2. Jetson Camera E3331 module
  3. Jetson Camera E3333 module
  4. Jetson Camera IMX185
  5. Jetson Camera IMX390
Header 3: Jetson M.2 Key E Slot
  No hardware configurations found!

may I know which JetPack release you’re working with? please check with $ cat /etc/nv_tegra_release for confirmation.

Hi JerryChang:

$ cat /etc/nv_tegra_release
# R34 (release), REVISION: 1.0, GCID: 30102743, BOARD: t186ref, EABI: aarch64, DATE: Wed Apr  6 19:11:41 UTC 2022

In the document,which file is .conf file?Is this /boot/extlinux/extlinux.conf?

1. Compile the .dts file to generate a .dtbo file. Move the .dtbo file to flash_folder/kernel/dtb/ before flashing.

#. Add below lines to the <board>.conf file which is used for flashing the device

OVERLAY_DTB_FILE="${OVERLAY_DTB_FILE},tegra194-camera-overlay-file.dtbo”;

With this, if the specific camera board is found when the kernel boots, the override data is applied to the specific device tree nodes, and they are made available for the system.

hello Bob-Nv,

yes. please note that there’ll be new label created after you using Jetson-IO. please review the configuration file and have the FDT entry point to your *.dtbo file.
please see-also developer guide, Configuring the Jetson Expansion Headers.
thanks

The update extlinux.conf file is as follows:

LABEL JetsonIO
      MENU LABEL gmsl camera header
      Linux /boot/Image
      FDT /boot/tegra234-p3737-camera-ar0231-overlay.dtbo
      INITRD /boot/initrd
      APPEND ${cbootargs} root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 mminit_loglevel=4 console=ttyTCU0,115200 console=tty0 firmware_class.path=/etc/firmware fbcon=map:0 net.ifnames=0

Where is the /boot/dtb/kernel_tegra234-p3701-0000-p3737-0000.dtb file specified?

hello Bob-Nv,

that’s overlay to overwrite the settings, the other device tree properties remain unchanged.

Hi JerryChang:
Does this version support config-by-hardware.py and jetsion-io.py feature?

hello Bob-Nv,

some of the feature may not complete since it’s Developer Preview version, all fixes will integrate to production release version,
please waits for r35.1, this should public release in the Q3/2022.

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