Building / modifying /flashing orin p3710 device tree

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
2.1.0
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Issue Description
I am currently using drive os 6.0.10 sdk with a p3710 Orin dev kit. Public documentation indicates it should be possible to modify the device tree for experimentation with SDK. I don’t see the incantation to build the device tree in any of the public facing documentation, only how to flash the dtb and build the kernel image.

The default docker flash command uses the top level DTS file:

/drive/drive-linux/kernel/source/hardware/nvidia/platform/t23x/automotive/kernel-dts/p3710/tegra234-p3710-0010-a01-linux-driveav-gos.dts

I don’t see how to build this, though.

Dear @ry463ko ,
Are you looking for generating DTB or DTS files with modification? What modifications you want to do ?

Generating the DTB file, and then flashing the dtb file.

I think there are instructions for flashing a custom DTB, but I don’t know how to build the dtb from the dts source.

As far as the modifications, I wanted to try some of the device tree changes described within Chip to Chip Communication | NVIDIA Docs

Did you try modifying those dtsi files and use bind_partitions and bootburn to flash target?

cd drive-foundation
./make/bind_partitions -b p3710-10-s05 linux
tools/flashtools/bootburn/bootburn.py -b p3710-10-s05 -B qspi

I did not know about bind_partitions. I’ll give it a try and get back.