swupdate/capsule update, how to mark-good? #1654
-
I have a working system based on orin/nano, meta-tegra and swupdate
But this only indicates if the update was OK, not if the SW in the packages is OK. How is the "mark good" handled in swupdate? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Ok, after some further reading it seems to be related to a swupdate progress and a swupdate service. |
Beta Was this translation helpful? Give feedback.
-
I was wrong, swupdate-progress has nothing to do with mark-good, only the current state/progress of the file transfer/copy. I am using origin/scarthgap-l4t-r35.x on meta-tegra overall conclusion: mark good does not work in jetson 35.x, you need 36.3 I have used the source for debug and these pages: |
Beta Was this translation helpful? Give feedback.
-
Not sure if you found it already but there is some discussion about This would be something great to add to the reference swupdate demo at https://github.com/OE4T/tegra-demo-distro?tab=readme-ov-file#update-image-demo. There's a Jetpack 4 swupdate implementation in Matt's test distro which used https://github.com/OE4T/tegra-boot-tools/blob/059ddc8187ae0e9f7ba0acdb672bdabaa7559434/doc/tegra-bootinfo.md for this. You can find more details at about that original implementation from Matt which I used for the tegra-demo-distro implementation at https://github.com/madisongh/tegra-test-distro/wiki/swupdate-integration-notes |
Beta Was this translation helpful? Give feedback.
-
Now for an update.
So stuff actually seems to work just fine.
There are several ways to clear the flag before a swupdate, see https://forums.developer.nvidia.com/t/rootfs-a-b-redundancy-fail-over-mechanism-in-jetpack5-1/247290 And now I am a bit confused. This is right after a swupdate.
|
Beta Was this translation helpful? Give feedback.
Not sure if you found it already but there is some discussion about
BootChainFwStatus
for marking good status in mendersoftware/meta-mender-community#394 and OE4T/meta-mender-community#19. I'm not completely sure where this ended up with the current mender implementation but this might be something to look at. Ideally we'd upstream something all update frameworks could use.This would be something great to add to the reference swupdate demo at https://github.com/OE4T/tegra-demo-distro?tab=readme-ov-file#update-image-demo. There's a Jetpack 4 swupdate implementation in Matt's test distro which used https://github.com/OE4T/tegra-boot-tools/blob/059ddc8187ae0e9f7ba0acdb672bdabaa7559434/doc/t…