-
Notifications
You must be signed in to change notification settings - Fork 100
feat: Orin HIL OTAs #859
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
feat: Orin HIL OTAs #859
Conversation
4085194 to
931134a
Compare
AlexKaravaev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, should be more stable
197198b to
9fe311c
Compare
hil/src/commands/ota/mod.rs
Outdated
| info!("Overlays wiped successfully, rebooting device"); | ||
|
|
||
| system::reboot_orb(&session).await?; | ||
| reboot(false, None) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we call this function hard_reboot_button to show that it's a long button press 🤔
i would prefer that the reboot_orb function work (and it should, otherwise it means we have a bug that should be fixed)
4f2b248 to
c17337e
Compare
d9fc91d to
0522779
Compare
This pull request updates the device reboot logic in the OTA command implementation to use a new, centralized
rebootfunction and improves error handling during the reboot process.Device reboot logic update:
system::reboot_orbcall with the newrebootfunction, providing a more consistent and maintainable approach for device reboots. (hil/src/commands/ota/mod.rs)rebootfunction and supporting modules, ensuring all dependencies for the updated reboot logic are included. (hil/src/commands/ota/mod.rs)Error handling improvements:
wrap_err_with, making failures easier to diagnose. (hil/src/commands/ota/mod.rs)