sys/{suit,riotboot}: updates without riotboot header#22281
Open
fabian18 wants to merge 6 commits into
Open
Conversation
de4695b to
1573fdd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
Allow firmware update without
riotbootheader.The header can be generated by the current image.
This can prevent incompatibilities and reduces the firmware payload.
The bootloader is not OTA updateable. It relies on a riotboot header prepended to the image.
A new firmware must be shipped with a compatible header #21825 .
The producer of the new image may not now the currently running revision number which must be increasingly updated #21510 .
Testing procedure
With #21565.
DEVELHELP=1 USE_ETHOS=0 SUIT_COAP_SERVER_IFACE=enp1s0f0 BOARD=same54-xpro make -C examples/advanced/suit_update/ flashDEVELHELP=1 USE_ETHOS=0 SUIT_COAP_SERVER_IFACE=enp1s0f0 BOARD=same54-xpro make -C examples/advanced/suit_update/ suit_coap_serverDEVELHELP=1 USE_ETHOS=0 SUIT_COAP_SERVER_IFACE=enp1s0f0 BOARD=same54-xpro make -C examples/advanced/suit_update/ termPublish without boot header:
SUIT_PAYLOAD_IMAGE_ONLY=1 DEVELHELP=1 USE_ETHOS=0 SUIT_COAP_SERVER_IFACE=enp1s0f0 BOARD=same54-xpro make -C examples/advanced/suit_update/ suit/publishPublish with boot header:
SUIT_PAYLOAD_IMAGE_ONLY=0 DEVELHELP=1 USE_ETHOS=0 SUIT_COAP_SERVER_IFACE=enp1s0f0 BOARD=same54-xpro make -C examples/advanced/suit_update/ suit/publishIssues/PRs references
Declaration of AI-Tools / LLMs usage:
AI-Tools / LLMs that were used are: