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

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

You can check your flash log to locate the file name. And download the source code to modify it/rebuild.

I’ve downloaded the source code, but I don’t know how to modify the device tree

先從flash log或是board config判斷要改哪個檔案…

What are the detailed steps? I’m a novice

Please use r36.3.0 instead since R36.2 is Developer Preview release.

Please refer to the steps in Quick Start — NVIDIA Jetson Linux Developer Guide 1 documentation to setup on your host PC and flash the devkit.


I followed this guide to download the kernel, but do not know where the corresponding device tree file is?

請問你燒過你的板子過了嗎? 先不論你有沒有改過device tree…

烧录过板子,我之前有修改kernel 和下载你们基础版的rootfs 进行过烧录

我是按照 Jetson Linux 36.3 | NVIDIA Developer下载的kernel和rootfs文件,并且重新烧录。

I followed this tutorial to compile kernel and rootfs, but what about adding your own nodes to the device tree?

那你燒錄的時候的log或是command有沒有記得?
裡面的內容會告訴你現在是在用哪個dtb…

Jetson Linux 36.3 | NVIDIA Developer 我是按照这里教程进行的烧录
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1
-c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/generic/cfg/flash_t234_qspi.xml”
–showlogs --network usb0 jetson-orin-nano-devkit internal

ok, 所以你當初燒錄的時候termianl上面印的log有留著嗎…?

没有留意log 我现在烧录一遍,看一下

Entry added by NVIDIA initrd flash too log.txt (52.5 KB)

你好 log文件已经上传附件,麻烦帮我看一下吧。谢谢

“kernel_dtb tegra234-p3768-0000+p3767-0004-nv.dtb”

所以你板子在用的dts是 tegra234-p3768-0000+p3767-0004-nv.dts

我找到这个文件了,对这个文件进行了修改。


并且重新编译了一遍内核 make -C kernel 一遍就可以了吗?

請參考文件
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/SD/Kernel.html