Compile step
  • 19 Sep 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Compile step

  • Dark
    Light
  • 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/
$ ./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-NX210V
tegra194-p3668-tek8-nx210v-a1.dtb

kernel modules location

../modules/lib/


Compile u-boot (Nano only)

$ cd <nvidia_folder>/Linux_for_Tegra/sources/u-boot/
$ ./compile_u-boot.sh

uboot.bin location

./u-boot.bin

Was this article helpful?

What's Next