Compilation of Orin sources - issues

Hi.

I cloned Release 34.1.
I want to download sources, so i run source_sync.sh script.

According to the official manual, release tag is jetson-r34.1.0:

But software can’t find tag:

Couldn't find tag jetson-r34.1.0
/media/programmer/06f11819-bea4-4a65-a3b5-569303d4e4a6/work/orin/Linux_for_Tegra/sources/hardware/nvidia/soc/tegra source sync to tag jetson-r34.1.0 failed!

Another one issue:

Downloading default kernel/nvethernetrm source...
Cloning into '/media/programmer/06f11819-bea4-4a65-a3b5-569303d4e4a6/work/orin/Linux_for_Tegra/sources/kernel/nvethernetrm'...
fatal: Unable to look up nv-tegra.nvidia.com (port 9418) (Name or service not known)
/media/programmer/06f11819-bea4-4a65-a3b5-569303d4e4a6/work/orin/Linux_for_Tegra/sources/kernel/nvethernetrm source sync failed!

How to resolve it?

Hi dimaz,

The right tag to use is “jetson-r34.1_dp”, it’s our typo, our document/web team are correcting the 34.1 release notes in Jetson Linux | NVIDIA Developer and Jetson Software Documentation pages.

1 Like

Hi kayccc.

Thank you, it works.

Next issue is related to the compilation process:

 HOSTCC  scripts/dtc/dtc-parser.tab.o
 HOSTLD  scripts/dtc/dtc
 HOSTCC  scripts/kallsyms
 HOSTCC  scripts/sorttable
 DTC     arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000.dtb
 HOSTCC  scripts/genksyms/genksyms.o
In file included from arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000.dts:17:0:
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
#include <t234-common-cvm/tegra234-cvm-p3701.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....

How to resolve it?