The Project of native ota example can't open secure boot config.

shawn2019
Posts: 13
Joined: Mon Oct 07, 2019 2:39 am

The Project of native ota example can't open secure boot config.

Postby shawn2019 » Mon Oct 07, 2019 2:50 am

First, I use `idf.py menuconfig` to open secure boot config, and then I gen pem file by espsecure.py or openssl, then last `idf.py build`, there is some error, the error infor as follow:

Code: Select all

undefined reference to `_binary_signature_verfication_key_bin_start`
But if I do the same in the project with named "blink" example, It's ok!

Then I try to add COMPONENT_EMBED_TXTFILES ${project_dir}/...pem , however the issuse remain.

I use:
idf 4.1 beta
idf Tools 2.1
cmake 3.15.4
python 3.7

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: The Project of native ota example can't open secure boot config.

Postby ESP_Angus » Tue Oct 08, 2019 5:28 am

Hi Shawn,

That's strange. Is it possible there's also another error earlier in the build output, about the .pem file not being found?

Angus

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: The Project of native ota example can't open secure boot config.

Postby WiFive » Tue Oct 08, 2019 7:21 am

Not sure what you are trying to do but are you confusing the roles of SSL pem and secure boot pem?

shawn2019
Posts: 13
Joined: Mon Oct 07, 2019 2:39 am

Re: The Project of native ota example can't open secure boot config.

Postby shawn2019 » Wed Oct 09, 2019 11:01 am

WiFive wrote:
Tue Oct 08, 2019 7:21 am
Not sure what you are trying to do but are you confusing the roles of SSL pem and secure boot pem?
Hi WiFive, I'm sure it's a bug in IDF 4.0beta1, the patch has post to ESP_Angus. Tks!

Who is online

Users browsing this forum: Abisha and 189 guests