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.
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.