Usually you don’t need to build the firmware yourself. Instead you probably just want to download pre-built releases.
Setting up a build system
Basic Linux/VirtualBox setup
You now need some sort of Linux system to run the build process.
I used Ubuntu Desktop x64, Version 15.10 (http://www.ubuntu.com/download/desktop); installed in a VirtualBox (https://www.virtualbox.org/wiki/Downloads) running on Windows 10 Pro x64 as Host.
The steps below have been tested under these conditions.
When creating a new virtual machine, be sure go assign sufficient virtual hard disk space (8GB certainly isn’t enough – I used 32GB HD-space, 3072 MB memory.
Installing the tools required to build
All further steps are performed on the Linux system running within VirtualBox.
The build process requires mercurial, to get the source files for the firmware, git is required.
Open a terminal (on Ubuntu: right-click on desktop and select “Open terminal”) and install the missing packages:
sudo apt-get install git
sudo apt-get install mercurial
(Note: These are the commands for Ubuntu and other distributions using apt as package management tool. Your distribution might use different tools to install missing packages.)
Building the ftcommunity-TXT-firmware from the sources
For all further steps it is assumed that we start out in the user’s home directory ~:
Note: So your local copy of the git repository will be located in the directory ~/ftcommunity-TXT (= /home/[INDIVIDUAL_USERNAME]/ftcommunity-TXT).
Fetch the source code of the ftcommunity-TXT firmware from the git repository:
git clone https://github.com/ftCommunity/ftcommunity-TXT.git
This creates a new directory named ftcommunity-TXT in the current (=home) directory.
Change to this directory:
Now start the actual build process
make (on first run this will take several hours, depending on CPU and download speed)
Attention: Internet access is required permanently during the build process as further files (several gigabytes) have to be downloaded.
If you intend to do an offline build and just want to download all sources then use
buildroot before the actual
make in the main directory.
Side remark – Speeding up the build process
To speed up the process, you can run the build process by starting the actual build process with
instead of the plain “make”.
Then start the build process anew – it will pick up where it left off:
Side remark - further details about building embedded systems based on Buildroot (such as the TXT firmware):