Page 1 of 1

ESP-IDF v5 pre_encrypted_ota example

Posted: Wed Sep 28, 2022 5:14 pm
by derricksenva
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.?

Re: ESP-IDF v5 pre_encrypted_ota example

Posted: Tue Oct 04, 2022 4:40 pm
by ESP_Mahavir
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.

Re: ESP-IDF v5 pre_encrypted_ota example

Posted: Wed Oct 05, 2022 3:57 pm
by derricksenva
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)?

Re: ESP-IDF v5 pre_encrypted_ota example

Posted: Thu Oct 06, 2022 4:16 am
by ESP_Mahavir
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.