Merge 'fixeria/trx' into master
[osmocom-bb.git] / src / README.building
blobf73f661a5d18b377c95b9da011c0ffcaf789228f
1 == How to build OsmocomBB? ==
3 === Prerequisites ===
5 We assume you are building on a GNU/Linux host system such as Debian
6 GNU/Linux.  Successful builds have also been reported using MacOS X
7 and the Cygwin environment for MS Windows, but we do not officially support
8 this.
10  * Make sure you have compiled and installed a recent version of
11    libosmocore. See http://bb.osmocom.org/trac/wiki/libosmocore
13    DO NOT USE the libosmocore version embedded in this git tree. This
14    is a special version used internally and MUST NOT be used as
15    system-wide libosmocore.
17  * Get a GNU toolchain (gcc/binutils) for ARM (e.g. from http://gnuarm.com/)
18  * Set your path to include the arm-elf-* executables of your toolchain
20  * call 'make' in this (the src) subdirectory
22 === Details ===
24 The master Makefile will build:
26  * libosmocore for the target (ARM)
27  * osmocon and layer23 executables for the host (linking libosmocore)
28  * the actual target firmware images (in src/target/firmware/board/*/*.bin)
31 == Transmitting ==
33 For safety reasons, all code that can enable the transmitter on the phone is
34 disabled in the default builds.  Plese check the src/target/firmware/Makefile
35 for the "#CFLAGS += -DCONFIG_TX_ENABLE" line.
37 Please notice that GSM operates in licensed spectrum and in most jurisdictions
38 you will need a license from a regulatory authority to transmit.