"[MyCustom.dtb] is not supported" error when flashing DTB

Hi!
I’m using L4T 32.6.1 (Jetpack 4.6.0) on Jetson Nano.

I got DTBO overlay file from Auvidea (poor support!) in order to convert USB-C to host (normal) type USB.

I made following steps in order to flash DTB but got error: *** Update [MyCustom.dtb] is not supported. ***

  1. Extraction of DTB currently in use into DTS textual file:
    dtc -I fs -O dts -o JetNanoOriginal.dts /sys/firmware/devicetree/base

  2. Compilation of DTS textual file into DTB binary:
    dtc -I dts -O dtb -o JetNanoOriginal.dtb JetNanoOriginal.dts

  3. Applying the overlay file I got from Auvidea:
    sudo fdtoverlay -i JetNanoOriginal.dtb -o MyCustom.dtb tegra234-p3767-otg-to-host-overlay.dtbo

  4. Flashing with the newly created DTB:
    sudo ./flash.sh -r -k MyCustom.dtb jetson-nano-emmc mmcblk0p1

What is wrong with this ?

Auvidea’s sent DTS looks like this:

/dts-v1/;
/plugin/;

#include <dt-common/jetson/tegra234-p3767-0000-common.h>

/ {
	overlay-name = "Jetson Orin Nano otg to host";
	compatible = JETSON_COMPATIBLE_P3509;

	fragment@0 {
        target = <&xusb_padctl>;
		__overlay__ {
		    ports {
		    	usb2-0 {
		    		mode = "host";
		        };
		    };
	    };
	};
};

P.S. Unfortunately seems I cannot attach .dtb and .dtbo files here, but attaching terminal output…
Error after DTB flash.txt (4.5 KB)

Hi JoleCRO,

Are you using the devkit or custom board for Jetson Nano?

You should specify the partition name instead of the dtb file in this command.
Please try the following:

$ sudo ./flash.sh -r -k DXB jetson-nano-emmc mmcblk0p1

The topic seems having a weird situation that you are using a tegra234-p3767 device tree for a Jetson nano.

tegra234 is for Orin but not jetson nano…

Please try to clarify what you are doing first before proceed…

1 Like

We are using devkit: JNX84 carrier board for embedded applications – Auvidea .

If I use DXB instead of filname, how flash.sh can know which new DTB to apply? I’m applying it to add USB host functionality to USB-C OTG…
Regarding “tegra234” in the filename: that’s .dtbo file they sent to me, do you thing it is to blame?

Hi,

First, all NVIDIA moderators here are only working on NVIDIA devkit. We don’t know anything about a custom board. Anything made from 3rdparty vendor is a custom board to us.

Second, the file they sent to you will definitely not work for a Jetson nano.

Third, the most important thing to clarify. Are you working on a Jetson Nano or a Jetson Orin Nano? Or you don’t know what is the difference here?

I’m working with Jetson Nano. There is no doubt.
I’m still puzzled about your suggestion with : “DXB instead of filname” ?

  1. The board config has the device tree name. That is why no need to provide device tree name in flash.sh…

  2. Please tell the vendor you are using Jetson nano but not Orin Nano…

  3. Forget about our suggestion and focus on (2) first…

Thanks!!!

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