The Trusted Firmware software stack uses the Yocto Project to build a tiny Linux distribution suitable for the Corstone-1000 platform.

Use your Linux development machine to build the software and run on the Corstone-1000 FVP.

Set up the build environment

Set up your build environment by installing the required software packages.


            sudo apt-get install -y git curl wget build-essential libssl-dev python3 python3-pip cmake make

You can review the Trusted Firmware Getting Started documentation for more information.

Install the required software for the Corstone-1000 stack

As per the User Guide , install these additional required software packages:


            sudo apt-get update
sudo apt-get install -y gawk wget git-core diffstat unzip texinfo gcc-multilib \
 build-essential chrpath socat cpio python3 python3-pip python3-pexpect \
 xz-utils debianutils iputils-ping python3-git libegl1-mesa libsdl1.2-dev \
 xterm zstd liblz4-tool picocom

            sudo apt-get upgrade -y libstdc++6

The kas utility is used to build the supplied projects. Install with:


            sudo pip3 install kas

Clone Yocto project

Clone the Yocto repository to your build machine:


            git clone -b langdale git://

Clone Arm platform build recipes

Navigate into the project, and clone the meta-arm layer.


            cd poky
git clone

Build the software

You can build the software for FVP or MPS3


Each build can take over one hour to complete!

Build for Corstone-1000 FVP

Start the build:


            kas build meta-arm/kas/corstone1000-fvp.yml

Build for MPS3 AN550

Start the build:


            kas build meta-arm/kas/corstone1000-mps3.yml