Skip to content
Docker Build Environment for Trusted Firmware for M-profile Arm CPUs
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Collect artifacts in ZIP file Aug 21, 2018
submodules
.dockerignore
.gitignore
.gitmodules Add CircleCI support for automatically building firmware Aug 20, 2018
Dockerfile
LICENSE Initial commit Aug 19, 2018
Makefile Add debug information to all trusted-firmware-m modules built Aug 21, 2018
README.md Add link to Arm Trusted Firmware for Memory Explorer Aug 21, 2018

README.md

Building Trusted Firmware for M-profile Arm CPUs in Docker

Build status: CircleCI

See CircleCI for quick access to build results in the artifacts tab. Please note that *.axf files are in fact *.elf files 0 - feel free to analyse and & dissasemble using arm-none-eabi-objdump in the provided docker image.

Further reading

Manually compiling trusted-firmware-m:

# Create shared directory between host and docker container, allowing
# you to use your host OS's native text editor for changing tfm code.
mkdir -p shared

# Download and run docker container for building TFM
docker run --rm -ti -v $PWD/shared:/home/build/shared:Z meriac/build-tfm

# Download sources including dependencies
cd shared
git clone --recurse-submodules -j8 https://github.com/meriac/trusted-firmware-m-build

# Build Trusted Firmware for M-profile Arm CPUs
cd trusted-firmware-m-build
make compile

# Show compiled outputs
ls -l build/install/outputs/*
# ... your host directory 'shared' contains now the compiled binaries

# Disassemble one of the compiled files
arm-none-eabi-objdump -d build/install/outputs/AN521/mcuboot.axf | less
You can’t perform that action at this time.