Quick build instructions
This section sums up the necessary steps to build trust|me on different architectures. For a detailed explanation of each build step please refer to the build section and make sure prerequisites have been met.
x86 platforms
mkdir ws-yocto
cd ws-yocto
repo init -u https://github.com/trustm3/trustme_main.git -b dunfell \
-m yocto-x86-genericx86-64.xml
repo sync -j8
source init_ws.sh out-yocto x86 genericx86-64
bitbake multiconfig:container:trustx-core
bitbake trustx-cml
bitbake trustx-keytool
In order to create a bootable installation medium for installing trust|me on an internal disk, also execute the following command:
bitbake multiconfig:installer:trustx-installer
Xilinx Zynq ZCU104 platform
mkdir ws-yocto
cd ws-yocto
repo init -u https://github.com/trustm3/trustme_main.git -b master \
-m yocto-arm64-zcu104-zynqmp.xml
repo sync -j8
source init_ws.sh out-yocto arm64 zcu104-zynqmp
bitbake multiconfig:container:trustx-core
bitbake trustx-cml
Raspberry Pi3
mkdir ws-yocto
cd ws-yocto
repo init -u https://github.com/trustm3/trustme_main.git -b dunfell \
-m yocto-arm64-raspberrypi3-64.xml
repo sync -j8
source init_ws.sh out-yocto arm64 raspberrypi3-64
bitbake multiconfig:container:trustx-core
bitbake trustx-cml
Raspberry Pi2
mkdir ws-yocto
cd ws-yocto
repo init -u https://github.com/trustm3/trustme_main.git -b dunfell \
-m yocto-arm64-raspberrypi2.xml
repo sync -j8
source init_ws.sh out-yocto arm32 raspberrypi2
bitbake multiconfig:container:trustx-core
bitbake trustx-cml