-
Notifications
You must be signed in to change notification settings - Fork 101
fix(ota-hil): set recovery mode before capture logs #903
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
Draft
chrisgalanis
wants to merge
89
commits into
main
Choose a base branch
from
chris/ota-hil
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
89 commits
Select commit
Hold shift + click to select a range
d2fea56
fix: save persistent
chrisgalanis 195d75e
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis d02e2b5
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 9040984
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 9ba8e91
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 8866016
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis b7f0532
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis a950a82
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis f85882a
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 912df00
Merge github.com:worldcoin/orb-software
chrisgalanis 68cb5cd
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 1543d27
Merge github.com:worldcoin/orb-software
chrisgalanis b75b812
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 8dda1fb
Merge github.com:worldcoin/orb-software
chrisgalanis 3725ede
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 7b12495
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 2466287
Merge github.com:worldcoin/orb-software
chrisgalanis 7940035
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis f92ac94
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 9a55d7c
fix: replace mcu-reboot with button reboot
chrisgalanis 7973a70
fix: remove upload.sh
chrisgalanis a8d615b
fix: fmt
chrisgalanis 9fe311c
fix: clippy & build
chrisgalanis 8a42a30
fix(ota-hil): Fix target version in update_version_json
chrisgalanis 368513b
Merge github.com:worldcoin/orb-software into chris/ota-hil
chrisgalanis b50d887
fix(ota-hil): Fix target version Clippy
chrisgalanis e27f1cc
fix(ota-hil): Fix Format
chrisgalanis 19fb770
feat(ota-hil): Set Non Recovery Mode after Reboot from the MCU
chrisgalanis 7e24ebf
fix(ota-hil): Remove unused command
chrisgalanis 7a7c7c5
fix(ota-hil): Set BTN Pin to High to not trigger button reboot
chrisgalanis 82f5f84
Merge github.com:worldcoin/orb-software into chris/ota-hil
chrisgalanis c17337e
fix(set_recovery_pin): Simplify Code Logic
chrisgalanis 3687bf4
fix(ota-hil): Restore MCU Reboot Command
chrisgalanis 33497fc
fix: format
chrisgalanis 0522779
Merge branch 'main' into chris/ota-hil
chrisgalanis 484fa1b
feat: Wipe Overlays for Both Diamond and Pearl
chrisgalanis d150f51
Merge branch 'main' into chris/ota-hil
chrisgalanis 0ef98f2
feat: Added Logs when Update-agent Fails
chrisgalanis 8781765
fix: Restart Update agent after NTP sync
chrisgalanis 8b471ea
Merge branch 'main' into chris/ota-hil
chrisgalanis 1b07e90
fix: format
chrisgalanis e83bfa5
Merge github.com:worldcoin/orb-software into chris/ota-hil
chrisgalanis 1f65059
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis 449a924
Merge branch 'chris/ota-hil' of github.com:worldcoin/orb-software int…
chrisgalanis 0c15f91
feat: Caputer Serial Logs during Boot
chrisgalanis ceae6e6
fix: format
chrisgalanis 4f8b4b2
fix: remove unessary pub vis
chrisgalanis 5cc74ab
fix: set recovery mode before capture logs
chrisgalanis 83a80fd
fix: Permission issue of not capturing serial logs
chrisgalanis c8df636
fix: reboot command not setting every time orb to recovery mode
chrisgalanis 32b2f1f
fix: added NTP sync before reboot, for attestation token -> key retri…
chrisgalanis 16746e9
fix: set recovery mode HIGH for longer time
chrisgalanis 0299eda
fix: format
chrisgalanis d972cb2
fix: clippy
chrisgalanis b96d50f
fix: use either: chronyc or timedatectl (temp change for testing befo…
chrisgalanis 6c1ae63
fix: add delay between recovery mode triggerring and log capturing
chrisgalanis 8be233d
fix: on ota-reboot wait until ssh get disconnected to press recovery pin
chrisgalanis d7b211a
Merge github.com:worldcoin/orb-software into chris/ota-hil
chrisgalanis fe8d64b
Merge branch 'main' of github.com:worldcoin/orb-software
chrisgalanis a16deaa
Merge branch 'main' into chris/ota-hil
chrisgalanis 2651eef
Merge branch 'main' into chris/ota-hil
chrisgalanis c377b95
fix: NTP check hanging
chrisgalanis 8e02331
feat: wait for SSH disconnection before holding the recovery pin
chrisgalanis 55f290b
fix: removing waiting NTP before reboot
chrisgalanis cb86863
Merge github.com:worldcoin/orb-software into chris/ota-hil
chrisgalanis 62f59a0
Merge branch 'chris/ota-hil' of github.com:worldcoin/orb-software int…
chrisgalanis 3a9c42e
fix: capturing serial async & removing timeout
chrisgalanis 3cb60a9
Merge branch 'main' into chris/ota-hil
chrisgalanis 22e027c
fix: clean code
chrisgalanis 7a1b966
fix: format
chrisgalanis fe82002
Merge github.com:worldcoin/orb-software into chris/ota-hil
chrisgalanis 1df5421
Merge branch 'chris/ota-hil' of github.com:worldcoin/orb-software int…
chrisgalanis 6f2a845
fix: replace delay value with constant
chrisgalanis 73b249a
Merge branch 'chris/ota-hil' of github.com:worldcoin/orb-software int…
chrisgalanis 022ae7b
fix: try chrony first & fallback to timedatectl
chrisgalanis d2ff64c
Merge branch 'chris/ota-hil' of github.com:worldcoin/orb-software int…
chrisgalanis 269826c
fix: time sync bug, unhandled error
chrisgalanis 3568b0b
fix: default hold for 5 secs
chrisgalanis 857ec45
feat: Include More Serial Logs Capture When Orbs is not Reachable
chrisgalanis 7662565
fix: format
chrisgalanis b113e94
Merge branch 'main' into chris/ota-hil
chrisgalanis bec8b5d
feat: Introduce Ethernet Through Usb for Ota orb
chrisgalanis b2b4038
Merge branch 'chris/ota-hil' of github.com:worldcoin/orb-software int…
chrisgalanis 2c89aa4
feat: Ethernet through USB
chrisgalanis 65dacd1
fix: restore from main / nix conf
chrisgalanis 0e6ac47
Merge branch 'main' into chris/ota-hil
chrisgalanis 3b35464
fix: make test only for linux
chrisgalanis aef3ffe
Merge branch 'chris/ota-hil' of github.com:worldcoin/orb-software int…
chrisgalanis 2a7ff45
Merge branch 'main' into chris/ota-hil
chrisgalanis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
why we need this I wonder ?
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.
So, basically the problem was with the worldcoin-key-retrival service. With pearl, teh harware clock is not working so if it NTP server is not synced then worldcoin-attest is failing and also key-retrieval. This should be fixed with new key-retrieval fix, that is why i ketp it as a flag, so we can test older commits, that don't have key-retrival fixed
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.
I am also not getting it sorry.
That is not true. The clock will synchronize and https requests is going to succeed. And the delay is not big for that
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.
By default this is not correct. Because reboot is manually triggered faster than the NTP server syncrhonizes the clock....