Page 1 of 1

ESP32 Flash Encryption+ Secure Booth Error in veryfying partition table

Posted: Fri Jul 26, 2019 8:16 am
by arunkat
Hi,

I have enabled Secure Boot and Flash Encryption. Attached is the espefuse summary. I am getting errors saying failed to verify partition table even though partition signed file is created properly in my build director.

Please suggest what I am missing here...

Thanks,
Arun
=============================================================================
efuse_summary.txt
Efuse eummary
(3.43 KiB) Downloaded 549 times
st:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:6520
load:0x40078000,len:18248
load:0x40080400,len:6048
entry 0x400806dc
E (56) flash_parts: partition 0 invalid magic number 0x9496
E (57) boot: Failed to verify partition table
E (58) boot: load partition table error!
make_encrypted_flash_output.txt
make encrypted_flash monitor error messages
(28.09 KiB) Downloaded 569 times

Re: ESP32 Flash Encryption+ Secure Booth Error in veryfying partition table

Posted: Fri Jul 26, 2019 9:12 pm
by WiFive
It seems like encryption is permanently disabled somehow?

Code: Select all

FLASH_CRYPT_CNT        Flash encryption mode counter                     = 0 R/- (0x0)
So if you are flashing an encrypted partition table it will not be valid.