Installing the ARM bring-up tools
A set of tools is available for developing non-Linux code on Cortex A9 cores. These tools are distributed as part of the ST Linux Distribution and can be installed using the ST Linux Distribution installer script. The installer script can be downloaded from the ST Linux FTP server here.
The ST Linux FTP server contains all the necessary tools for installing the distribution from the file system, or over the internet. The installer script uses yum to handle the installation and dependency checking of RPM files. Details on how to use the ST version of yum without using the installer script can be found here.
After downloading the installer script run the following commands to install the ARM bring-up tools:
host% chmod +x install
Then as root:
host# ./install bare-armv7
The following packages will be automatically installed:
stlinux24-bare-armv7-filesystem stlinux24-bare-armv7-binutils stlinux24-bare-armv7-binutils-dev stlinux24-bare-armv7-binutils-doc stlinux24-bare-armv7-cpp stlinux24-bare-armv7-cpp-doc stlinux24-bare-armv7-g++ stlinux24-bare-armv7-gcc stlinux24-bare-armv7-gcc-doc stlinux24-bare-armv7-hw-init-examples stlinux24-bare-armv7-newlib stlinux24-bare-armv7-protoize stlinux24-cross-armv7-filesystem stlinux24-cross-armv7-armdebug stlinux24-cross-armv7-gdb stlinux24-host-filesystem stlinux24-host-stmc stlinux24-host-targetpacks
Path setup
Developers should add the following directories to their PATH environment:
/opt/STM/STLinux-2.4/bare/armv7/bin /opt/STM/STLinux-2.4/devkit/armv7/bin /opt/STM/STLinux-2.4/host/bin
Keeping the toolset up to date
If one of the above packages is updated, it is recommended to use the stmyum utility to install the latest updates.
Update all packages with:
host# /opt/STM/STLinux-2.4/host/bin/stmyum update