JetPack6.2.1的Linux r36.4.4中 orin nano 8g的设备树找不到

如题,

在BSP中解压完内核源代码后,

~/ps/Linux_for_Tegra/source $ find -name 234
./ks/kernel/kernel-jammy-src/arch/arm/boot/dts/intel-ixp42x-gateworks-gw2348.dts
./ks/kernel/kernel-jammy-src/arch/arm64/boot/dts/nvidia/tegra234.dtsi
./ks/kernel/kernel-jammy-src/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts
./ks/kernel/kernel-jammy-src/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi
./ks/kernel/kernel-jammy-src/arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi
./ks/kernel/kernel-jammy-src/arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts
./ks/kernel/kernel-jammy-src/arch/arm64/boot/dts/freescale/s32v234-evb.dts
./ks/kernel/kernel-jammy-src/arch/arm64/boot/dts/freescale/s32v234.dtsi
./ks/kernel/kernel-jammy-src/include/media/drv-intf/cx2341x.h
./ks/kernel/kernel-jammy-src/include/dt-bindings/gpio/tegra234-gpio.h
./ks/kernel/kernel-jammy-src/include/dt-bindings/power/tegra234-powergate.h
./ks/kernel/kernel-jammy-src/include/dt-bindings/memory/tegra234-mc.h
./ks/kernel/kernel-jammy-src/include/dt-bindings/clock/tegra234-clock.h
./ks/kernel/kernel-jammy-src/include/dt-bindings/reset/tegra234-reset.h
./ks/kernel/kernel-jammy-src/include/dt-bindings/thermal/tegra234-bpmp-thermal.h
./ks/kernel/kernel-jammy-src/sound/soc/codecs/cs4234.c
./ks/kernel/kernel-jammy-src/sound/soc/codecs/cs4234.h
./ks/kernel/kernel-jammy-src/drivers/hwmon/lm95234.c
./ks/kernel/kernel-jammy-src/drivers/soc/tegra/cbb/tegra234-cbb.c
./ks/kernel/kernel-jammy-src/drivers/media/common/cx2341x.c
./ks/kernel/kernel-jammy-src/drivers/media/pci/cx18/cx23418.h
./ks/kernel/kernel-jammy-src/drivers/memory/tegra/tegra234.c
./ks/kernel/kernel-jammy-src/drivers/gpu/drm/bridge/sii9234.c
./ks/kernel/kernel-jammy-src/drivers/pinctrl/tegra/pinctrl-tegra234.c
./ks/kernel/kernel-jammy-src/Documentation/hwmon/lm95234.rst
./ks/kernel/kernel-jammy-src/Documentation/driver-api/media/drivers/cx2341x-devel.rst
./ks/kernel/kernel-jammy-src/Documentation/userspace-api/media/drivers/cx2341x-uapi.rst
./ks/kernel/kernel-jammy-src/Documentation/devicetree/bindings/display/bridge/sii9234.txt
./ks/kernel/kernel-jammy-src/Documentation/devicetree/bindings/sound/cirrus,cs4234.yaml
./ks/kernel/kernel-jammy-src/Documentation/devicetree/bindings/usb/nvidia,tegra234-xusb.yaml
~/ps/Linux_for_Tegra/source $

只看到了p3737(应该是agx orin)的设备树,但jestpack6.2.1是支持orin nano 8g(p3768)的

自定义载板需要修改设备树,但板子上的设备树只有dtb文件,dtc后会丢东西

希望可以指明一下方向

Hi 3491806852,

It is expected that device tree of different modules/boards are all included in kernel source.
Are you using Orin Nano 8GB module(SKU3) and the p3768 is the reference of your custom carrier board?
If so, you can simply adding custom device tree configuration in tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi

Yes, this is exactly what I expected. However, I need to modify based on the existing device tree files (dts or dtsi), but I didn’t see the p3768 series dts in the location I mentioned. As I described, I only saw files for agx orin (i.e., p3737). My download link is:

https://developer.download.nvidia.com/embedded/L4T/r36_Release_v4.4/sources/public_sources.tbz2

I downloaded and extracted the kernel_source.tbz2 from it, and the result is the console output shown above.

this is my orinnano board

orinnano@ubuntu:~$ ls /boot/dtb/
kernel_tegra234-p3768-0000+p3767-0003-nv.dtb
orinnano@ubuntu:~$ uname -a
Linux ubuntu 5.15.148-tegra #1 SMP PREEMPT Mon Jun 16 08:24:48 PDT 2025 aarch64 aarch64 aarch64 GNU/Linux
orinnano@ubuntu:~$ cat /proc/device-tree/model
NVIDIA Jetson Orin NX Engineering Reference Developer Kitorinnano@ubuntu:~$ ^C
orinnano@ubuntu:~$ cat /etc/nv_tegra_release

R36 (release), REVISION: 4.4, GCID: 41062509, BOARD: generic, EABI: aarch64, DATE: Mon Jun 16 16:07:13 UTC 2025

KERNEL_VARIANT: oot

TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia
orinnano@ubuntu:~$
orinnano@ubuntu:~$

i see its dtb is named kernel_tegra234-p3768-0000+p3767-0003-nv.dtb

and kernel is R36 (release), REVISION: 4.4,

Could you share the result under hardware/nvidia/t23x/nv-public/ and hardware/nvidia/t23x/nv-public/nv-platform/?

Thanks a lot ,i had complie my custom device tree and send it to my orinboard

but an other problem has become when i try to enable MIPI csi

it say that No DTB Found ,same as the This topic

can you point me a way?I Have do the same thinks I had reboot many times

Please share the result of the following command on your board.

$ cat /proc/device-tree/model
$ cat /boot/extlinux/extlinux.conf

It seems the compatible string in DTB does not match the definition in jetson-io.
Do you flash the board with the board config ending with -super?

okay ,I have found the solution.
Here are a few key points to note:
There are three files (dtb) under /boot:

  • /boot/dtb/kernel_tegra234_***
  • /boot/kernel_tegra234_***
  • /boot/tegra234_***

They all have the same MD5 value, so I replaced all of them with my own device tree.
After specifying it in /boot/extlinux/extlinux.conf, it began loading my device tree, and everything started working normally.
Thank you very much.

Good to hear that you’ve resolved the issue.
Yes, these 3 device trees should be the same.

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