Mark images in slot 0 for test #96
-
|
Line 236 in e24da6e Is there a reason why images in slot 0 are not marked for test when updating via |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
There's a whole history see here: #3 In your case, I suspect that --slot 2 is what you want. --slot 0 means default upload destination, which would usually be the secondary. There's a bug in the upgrade command where it doesn't mark for swap on every upload slot - I think it might be safe to just always mark the latest uploaded image for swap, even when it's a no-op, e.g. in a single slot config. My latest thinking on the subject would be to remove the --slot argument from the upgrade command entirely since it's so confusing. Move away from being 1:1 with SMP and define a nice abstraction like --destination = auto, primary, secondary, image2-primary, image2-secondary, etc. Upload could keep the --slot arg since those commands are more intended for FW development troubleshooting. Feel free to weigh in! |
Beta Was this translation helpful? Give feedback.
Shorter answer: --slot 0 doesn't mean slot 0, it means "default". --slot 1 means slot 0 🤦♀️. That's the spec, as far as I can understand it!