Chapt 4. Linux SDK - orangepi-build instruction
4.2.2. Download the cross-compilation toolchain
When orangepi-build runs for the first time, it will automatically download the cross-compilation toolchain and put it in the toolchains folder.
Every time you run the build.sh script of orangepi-build, it will check whether the cross-compilation toolchain in toolchains exists.
If it does not exist, the download will be restarted, if it exists, it will be used directly, and the download will not be repeated.
Img
4.2
The mirror URL of the cross-compilation toolchain in China is the open source software mirror site of Tsinghua University:
Tsinghua University
After the toolchains are downloaded, it will contain multiple versions of the cross-compilation toolchain:
test@test:~/orangepi-build$ ls toolchains/
gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu
gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu
gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabi
gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf
gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabi
gcc-linaro-aarch64-none-elf-4.8-2013.11_linux
gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu
gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabihf
gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux
gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf
gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu
gcc-linaro-arm-none-eabi-4.8-2014.04_linux
The cross-compilation toolchain used to compile the H618 Linux kernel source code is:
gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu
b. linux6.1
gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu
The cross-compilation toolchain used to compile the H618 u-boot source code is:
gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabi
b. v2021.07
gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu