Adeeb Shihadeh
f4708c153e
agnos updater UI ( #21776 )
...
* start agnos updater UI
* wifi
* progress
* sometimes things fail
* fix wifi
* in launch script
* fwd
* fwd stderr
* update that
* release files
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 14d26d6d89
4 years ago
Willem Melching
63ac13feee
agnos.py: retry swap ( #21608 )
...
* retry until success
* try this
* redirect stderr
* also check positive
* add logging
* f string
old-commit-hash: f4d87cecf7
4 years ago
Adeeb Shihadeh
55d3871a5e
fix agnos updater bug + type hints ( #21566 )
...
* add type hints
* fix bug
* more hints
old-commit-hash: 21c7981919
4 years ago
Willem Melching
c8810406da
tici: flash bootloader partitions from manifest ( #21399 )
...
* move swapping to python
* only create downloader if needed
* typo
* number
* add sanity check
* boot full check to test
* manifest is required argument
* implement full hash check
* off by one
* new manifest
* only write tag for system
* bump splash
* review comments part 1
* trigger update
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: 7c6bf89e04
4 years ago
Josh Smith
2cae3a3799
Add type hints, small cleanups ( #21080 )
...
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl
* unpack more efficiently
* minor improvements
* agnos.py match spec better
* manual_ctrl test missing queue arg
* fix incorrect type annotation
* queues are generic
* varname reuse resulting in incorrect type inference
* bytes().hex() rather than bytes.hex(bytes())
* a bit of type hinting stuff
old-commit-hash: 77321dbac4
4 years ago
Adeeb Shihadeh
5db3d3f18e
don't reflash agnos update if already flashed ( #19944 )
...
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c95c4df51d
4 years ago
grekiki
2ebacdc364
Add Github SSH keys ( #19879 )
...
old-commit-hash: 7408569c1b
4 years ago
Willem Melching
5ad8abdc24
OS Updater improvements ( #19914 )
...
* Clear hashes before swapping
* add retry logic
* better retry logic
* actually fail on retries exceeded
old-commit-hash: fe91b8a1b4
4 years ago
Adeeb Shihadeh
349429836c
agnos updater ( #2600 )
...
* agnos updater
* add manifest
* fix path
* get manifest from overlay
* update manifest
* remove merge markers
* add streaming decompressor
* dont need read all
* Unsparsify
* Fix output filename
* Optimization
* cleanup
* Small cleanup
* Read manifest from merged overlay
* Write hash at end of partition
* Sync before writing hash
* Write bytes in file
* add manifest with image sizes
* Fix manifest path
* File was closed already
* Format string
* Put raw hash
* Read hashes in launch script
* update launch script
* should be agnos version
* fix slot
* Make sure we clear the hash
* Verify partition size
* move updated
* Standalone flasher
* Don't rely on ordering
* Get path
* Debug log
* Download agnos
* Info is enough
* update manifest
* Remove f
* Check downloader return code
* Exit on wrong manifest
* Fix typos
* Set pythonpath before hardware init
* move agnos into hardware folder
* remove comments
* Fix abstractmethod
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b276881fcd
4 years ago