Debian Toolchain installation
This page is using the default release mx8m-debian-bullseye-5.4-2.1.x-v1.4.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit variwiki.com
- Select your SoM
- Select the software release
Installing the toolchain
To install the toolchain, please go through the following steps of the Debian Build Release guide:
- Setup Development Environment
- Installing required packages
- Download Debian archive
- Deploy/Fetch the sources and components
You will have a development environment from this point, including the toolchain and the packages ready to be used.
The GNU Linux toolchain gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu can be found at ~/debian_imx8mq-var-dart_debian_bullseye/toolchain.
Build the sysroot/rootfs
To build the rootfs, which can be used as the sysroot for the cross-compilation, please follow the steps of the section Setup and build Debian.
The Debian build script uses debootstrap to create a minimal Debian Bullseye system and adds the BSP support. Please consider installing extra (dev-)packages to your Debian file system as per your needs.
A guide for adding or updating packages can be found here:
You can look up the available packages for Debian Bullseye at the Debian packages directory.
Please refer to the Debian Setup TFTP/NFS guide for more information on how to setup a TFTP/NFS configuration.