Jetpack 5.0 DP dtsi error

Building the Jetpack 5.0 DP unmodified source is throwing a dtsi error. Is there a work around? Is there a patch fix in progress?

DTC arch/arm64/boot/dts/ddot/ddot/ddot/ddot/ddot/ddot/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000.dtb
In file included from /disk1/nvidia/nvidia_5.0_preview/kernel-5.10-src/kernel/kernel-5.10/arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000.dts:17:
/disk1/nvidia/nvidia_5.0_preview/kernel-5.10-src/kernel/kernel-5.10/arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t23x/concord/kernel-dts/cvm/tegra234-p3701-0000.dtsi:19:10: fatal error: t234-common-cvm/tegra234-cvm-p3701.dtsi: No such file or directory
19 | #include <t234-common-cvm/tegra234-cvm-p3701.dtsi>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Note, this is using the bootlin 9.3 gcc toolchain and “stock”, “as-shipped” unmodified sources. The tegra_defconfig has not been modified or changed. Here is the console output for the dtbs build failure.

build_log.txt (12.7 KB)

See also:

I drilled down and found the root of this dtsi include problem. The Jetpack 5.0 DP as-released hardware source tree (directory structure) doesn’t match the Makefile DTC_INCLUDE path for t23x. Either the hardware source tree needs to be restructured or DTC Makefile needs to be tweaked. Nvidia needs to release a patch.

diff --git a/arch/arm64/boot/dts/Makefile b/arch/arm64/boot/dts/Makefile
index 239374ba6..410ed6bfa 100644
--- a/arch/arm64/boot/dts/Makefile
+++ b/arch/arm64/boot/dts/Makefile
@@ -29,7 +29,7 @@ endif
 ifeq ($(CONFIG_ARCH_TEGRA_23x_SOC),y)
 DTC_INCLUDE += $(tegra-dtstree)/soc/t23x/kernel-include
 DTC_INCLUDE += $(tegra-dtstree)/soc/t23x/kernel-dts
-DTC_INCLUDE += $(tegra-dtstree)/platform/t23x/common/kernel-dts
+DTC_INCLUDE += $(tegra-dtstree)/platform/t23x/common
 DTC_INCLUDE += $(tegra-dtstree)/platform/t23x/automotive/kernel-dts/common/linux/
 endif
1 Like

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