ARM GCC
Toolchain for Nano
- Toolchain
apt-get install gcc-arm-none-eabi apt-get install gcc-arm-linux-gnueabi
- default config for nano: copy, paste, overwrite the .config into linux folder - https://github.com/Edragon/lichee-pi-config
- kernel - git clone --depth=1 -b f1c100s-480272lcd-test https://github.com/Icenowy/linux.git
make
make ARCH=arm menuconfig make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j16 #请自行修改编译线程数
arm none eabi gcc
sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
sudo apt-get update
sudo apt-get install gcc-arm-embedded
arm-none-eabi-gcc -v
installed in /usr/bin
- apt install gcc-arm-none-eabi
- Check where installed it: which arm-none-eabi-gcc -> /usr/bin/arm-none-eabi-gcc
- Test: arm-none-eabi-gcc --version
- Install dependency: sudo apt-get install build-essential checkinstall
- Check by make -v
arm-linux-gnueabi
arm linux gnu eabi hf gcc
- https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/arm-linux-gnueabihf/
- https://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/arm-linux-gnueabihf/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf.tar.xz
wget https://releases.linaro.org/components/toolchain/binaries/latest/arm-linux-gnueabihf/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf.tar.xz tar xvf gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf.tar.xz mv gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf /opt/ vim /etc/bash.bashrc # add: PATH="$PATH:/opt/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin" source /etc/bash.bashrc arm-linux-gnueabihf-gcc -v sudo apt-get install device-tree-compiler
Support
Most ARM devices