Persisting Suricatta/hawkBit update state (ustate) on Orin Nano . Recommended backend? #2282
Replies: 2 comments 2 replies
|
Have you looked at Dan's more-recent adaptation in the demo distro? |
|
Thanks @madisongh ! Yes, I've read through it and I can see the new changes from Dan — the postinst() now uses set_efi_var (via uefi_common.func) to reset RootfsStatusSlotA/B on the target slot, and the new TEGRA_SWUPDATE_LAST_CAPSULE_UPDATE_COMPLETE_SLOT_MARKER writes a per-slot completion marker to a persistent partition (with the systemd WantsMountsFor wiring so the data partition is mounted before swupdate runs). That power-off-recovery mechanism looks great. My remaining question is specifically about Suricatta/hawkBit. To report SUCCESS/FAILED back to a hawkBit server after the reboot, Suricatta persists an update state ( So my questions:
|
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I have rootfs A/B + capsule updates working on a Jetson Orin Nano (NVMe), scarthgap / L4T r36.5 (JetPack 6), using meta-tegra together with the swupdate integration from tegra-demo-distro (layers/meta-tegrademo/dynamic-layers/meta-swupdate). Manual
swupdate -i <image>.swuinstalls and switches slots correctly, and rollback via retry_count works as expected.I now want to drive updates from a hawkBit server using SWUpdate's Suricatta mode. The blocker is the post-reboot status confirmation: Suricatta needs to persist its update state (
ustate) across the reboot so it can report SUCCESS/FAILED back to hawkBit , and there doesn't seem to be a persistent place to store it on Orin.From reading the sources, the core limitation is the lack of a persistent variable store:
So: no U-Boot env, and the tegra-bootinfo/cboot path doesn't support Orin.
Questions:
Thanks!
All reactions