Hi there,
This is a follow-up question about updating out-of-tree modules.
When building the DTBs, we copy the compiled DTBs into Linux_for_Tegra/kernel/dtb/
to prepare for flashing.
cp kernel-devicetree/generic-dts/dtbs/* <install-path>/Linux_for_Tegra/kernel/dtb/
I then examined the Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs
directory, and its contents are shown below:
tegra234-audio-overlay.dtbo tegra234-p3737-camera-e3331-overlay.dtbo tegra234-p3767-0000+p3509-a02-m2ke.dtbo
tegra234-carveouts.dtbo tegra234-p3737-camera-e3333-overlay.dtbo tegra234-p3767-0000+p3768-0000-csi.dtbo
tegra234-dcb-p3767-0000-hdmi.dtbo tegra234-p3737-camera-eCAM130A-overlay.dtbo tegra234-p3767-camera-p3768-imx219-A.dtbo
tegra234-p3737-0000+p3701-0000-as-p3701-0004.dtbo tegra234-p3737-camera-imx185-overlay.dtbo tegra234-p3767-camera-p3768-imx219-C.dtbo
tegra234-p3737-0000+p3701-0000-as-p3767-0000.dtbo tegra234-p3737-camera-imx390-addr-0x21-overlay.dtbo tegra234-p3767-camera-p3768-imx219-dual.dtbo
tegra234-p3737-0000+p3701-0000-as-p3767-0001.dtbo tegra234-p3737-camera-imx390-overlay.dtbo tegra234-p3767-camera-p3768-imx219-imx477.dtbo
tegra234-p3737-0000+p3701-0000-as-p3767-0003.dtbo tegra234-p3737-camera-p3762-a00-1Hawk-overlay.dtbo tegra234-p3767-camera-p3768-imx477-A.dtbo
tegra234-p3737-0000+p3701-0000-as-p3767-0004.dtbo tegra234-p3737-camera-p3762-a00-2Hawk-overlay.dtbo tegra234-p3767-camera-p3768-imx477-C.dtbo
tegra234-p3737-0000+p3701-0000-audio-adafruit-sph0645lm4h.dtbo tegra234-p3737-camera-p3762-a00-3Hawk-3Owl-overlay.dtbo tegra234-p3767-camera-p3768-imx477-dual-4lane.dtbo
tegra234-p3737-0000+p3701-0000-audio-adafruit-uda1334a.dtbo tegra234-p3737-camera-p3762-a00-4Hawk-overlay.dtbo tegra234-p3767-camera-p3768-imx477-dual.dtbo
tegra234-p3737-0000+p3701-0000-audio-fe-pi.dtbo tegra234-p3737-camera-p3762-a00-4Owl-overlay.dtbo tegra234-p3767-camera-p3768-imx477-imx219.dtbo
tegra234-p3737-0000+p3701-0000-audio-respeaker-4-mic-array.dtbo tegra234-p3737-camera-p3762-a00-overlay.dtbo tegra234-p3768-0000+p3767-0000.dtb
tegra234-p3737-0000+p3701-0000-audio-respeaker-4-mic-lin-array.dtbo tegra234-p3740-0002-p3701-0008-csi.dtbo tegra234-p3768-0000+p3767-0000-dynamic.dtbo
tegra234-p3737-0000+p3701-0000-csi.dtbo tegra234-p3740-0002+p3701-0008.dtb tegra234-p3768-0000+p3767-0000-nv.dtb
tegra234-p3737-0000+p3701-0000.dtb tegra234-p3740-0002+p3701-0008-hdr20.dtbo tegra234-p3768-0000+p3767-0000-nv-px1.dtb
tegra234-p3737-0000+p3701-0000-dynamic.dtbo tegra234-p3740-0002+p3701-0008-m2kb.dtbo tegra234-p3768-0000+p3767-0000-nv-taylor-high.dtb
tegra234-p3737-0000+p3701-0000-hdr40.dtbo tegra234-p3740-0002+p3701-0008-m2ke.dtbo tegra234-p3768-0000+p3767-0000-nv-taylor-low.dtb
tegra234-p3737-0000+p3701-0000-m2ke.dtbo tegra234-p3740-0002+p3701-0008-nv.dtb tegra234-p3768-0000+p3767-0001.dtb
tegra234-p3737-0000+p3701-0000-nv.dtb tegra234-p3740-0002+p3701-0008-nv-safety.dtb tegra234-p3768-0000+p3767-0001-nv.dtb
tegra234-p3737-0000+p3701-0004.dtb tegra234-p3740-camera-p3783-a00-overlay.dtbo tegra234-p3768-0000+p3767-0003.dtb
tegra234-p3737-0000+p3701-0004-nv.dtb tegra234-p3767-0000+p3509-a02-audio-adafruit-sph0645lm4h.dtbo tegra234-p3768-0000+p3767-0003-nv.dtb
tegra234-p3737-0000+p3701-0005.dtb tegra234-p3767-0000+p3509-a02-audio-adafruit-uda1334a.dtbo tegra234-p3768-0000+p3767-0004.dtb
tegra234-p3737-0000+p3701-0005-nv.dtb tegra234-p3767-0000+p3509-a02-audio-fe-pi.dtbo tegra234-p3768-0000+p3767-0004-nv.dtb
tegra234-p3737-0000+p3701-0008.dtb tegra234-p3767-0000+p3509-a02-audio-respeaker-4-mic-array.dtbo tegra234-p3768-0000+p3767-0005.dtb
tegra234-p3737-0000+p3701-0008-nv.dtb tegra234-p3767-0000+p3509-a02-audio-respeaker-4-mic-lin-array.dtbo tegra234-p3768-0000+p3767-0005-nv.dtb
tegra234-p3737-camera-dual-hawk-ar0234-e3653-overlay.dtbo tegra234-p3767-0000+p3509-a02-csi.dtbo tegra-optee.dtbo
tegra234-p3737-camera-dual-imx274-overlay.dtbo tegra234-p3767-0000+p3509-a02-hdr40.dtbo
Next, I compared the contents of Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs
with Linux_for_Tegra/kernel/dtb
and /boot
. Here are the results:
❯ diff -rq Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs Linux_for_Tegra/kernel/dtb
Only in Linux_for_Tegra/kernel/dtb: AcpiBoot.dtbo
Only in Linux_for_Tegra/kernel/dtb: BootOrderEmmc.dtbo
Only in Linux_for_Tegra/kernel/dtb: BootOrderHttp.dtbo
Only in Linux_for_Tegra/kernel/dtb: BootOrderNvme.dtbo
Only in Linux_for_Tegra/kernel/dtb: BootOrderPxe.dtbo
Only in Linux_for_Tegra/kernel/dtb: BootOrderSata.dtbo
Only in Linux_for_Tegra/kernel/dtb: BootOrderSD.dtbo
Only in Linux_for_Tegra/kernel/dtb: BootOrderUfs.dtbo
Only in Linux_for_Tegra/kernel/dtb: BootOrderUsb.dtbo
Only in Linux_for_Tegra/kernel/dtb: L4TConfiguration.dtbo
Only in Linux_for_Tegra/kernel/dtb: LICENSE.kernel
Only in Linux_for_Tegra/kernel/dtb: NOTICE.uefi
❯ diff -rq Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs /boot
Only in /boot: dtb
Only in /boot: efi
Only in /boot: extlinux
Only in /boot: Image
Only in /boot: initrd
Only in /boot: initrd.img
Only in /boot: initrd.img-5.15.148-tegra
Only in /boot: kernel_tegra234-p3768-0000+p3767-0005-nv.dtb
Only in /boot: oot-stub
Only in Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs: tegra234-audio-overlay.dtbo
Only in Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs: tegra234-dcb-p3767-0000-hdmi.dtbo
Only in Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs: tegra234-p3740-0002-p3701-0008-csi.dtbo
Only in Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs: tegra234-p3740-0002+p3701-0008-nv-safety.dtb
Only in Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs: tegra234-p3768-0000+p3767-0000-nv-px1.dtb
Only in Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs: tegra234-p3768-0000+p3767-0000-nv-taylor-high.dtb
Only in Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs: tegra234-p3768-0000+p3767-0000-nv-taylor-low.dtb
Is it correct to copy the entire Linux_for_Tegra/source/kernel-devicetree/generic-dts/dtbs
to /boot
on the Jetson Orin Nano directly, and then reboot the device?
Thanks in advance!