The files within this repository help to create containers and ease cross compiling.
The cross compiler and its toolchain must be for ARMv7 architecture with hardware floating point support (armv7-hf). There are several possibilities to get a cross toolchain:
- Use the SDK (recommended)
- In case you use Gentoo on your host: install a cross compiler using "crossdev"
- Get another toolchain (e.g. Ubuntu, Linaro, buildroot ...)
It is recommended to use the prepared SDK. It's a virtual Machine (VirtualBox) with a tiny Gentoo Linux distribution and the crossdev target armv7-hf. More detailed instructions are here.
This repository is all about build scripts. Most likely you already have cloned this repository, as you are reading this text. If that's not the case log into the SDK (console or ssh) and clone this repository by typing:
$ ssh user@IP-address-of-SDK $ git clone https://github.com/insys-icom/M3_Container.git
The cross compiler in combination with the build scripts from this repository create new binaries and a new container. This will create a default container:
$ cd M3_Container $ ./scripts/create_container_default.sh
The scripts will download all needed open source packets from the internet and compile an update packet with the container to be installed on an M3 device.