view doc/Toolchain-setup-gcc @ 134:7d50d8d13711

FFS code sync with Magnetite + gcc version fix This change brings the new flash autodetection for FC and Pirelli targets from Magnetite, and should also fix the gcc version for C1xx and gtamodem targets, which were previously broken because they used TI's original flash autodetect code (which operates at address 0) while the boot ROM is mapped there.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Dec 2018 08:43:25 +0000
parents cdbe920fd725
children
line wrap: on
line source

Building and installing the ARM7 toolchain
==========================================

Before you can compile FC Selenite with gcc, you first need to build and
install the necessary toolchain targeting ARM7, the CPU core in the Calypso.
The current "official" GNU ARM toolchain for FreeCalypso consists of
binutils-2.21.1, gcc-4.5.4 and newlib-2.0.0 with a specific set of patches and
build configuration options.  All of the necessary bits can be downloaded here:

ftp://ftp.freecalypso.org/pub/GSM/FreeCalypso/toolchain/

Please note: the toolchain that is prescribed for FreeCalypso as above is
*believed* to be equivalent to the one that was once used by OsmocomBB, but
there are no guarantees.  Use any other toolchain at your own risk.

There is also a prebuilt toolchain put together by FreeCalypso community
contributor Das Signal:

https://www.freecalypso.org/members/ds/fc-gnu-arm-i386-2.tgz
https://www.freecalypso.org/members/ds/fc-gnu-arm-x86_64-2.tgz