I want to modify the device tree of my board, but I cant find the device tree which is the linux used. I find a possible file named "/boot/dtb/kernel_tegra234-p3767-0001-p3768-0006-a0.dtb", then I replace it by the file "kernel_out/arch/arm64/boot/dts/nvidia/tegra234-p3767-0001-p3768-0006-a0.dtb" that compiled by myself in host. After rebooting, the board can
t start. So I want to know how can I modify the device tree of this kit.
Hi 1186409527,
Are you using the devkit or custom board for Orin NX?
What’s your Jetpack version in use?
Could you tried to use dtc
commnad to decompile /boot/dtb/kernel_tegra234-p3767-0001-p3768-0006-a0.dtb
on your board and modify the contents inside it and assemble it back to .dtb
on your board?
Yes, I am using a devkit for Orin NX. And I want to know that can I modify the device tree by changing the file “tegra234-p3767-0001-p3768-0006-a0.dtsi” and burning it to the board?
DTB may include many device tree files and you should know which DTB is used during flash.
If you know which DTB is in use, you can check the dts source and know which dts files are included.
If you have minor update in dtb, you can just use dtc command to decompile and assemble it back to dtb.
If you want to rebuild kernel and dtb, please confirm which dtb includes all dts for your board.
You can also compare the difference between original DTB and the one you built.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.