NVIDIA Supported Cross Toolchains

A cross toolchain refers to the compiler, linker, and target's C library that executes on the host (x86 or x86_64) but generates code for the ARM architecture. The C library is used for linking compiled code to create the target application.

The toolchains provided in the SDK(in $TOP/toolchains) are described in the table below.

Directory Components Where to use the toolchain Sources
armv7-eabihf-stable-2020.08-1 GCC - 9.3.0 Binutils - 2.31 glibc-2.33 STDC++: 6.0.28 (GLIBCXX_3.4.28) Origin - Bootlin Building 32-bit modules for trusted OS Debian Installer:

nv-driveos-foundation-oss-src-<release><GCID>_amd64.deb

Files:

<top>/drive-foundation_src/bootlin/toolchain-sources_stable-2020.08-1_src.tar.gz

Sources from upstream:

https://toolchains.bootlin.com/downloads/releases/sources/
Buildroot deconfig:
Extract <top>/drive-foundation_src/bootlin/toolchain-sources_stable-2020.08-1_src.tar.gz
<top>/drive-foundation_src/bootlin/toolchain-sources_stable-2020.08-1_src/armv7-eabihf-glibc-stable-2020.08-1.defconfig|
aarch64-stable-2022.03-1 GCC - 9.3.0 Binutils - 2.31 glibc-2.33 STDC++: 6.0.28 (GLIBCXX_3.4.28) Origin - Bootlin Binding a guest PCT to the hypervisor, building 64-bit Quickboot,Building 64-bit Trusted OS, and building user-space components

Debian Installer:

nv-driveos-foundation-oss-src-<release><GCID>_<release><GCID>_amd64.deb

Files:

<top>/drive-foundation_src/bootlin/toolchain-sources_stable-2020.08-1_src.tar.gz

<top>/drive-foundation_src/bootlin/toolchain-sources_stable-2022.03-1_src.tar.gz

Sources from upstream:

https://toolchains.bootlin.com/downloads/releases/sources/

Also contains Nvidia customized GCC source code in <top>/drive-foundation_src/bootlin/toolchain-sources_stable-2022.03-1_src.tar.gz

Buildroot deconfig:
Extract <top>/drive-foundation_src/bootlin/toolchain-sources_stable-2022.03-1_src.tar.gz
<top>/drive-<TBD_platform_ver>-stable-2022.03-1.defconfig
armv5-eabi-stable-2020.08-1 GCC - 9.3.0 Binutils - 2.31 glibc-2.33 STDC++: 6.0.28 (GLIBCXX_3.4.28) Origin - Bootlin For ADSP firmware and ADSP plugins compilation

Debian Installer:

nv-driveos-foundation-oss-src-<release><GCID>_amd64.deb

Files:

<top>/drive-foundation_src/bootlin/toolchain-sources_stable-2020.08-1_src.tar.gz

Sources from upstream:

https://toolchains.bootlin.com/downloads/releases/sources/

Buildroot deconfig:
Extract <top>/drive-foundation_src/bootlin/toolchain-sources_stable-2020.08-1_src.tar.gz
<top>/drive-<TBD_platform_ver>-stable-2020.08-1.defconfig|