Haifisch / bootloader

enclave bootloader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Signing

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

Building

1) Grab the sources

The root repository is bootloader, which has scripts for building the bootloader tree along with configuring and building qemu.

Primary Repository

	git clone https://github.com/Haifisch/bootloader.git
	git submodule update --init --recursive

2) Building

If all is well with git, simply run the following to build all sources.

make all

2.a.) QEMU

make qemu

2.b.) bootloader

make bootloader

About

enclave bootloader


Languages

Language:C 94.5%Language:Python 4.3%Language:Makefile 0.9%Language:Shell 0.2%Language:C++ 0.1%