ESP-IDF v5 pre_encrypted_ota example

derricksenva
Posts: 18
Joined: Tue Aug 02, 2022 8:19 pm

ESP-IDF v5 pre_encrypted_ota example

Postby derricksenva » Wed Sep 28, 2022 5:14 pm

Our team is evaluating the example from https://github.com/espressif/esp-idf/tr ... rypted_ota, but our intention is to implement pre-encrypted binaries with OTA updates using the latest stable release from https://github.com/espressif/esp-idf/tree/v4.4.2. We found a previously closed issue from https://github.com/espressif/esp-idf/is ... 1101345156 and it directs the user to cherry pick two commits, but both are merge commits and are not valid for a straightforward git cherry-pick command. What command/options should we be running specifically? Are we supposed to be cherry picking multiple commits, a range, etc.?

ESP_Mahavir
Posts: 188
Joined: Wed Jan 24, 2018 6:51 am

Re: ESP-IDF v5 pre_encrypted_ota example

Postby ESP_Mahavir » Tue Oct 04, 2022 4:40 pm

Hello,

Please refer to the branch that I created on top of ESP-IDF v4.4.2 here: https://github.com/mahavirj/esp-idf/tre ... ota_v4.4.2

I have tested build for the `pre_encrypted_ota` example on this branch, it went smoothly. I have not tested the actual functionality but I think it should work too. Please let me know if this helps.

Alternatively, you can also use ESP-IDF v5.0-beta1 release which has this feature available in it.

Thank you.

derricksenva
Posts: 18
Joined: Tue Aug 02, 2022 8:19 pm

Re: ESP-IDF v5 pre_encrypted_ota example

Postby derricksenva » Wed Oct 05, 2022 3:57 pm

ESP_Mahavir wrote:
Tue Oct 04, 2022 4:40 pm
Hello,

Please refer to the branch that I created on top of ESP-IDF v4.4.2 here: https://github.com/mahavirj/esp-idf/tre ... ota_v4.4.2

I have tested build for the `pre_encrypted_ota` example on this branch, it went smoothly. I have not tested the actual functionality but I think it should work too. Please let me know if this helps.

Alternatively, you can also use ESP-IDF v5.0-beta1 release which has this feature available in it.

Thank you.
Thank you. We'll try out your feature branch, since it's a priority for us to use stable releases with as little modifications as possible. Is the implementation on this feature branch equivalent to what's on v5.0-beta1?

Also, is there a schedule/timeline for the next stable release that will include this feature (stable release based on either v4.4 or v5.0)?

ESP_Mahavir
Posts: 188
Joined: Wed Jan 24, 2018 6:51 am

Re: ESP-IDF v5 pre_encrypted_ota example

Postby ESP_Mahavir » Thu Oct 06, 2022 4:16 am

Is the implementation on this feature branch equivalent to what's on v5.0-beta1?
Yes
Also, is there a schedule/timeline for the next stable release that will include this feature (stable release based on either v4.4 or v5.0)?
I do not have specific timeline but we plan to prepare v5.0-RC in next few days. Hopefully we will have official v5.0 release by end of this month.

Who is online

Users browsing this forum: Baidu [Spider] and 80 guests