mixed update strategies, in-place decryption - is it possible? #1925
Unanswered
tdjastrzebski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to implement what I thought would be a simple Cortex-M33 firmware update scenario for a device like a fancy office coffee machine (non-IoT) routinely serviced by a field engineer.
MCUBOOT_PRIMARY_ONLY
/MCUBOOT_OVERWRITE_ONLY
/MCUBOOT_ENC_IMAGES
options.Unless I am missing something, it seems that the above scenario cannot be easily implemented with current version of MCUboot.
I think the only way it could be done without too much code changes is by using two separate sets of configs which will allow MCUboot to believe that Secure Loader is the only image to load (two slots) while Secure Loader would be configured with
MCUBOOT_PRIMARY_ONLY
,MCUBOOT_OVERWRITE_ONLY
,MCUBOOT_ENC_IMAGES
options to load the Main App (just one large, initially encrypted slot). In any case, it probably still is a lot of rework.Please advise
Beta Was this translation helpful? Give feedback.
All reactions