Much TODO but...
python easy_sign.py --generate // generate signing keys
python easy_sign.py --sign Enclave-Bootloader/STM32F1/build/enclave_stage1.bin // sign firmware image, outputs os.ticket file
python easy_sign.py --stitch Enclave-Bootloader/STM32F1/build/enclave_stage1.bin --ticket os.ticket // stitch the ticket to the firmware
The root repository is bootloader, which has scripts for building the bootloader tree along with configuring and building qemu.
git clone https://github.com/Haifisch/bootloader.git
git submodule update --init --recursive
If all is well with git, simply run the following to build all sources.
make all
make qemu
make bootloader