-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app_update: Add esp_ota_write_raw function to write pre-encrypted data (IDFGH-5583) #7305
Conversation
Use esp_ota_write_raw instead esp_ota_write to write pre-encrypted data. Signed-off-by: Axel Lin <[email protected]>
Hi @mahavirj |
@AxelLin I am not quite clear on this change. So you think that application needs to take care about correct "pre-encrypted" image per flash offset of passive OTA update slot? |
Hi @mahavirj |
@AxelLin Thanks for explaining. It will be difficult to accept this PR, unless we add lot of explanation in documentation (and probably application as well) to clarify usage scenario here. I would request that we wait for official approach as I had highlighted in #6172 (comment). Of course, if someone find this change useful they can always refer to PR here. |
And honestly, such requirement (ota with pre-encrypted image) has been asked so many times. If this PR is not acceptable, I have no choice but to maintain my on fork of esp-idf. |
On the second thought, by calling esp_ota_get_next_update_partition() the The only thing needs to comment or document is the feteched encrypted ota image needs BTW, this is probably off-topic. |
@AxelLin - We have to keep changing priorities of the deliverables based on constantly changing demands/requirements. For example, #3671 (comment) says that 11r will be prioritised over 11k, 11v, however, we had to make 11k and 11v ready before 11r for other prerequisites. Our intention of providing the tentative timeline is to give visibility to everyone based on the current inputs. This may or may not translate into hard deadlines for us. Hope you understand! |
Take a look at #3671 |
Use esp_ota_write_raw instead esp_ota_write to write pre-encrypted data.
Signed-off-by: Axel Lin [email protected]