Reflashable Secure boot issue
Posted: Fri Jun 14, 2019 11:35 pm
I'm trying to enable reflashable secure boot for some development devices. Using esp-idf and esp32 arduino as component.
Steps I have taken following the secure boot documentation.
1. In menuconfig: Enable hardware secure boot in bootloader - reflashable - sign binaries during build
2.
3. make bootloader - follow instruction to flash the bootloader key - then flash the bootloader - check espefuse.py summary (key has been burned)
4. make flash
5. open up a serial monitor using putty. It shows a bunch of weird characters. hello world isn't running. Even after restart. 6. check espefuse.py summary again ABS_DONE_0 has NOT been burned by bootloader
Before I run make flash this is what I get on the serial output. I don't know what I missed. I can deselect secure boot in the menuconfig and reflash everything on the same board after a make and my code runs fine but without secure boot.
Steps I have taken following the secure boot documentation.
1. In menuconfig: Enable hardware secure boot in bootloader - reflashable - sign binaries during build
2.
Code: Select all
espsecure.py generate_signing_key secure_boot_signing_key.pem
4. make flash
5. open up a serial monitor using putty. It shows a bunch of weird characters. hello world isn't running. Even after restart. 6. check espefuse.py summary again ABS_DONE_0 has NOT been burned by bootloader
Before I run make flash this is what I get on the serial output. I don't know what I missed. I can deselect secure boot in the menuconfig and reflash everything on the same board after a make and my code runs fine but without secure boot.