在orin nx上使用jetson linux36.4找不到hardware目录

我使用官网上的内核源码文件pubilc_sources.tbz2想要编译生成适配自己主板的设备树文件,但是我发现在36.4的内核源码中解压了kernel_src.tbz2文件,只发现了kernel目录并没有看见我所需要的hardware目录;我需要修改tegra234-soc-uart.dtsi文件,能告诉我这个文件在哪个目录下嘛

Hi 1969288803,

Please refer to Kernel Customization — NVIDIA Jetson Linux Developer Guide 1 documentation to download source through source_sync.sh script and there should be hardware directory included.

我已经通过运行脚本去获得hardware目录了,但是我的载板是使用hdmi的,需要使用 p3509-a02-p3767-0000去烧录,原来应该在tegra234-soc-uart.dtsi与tegra234-p3767-0000-p3509-a02.dts文件中修改的值现在不知道要去哪里修改了,能帮我看看现在的hardware目录中应该去修改哪2个文件嘛

找不到uart以及p3767-0000-p3509-a02.dts

You can just modify any dts which have been included.

Please try modifying tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi for JP6.

好的,我现在还有2个疑问,1.我找不到关于uart的设备树信息,能否直接在tegra234-p3767.dtsi中添加uartb的status = “okay”;下面这图是我原先在35.4.1上所修改的地方


2.编译完内核以后,我并没有看见相关的设备树文件(p3767-0000-p3509-a02.dtb),是因为在JP6中,不再使用此指令烧录?sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_external.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 p3509-a02+p3767-0000 internal,如果我需要使用hdmi的orin nx 烧录现在应该怎么做?

基本上建議一個topic裡面就只討論一個種類的問題

現在這裡有UART跟HDMI. 我看這裡就先討論uart的問題就好. HDMI另外開一條新的

1 Like

Please refer to the following thread to enable UART interface in JP6.x.
How to enable UART? - #7 by KevinFFF

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