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

DP-9127 fw update client integration #747

Merged
merged 5 commits into from
Aug 28, 2024

Conversation

jnippula
Copy link

@jnippula jnippula commented Aug 23, 2024

Changes:

  • version: new function to get git top info (commit count on top of latest tag)
  • px4-firmware container image updated to contain full commit-if in json file
  • New submodule: src/lib/secure_udp
  • New submodule: src/modules/px4_fw_update_client
  • boards/ssrc/common updated (devstate.h file updated for FC-OTA)
  • boards/ssrc/saluki-v3 updated (enable FC-OTA client build and call it in start script)

px4 update client is running in the background, but does not do anything if there is no update server available in MC to connect. Also, there is R&D certificate flag to disable update client start (FEATURE_DISABLE_FCOTA_UPDATE)

@jnippula jnippula marked this pull request as draft August 23, 2024 10:34
@jnippula
Copy link
Author

jnippula commented Aug 23, 2024

Wait for boards/ssrc/saluki-v3 submodule to be updated with px4_fw_update_client enabling to update submodule here.
https://github.com/tiiuae/saluki-v3/pull/21

@jnippula jnippula force-pushed the DP-9127-fw-update-client-integration branch from 15ce185 to ef77c8f Compare August 23, 2024 11:10
@jnippula
Copy link
Author

saluki-v3 submodule updated

@jnippula jnippula marked this pull request as ready for review August 23, 2024 11:11
@jnippula
Copy link
Author

Need to update fpga/bootloader to point to latest bootloader version, which contains the devstate.h header updates for FC-OTA.

Copy link

@jpaali jpaali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

TimoSairiala and others added 4 commits August 27, 2024 15:41
Generate PX4_GIT_VERSION_TOP define in build time to get
count of commits on top of last tag.
This info is used for FC-OTA update mechanism.
update container entrypoint to include full commit-id
into px4_firmware_sha entry in json file
New submodules:
  src/modules/px4_fw_update_client
  src/lib/secure_udp

Update clone_public to skip new private modules
common: devstate header update
saluki-v3: enable fw update client
@jnippula jnippula force-pushed the DP-9127-fw-update-client-integration branch from 24e6e66 to b27fe70 Compare August 27, 2024 12:45
@jnippula jnippula merged commit 27c06ea into main Aug 28, 2024
28 checks passed
@jnippula jnippula deleted the DP-9127-fw-update-client-integration branch October 29, 2024 08:59
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.

4 participants