Compile step
- 21 Jun 2022
- 1 Minute to read
-
Print
-
DarkLight
-
PDF
Compile step
- Updated on 21 Jun 2022
- 1 Minute to read
-
Print
-
DarkLight
-
PDF
The gccv7 tool chain is prepared by script
<nvidia_folder>Linux_for_Tegra/sources/kernel/gcc_tool_chain
Compile kernel
$ cd <nvidia_folder>/Linux_for_Tegra/sources/kernel/kernel-4.9/
$ sudo chmod 777 compile_kernel.sh
$ ./compile_kernel.sh
kernel image location
arch/arm64/boot/Image
device-tree location
arch/arm64/boot/dts/
# For Xavier NX with TEK3-NVJETSON
tegra194-p3668-tek3-nvjetson-a1.dtb
# For Nano with TEK3-NVJETSON
tegra210-tek3-nvjetson-a1.dtb
# For Xavier NX with TEK8-NVJETSON
tegra194-p3668-tek8-nvjetson-a1.dtb
kernel modules location
../modules/lib/
Compile u-boot (Nano only)
$ cd <nvidia_folder>/Linux_for_Tegra/sources/u-boot/
$ sudo chmod 777 compile_u-boot.sh
$ ./compile_u-boot.sh
uboot.bin location
./u-boot.bin
Was this article helpful?