I use orin Nano development board, which file should be modified to modify the device tree?

Development board environment:Jetson Linux35.3.1
core board:orin Nano4GB
board:Jetson Orin Nano Developer Kit

I’m new to this。
I use orin Nano development board, which file should be modified to modify the device tree?

Hi 56101855,

May I know what’s your requirement to modify device tree?

If you want to modify some property for experiment, you can just decompile /boot/dtb/kernel_XXXX.dtb on your board to dts and assemble it back to dtb.
If you want to modify device tree before flash, please refer to Kernel Customization — Jetson Linux Developer Guide documentation to sync the source and build kernel image/dtb.

I want to modify the device tree before flash to add my own device node. (Say I want to manipulate a GPIO, add a GPIO node to the device tree, and write the driver myself).

1731640109886

Okay, please just refer to Kernel Customization — Jetson Linux Developer Guide documentation to download the kernel source.
You can add the custom driver and configure the device tree.

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