I use the jetson-orin-nano-devkit-nvme.conf which points to:
tegra234-p3768-0000+p3767-0000-nv.dtb
tegra234-p3768-0000+p3767-0000-dynamic.dtbo
I saw the default camera dt came from
tegra234-p3768-0000+p3767-0000-dynamic.dts
from include “tegra234-p3768-camera-rbpcv2-imx219.dtsi”
I commented out the include in
tegra234-p3768-camera-rbpcv2-imx219.dtsi
I added my own .dtsi with include in
/hardware/nvidia/t23x/nv-public/overlay/tegra234-p3737-0000+p3701-0000-dynamic.dts
instead of include “tegra234-p3737-camera-modules.dtsi”
I don’t get any dtb build errors (only many warnings!! that came alone with the “out of the box” dt)
and after copying the files into the target, I still get the default dt.
I use custom carrier board and I don’t want to flash the target for changing the dt, just copy the kernel dtb and other .dtbos into /boot and /boot/dtb like we did in jp5.1.3
I added a new dt node in
tegra234-p3768-0000+p3767-0000-nv.dts on my host.
I built the DTBs.
I can see this node on the target kernel_tegra234-p3768-0000+p3767-0000-nv.dtb
The problem is that tegra234-p3768-0000+p3767-0000-dynamic.dtbo contains the same node and override my values.
I edited the tegra234-p3768-0000+p3767-0000-dynamic.dts on my host as well and built it but for some reason the target ignores my modifications and load the default version of tegra234-p3768-0000+p3767-0000-dynamic.dtbo