Jetson 5.0 kernel 5.10

I tried compiling kernel source, following the instructions from https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/kernel_custom.html#wwpID0E0WD0HA . I am facing the below error, I tried finding “tegra234-super-module-e2614.dts” dts file but could not locate it anywhere in the source code. There are few files which include this dts file.

arch/arm64/boot/dts/…/…/…/…/…/…/hardware/nvidia/platform/t23x/concord/kernel-dts/cvb/tegra234-p3737-super-module-e2614.dtsi:14:10: fatal error: t234-common-modules/tegra234-super-module-e2614.dtsi: No such file or directory
#include <t234-common-modules/tegra234-super-module-e2614.dtsi>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
arch/arm64/boot/dts/Makefile:79: recipe for target ‘arch/arm64/boot/dts/ddot/ddot/ddot/ddot/ddot/ddot/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000.dtb’ failed
make[1]: *** [arch/arm64/boot/dts/ddot/ddot/ddot/ddot/ddot/ddot/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000.dtb] Error 1
Makefile:1389: recipe for target ‘dtbs’ failed
make: *** [dtbs] Error 2
make: *** Waiting for unfinished jobs…
CALL scripts/atomic/check-atomics.sh
CALL scripts/checksyscalls.sh

Did you update the tools chain?

Yes I am using this version - “gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu”. The steps are as below.
export CROSS_COMPILE=
export LOCALVERSION=-tegra
make ARCH=arm64 O=$TEGRA_KERNEL_OUT tegra_defconfig
make ARCH=arm64 O=$TEGRA_KERNEL_OUT -j4

Download sources package and follow document steps to build the kernel, replaced nvgpu.ko , Image and install kernel modules then full flash image, after boot up, the DP display can show up without problem.

Download Bootlin Toolchain gcc 9.3 from: Jetson Linux 34.1 | NVIDIA Developer

  • Setting the CROSS_COMPILE_AARCH64 path:
    $ export CROSS_COMPILE=$HOME/l4t-gcc/bin/aarch64-buildroot-linux-gnu-

Thank you for the support.

Note, toolchain discussion here is a red herring. Yes, it’s time to move to gcc 9x, 10x,11x and beyond. The world only moves forward.

Regarding the DTSI error: 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.

1 Like

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