Skip to content

Conversation

@fmoessbauer
Copy link
Member

@fmoessbauer fmoessbauer commented Aug 5, 2025

This is a first and rough attempt to allow updating a ab-rootfs installed MTDA image from the mtda-cli. We implement this around the image streaming API, as it is semantically quite similar. However, due to the MTDA internals at some locations we need to cut corners. Further, there is currently no mechanism to confirm an update after the reboot (will be added, once the other points are clarified).

Note, that this PR is on top of #523

Xref: #525

@fmoessbauer fmoessbauer force-pushed the fm/firmware-update branch 2 times, most recently from 4446285 to 51bd5e5 Compare August 5, 2025 15:01
@chombourger
Copy link
Collaborator

if we break backward-compatibility by going Pyro5 / gRPC, we could remove our attempt to support older servers/clients in #495 and remove the various calls to storage_status and hopefully make it easy to have a general-purpose "upload" API that may be used for images or update bundles

@fmoessbauer
Copy link
Member Author

remove the various calls to storage_status

That probably is a lot of effort, but eventually should be done. We have too much global state.
By cleaning this up, we could also fix #501. The general idea would be:

  • pyro/grpc for communication setup + teardown
  • zmq (data) for data transmission
  • zmq (events) for event transmission

On data transmission, all telemetry can be sent via the event channel.

@chombourger chombourger added this to the 0.43 milestone Aug 10, 2025
This is a first and rough attempt to allow updating a ab-rootfs
installed MTDA image from the mtda-cli. We implement this around the
image streaming API, as it is semantically quite similar. However, due
to the MTDA internals at some locations we need to cut corners. Further,
there is currently no mechanism to confirm an update after the reboot
(will be added, once the other points are clarified).

Signed-off-by: Felix Moessbauer <[email protected]>
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