I have moved the partition table to 0xA000 and verified the system flashes and boots correctly (to make room for the bootloader).
I then did a menuconfig to set the encryption flag to build the encryption bootloader.
Code: Select all
# Security features
#
# CONFIG_SECURE_SIGNED_APPS_NO_SECURE_BOOT is not set
# CONFIG_SECURE_BOOT is not set
CONFIG_SECURE_FLASH_ENC_ENABLED=y
# CONFIG_SECURE_FLASH_ENCRYPTION_MODE_DEVELOPMENT is not set
CONFIG_SECURE_FLASH_ENCRYPTION_MODE_RELEASE=y
Code: Select all
rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
invalid header: 0x5be26a30
invalid header: 0x5be26a30
invalid header: 0x5be26a30
invalid header: 0x5be26a30
invalid header: 0x5be26a30
invalid header: 0x5be26a30
invalid header: 0x5be26a30
ets Jul 29 2019 12:21:46