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 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.
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 the Yocto repository to your build machine:
git clone -b langdale git://git.yoctoproject.org/poky.git
Navigate into the project, and clone the meta-arm
layer.
cd poky
git clone https://git.yoctoproject.org/git/meta-arm
You can build the software for FVP or MPS3
Each build can take over one hour to complete!
Start the build:
kas build meta-arm/kas/corstone1000-fvp.yml
Start the build:
kas build meta-arm/kas/corstone1000-mps3.yml