GNU ARM Embedded Toolchain for Centos 7.3  

The purpose of this webpage is to explain how to get the GNU ARM Embedded Toolchain running in Centos 7.3 (x86_64)

I had the specific purpose of trying to build the firmware for the Tyt MD-380 hand-held radio.

More details about the Experimental firmware can be found HERE


I suggest that you do not try to use the GNU ARM Linux tools that are part of the standard EL7 repo.

Instead I suggest downloading the toolchain from a specific website and performing the neccessary changes to make the compiler work in Centos 7.3.

How to install the toolchain:

Step 1: Download the latest Linux 64-Bit toolchain from:

When I wrote this guide, the current version was gcc-arm-none-eabi-6-2017-q2-update-linux

cd /opt
bunzip2 gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2
tar xvf gcc-arm-none-eabi-6-2017-q2-update-linux.tar 

Step 2: Edit the global default bashrc so the compiler will be found
vi /etc/bashrc

Add to the bottom of the file the following: (assuming the same version was downloaded)
save the file, logout, login again to activate the new path

Step 3: Create the missing shasum

During the compile of the experimental firmware, the make process failed stating that shasum was missing.
We can easily create a script to provide the missing functionality
vi /usr/bin/shasum

Add the following 3 lines to the new file:
shift 2
sha256sum $@

After you have saved the file, change the permissions:
chmod 755 /usr/bin/shasum

Step 4: Enjoy the ARM cross compiler!

Dziękuję Ci to Lucas Piskunowicz for help sorting this out!

Send Feedback...
Send a message to Mark, VE3PZR

Copyright © 2013-2018 by Mark Bramwell, London, Canada. All rights reserved.