Skip to content
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

ota: Enable upgrade verifiation if AVB signed and rollback_index set #5

Conversation

JianyuWang0623
Copy link
Member

Summary

ota: Enable upgrade verifiation if AVB signed and rollback_index set

Impact

OTA

Testing

  1. Selftest
# vela_test4.bin was AVB signed with rollback_index 1, others with 0 or not signed

$ ./gen_ota_zip.py ./full_imgs/ --sign --debug
[DEBUG]add ./full_imgs//vela_test0.bin
[DEBUG]add ./full_imgs//vela_test1.bin
[DEBUG]add ./full_imgs//vela_test2.bin
[DEBUG]add ./full_imgs//vela_test3.bin
[DEBUG]add ./full_imgs//vela_test4.bin
[DEBUG]add ./full_imgs//vela_test5.bin
[DEBUG]add ./full_imgs//vela_test6.bin
[DEBUG]Enabled update verification for vela_test4.bin
[INFO]ota.zip, signature success!

@JianyuWang0623
Copy link
Member Author

Depends on open-vela/external_avb#1

@JianyuWang0623 JianyuWang0623 force-pushed the br_wjy_system_ota_upgrade_verify_if_idx_set_250102 branch from c88026c to 513703c Compare January 2, 2025 07:32
@JianyuWang0623 JianyuWang0623 force-pushed the br_wjy_system_ota_upgrade_verify_if_idx_set_250102 branch from 513703c to 869bbfc Compare January 2, 2025 07:34
@xiaoxiang781216 xiaoxiang781216 merged commit 8773353 into open-vela:dev Jan 2, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants