Orin nx custom dtb compile failed

Hi, I’m using orin nx to apply our custom board.

When I build the dtb file, it failed and err info is


Error: /mnt/v1/xinhao.liao/Jetson/R3644/out/kernel-devicetree/generic-dts/../..//hardware/nvidia/t23x/nv-public/nv-platform/uih-iipb.dts:194.4-10 syntax error
FATAL ERROR: Unable to parse input tree

Here is my custom dts file, I can’t see in line 194 there is any err. Thank you for help !

uih-iipb.dts.txt (5.0 KB)

Hi 854053437,

What’s the Jetpack version in use?

Your device tree looks good to me, could you share the full build log for further check.

How do you get uih-iipb.dts? Maybe the syntax error is caused from unexpected ASCII ending?

Hi, Kevin

Jetpack version is 6.2.1

this file is copied from hardware/nvidia/t23x/nv-public/nv-platfor/tegra234-p3768-0000+p3767-0000-nv-super.dts and I add what we need in it

I‘ll check if ASCII causing, thanks

okay, or you can just modify tegra234-p3768-0000+p3767-0000-nv-super.dts to add those custom changes.

Hi, Kevin

I found the reason why compile failed, at the begin, there is some format err in my dtsi file. I modified it and compile it with cmd line to test.

But I forget that the dtsi file is not updated in my build path, so whatever I change it, I get the same err info.

when I update the dtsi file correctly, dtb compiling work fine!

Thanks!