8b512c4b75 
								
							
								 
							
						 
						
							
							
								
								updated: log successful update swap ( #22144 )  
							
							... 
							
							
 
							
							old-commit-hash: da1aa27046 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8b8e77575c 
								
							
								 
							
						 
						
							
							
								
								fix crash due to permissions when clearing update staging dir ( #21790 )  
							
							... 
							
							
 
							
							old-commit-hash: 3a7444250c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								57cc915aa9 
								
							
								 
							
						 
						
							
							
								
								updated: clear overlay on exception ( #21489 )  
							
							... 
							
							
 
							
							old-commit-hash: a44072753d 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								e56a6919bd 
								
							
								 
							
						 
						
							
							
								
								fixup release build ( #21430 )  
							
							... 
							
							
 
							
							* fixup release3 build
* works on pc
* install release3
* push dashcam
* only import on tici
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 49d96f0acc 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								33a3bb5fc9 
								
							
								 
							
						 
						
							
							
								
								Revert "tici: always run updated ( #21249 )"  
							
							... 
							
							
 
							
							This reverts commit 60ba93bd1be24e022552da1545dca9b61d2584b7.
old-commit-hash: 715dbd4882 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e07f1a1ee4 
								
							
								 
							
						 
						
							
							
								
								tici: always run updated ( #21249 )  
							
							... 
							
							
 
							
							old-commit-hash: 4dfdf0e51d 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f53936f904 
								
							
								 
							
						 
						
							
							
								
								Revert "updated: fix surfacing exceptions and errors ( #20754 )"  
							
							... 
							
							
 
							
							This reverts commit 07006949d3734b433a8b9de60440523f5e760d88.
old-commit-hash: 967489bdaa 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f69e234419 
								
							
								 
							
						 
						
							
							
								
								updated: fix surfacing exceptions and errors ( #20754 )  
							
							... 
							
							
 
							
							* updated: fix surfacing exceptions and errors
* can't rely on that
* unused
* ugh pylint
* try this
* this makes pylint happy
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3c9e46d8a2 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8f4a445171 
								
							
								 
							
						 
						
							
							
								
								add putBool/getBool wrappers to cython params class ( #20611 )  
							
							... 
							
							
 
							
							* add putBool/getBool wrappers to cython class
* use new API
* some more puts
* fix mockparams arguments
* add get_bool to MockParams
* typo
old-commit-hash: ae094042ad 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								0d5dec9276 
								
							
								 
							
						 
						
							
							
								
								updated: log git diff on overlay init ( #20476 )  
							
							... 
							
							
 
							
							* updated: log git diff on overlay init
* add git diff param
* params
old-commit-hash: bcb6879199 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								8866942686 
								
							
								 
							
						 
						
							
							
								
								offroad alert for agnos update ( #20270 )  
							
							... 
							
							
 
							
							old-commit-hash: 6e101fd691 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								6dbc7c6d92 
								
							
								 
							
						 
						
							
							
								
								oneplus cleanup ( #20200 )  
							
							... 
							
							
 
							
							* start cleanup
* cleanup camerad
* remove unused
* little more
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 07ab081a42 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								ec468f88c9 
								
							
								 
							
						 
						
							
							
								
								move agnos manifest to selfdrive/hardware ( #19889 )  
							
							... 
							
							
 
							
							old-commit-hash: cfb0390183 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								933f2952bd 
								
							
								 
							
						 
						
							
							
								
								fix updated bug that allows for mismatch openpilot/agnos ( #19943 )  
							
							... 
							
							
 
							
							old-commit-hash: 09ee2a8c51 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								804f08f593 
								
							
								 
							
						 
						
							
							
								
								disable updater for oneplus EONs  
							
							... 
							
							
 
							
							old-commit-hash: 40a4bd9fc7 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b950cab874 
								
							
								 
							
						 
						
							
							
								
								HW abstraction layer ( #19530 )  
							
							... 
							
							
 
							
							* start hw refactor
* move that
* pins
* put that back
old-commit-hash: 8674b023ba 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								f359b4cf49 
								
							
								 
							
						 
						
							
							
								
								remove fsck logging in updated  
							
							... 
							
							
 
							
							old-commit-hash: 238ac19ba9 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								3e6abdd8bd 
								
							
								 
							
						 
						
							
							
								
								oneplus deprecation ( #2748 )  
							
							... 
							
							
 
							
							* oneplus deprecation
* lowercase
* too long
* no udpates
old-commit-hash: 6a151dcd9c 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								d05c8e2a08 
								
							
								 
							
						 
						
							
							
								
								Tici updated ( #2126 )  
							
							... 
							
							
 
							
							* run updated on tici
* do this for now
* two didn't like empty string
* fix permissions
old-commit-hash: 38ded9b1e7 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9bb39d1145 
								
							
								 
							
						 
						
							
							
								
								updated: remove old overlay init file  
							
							... 
							
							
 
							
							old-commit-hash: 2a2cfd6bb5 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c23faac9df 
								
							
								 
							
						 
						
							
							
								
								updated: log git corruption ( #2242 )  
							
							... 
							
							
 
							
							* log git corruption
* better cloudlog
old-commit-hash: 3f40a9ee75 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								12b7a29d06 
								
							
								 
							
						 
						
							
							
								
								Improved updater robustness ( #2046 )  
							
							... 
							
							
 
							
							* git ping
* cleanup overlay init
* separate update available check from fetch
* cleanup setting params
* only fetch neos update on android
* move that
* type hints
* lightweight update check with git ls-remote
* git fetch dry run
* cleanup
old-commit-hash: 722a440eb6 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								d200f048b7 
								
							
								 
							
						 
						
							
							
								
								fix pylint errors  
							
							... 
							
							
 
							
							old-commit-hash: 1e6c7c94e4 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b2e40a7487 
								
							
								 
							
						 
						
							
							
								
								remove dead code in updated  
							
							... 
							
							
 
							
							old-commit-hash: 21a1792f89 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								c2b1d97b20 
								
							
								 
							
						 
						
							
							
								
								NEOS background updater ( #1892 )  
							
							... 
							
							
 
							
							old-commit-hash: cb5a2996e7 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								dde753d531 
								
							
								 
							
						 
						
							
							
								
								fix linter  
							
							... 
							
							
 
							
							old-commit-hash: 60e2267f02 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								017b084154 
								
							
								 
							
						 
						
							
							
								
								Alert when updated consistently fails ( #2013 )  
							
							... 
							
							
 
							
							* alert when update fails more than 10 times
* bring over offroad alert refactor from other branch
* and we have tests
* use it in snapshot
* bump apk
* don't show exceptions on release branches
* only write when changed
* why does delete use so much cpu
* clean that up
* little more
old-commit-hash: 8e63f06540 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								3dccc7fc2e 
								
							
								 
							
						 
						
							
							
								
								Updater tests ( #1974 )  
							
							... 
							
							
 
							
							* refactor exit handling
* test update
* more reliable?
* better
* init git in CI
* testy tester
* CI should work
* test overlay reinit
* only one
* still need to fix loop test
* more patience
* more patience in CI
* no ping in CI
* this is cleaner
* need to run these in jenkins
* clean up
* run in jenkins
* fix test file path
* it's a git repo now
* no commit
* reinit
* remove duplicate
* why not git
* la
* git status
* pythonpath
* fix
* no CI fro now
* check overlay consistent
* more tests
* make more changes in the update commit
* sample
* no k
old-commit-hash: fe18a014c7 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								792b74f543 
								
							
								 
							
						 
						
							
							
								
								Improve update reliability and responsiveness ( #1986 )  
							
							... 
							
							
 
							
							* handle orphaned git lock
* trigger update after going offroad
* git ping
old-commit-hash: a115366ddd 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								b5fa861871 
								
							
								 
							
						 
						
							
							
								
								Cleanup updated ( #1981 )  
							
							... 
							
							
 
							
							* remove dead code from updated
* no short
* simpler
* simplify that
* move that into the class
* little more
old-commit-hash: f61dcb6e12 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								0b64a13bc9 
								
							
								 
							
						 
						
							
							
								
								improve updated responsiveness ( #1973 )  
							
							... 
							
							
 
							
							old-commit-hash: 88c67e7e9f 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								05628116ee 
								
							
								 
							
						 
						
							
							
								
								fix blocking sleep in updated ( #1860 )  
							
							... 
							
							
 
							
							old-commit-hash: 62a94eb0cd 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								2b60599543 
								
							
								 
							
						 
						
							
							
								
								Make updated more resilient ( #1853 )  
							
							... 
							
							
 
							
							* Add sleep at updated startup
* Mitigate symlink-related FS damage
old-commit-hash: c43df81214 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								70dbce450c 
								
							
								 
							
						 
						
							
							
								
								Add an SSH param to disable updates ( #1807 )  
							
							... 
							
							
 
							
							* disable updates with optional param
* dont create the alert
* Revert "dont create the alert"
This reverts commit 7179a6c8b4b4656e0b203b5a590b33d3388aa9c9.
* keep alert, but allow engagement
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cb495bb8c9 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								9027018368 
								
							
								 
							
						 
						
							
							
								
								Update Flake8 config ( #1624 )  
							
							... 
							
							
 
							
							* update flake8 checks
* add E502
* no whitespace warnings
* fix violations
* no W391
Co-authored-by: Jason Young <jason@comma.ai>
old-commit-hash: 367155168a 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								a56e2b01f8 
								
							
								 
							
						 
						
							
							
								
								Make pylint more strict ( #1626 )  
							
							... 
							
							
 
							
							* make pylint more strict
* cleanup in progress
* done cleaning up
* no opendbc
old-commit-hash: 843a64c72f 
							
						 
						
							5 years ago  
				
					
						
							
							
								 
						
							
							
								36e26ce381 
								
							
								 
							
						 
						
							
							
								
								updater read git config first ( #1376 )  
							
							... 
							
							
 
							
							old-commit-hash: 0418da517a 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								a1c67df499 
								
							
								 
							
						 
						
							
							
								
								Replace usages of datetime.now() with datetime.utcnow() ( #1267 )  
							
							... 
							
							
 
							
							old-commit-hash: 54f34abdb3 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								65a2c62114 
								
							
								 
							
						 
						
							
							
								
								Abstract common events + event cleanup ( #1129 )  
							
							... 
							
							
 
							
							* too many if
* unused
* whitespace
* key
* sefldrive/car/*
* no more gctx
* lower
* start abstracting common events
* all cars
* start small
* all cars
* reverse gear
* wrongCarMode
* wrongGear
* espDisabled
* steerUnvailable
* make linter happy
* c isn't used
* fix esp_disabled in VW
* update ref
* more red
* more cleanup
* fix subaru
* update ref
old-commit-hash: e8cb6ea06a 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								8611b1b648 
								
							
								 
							
						 
						
							
							
								
								Only show update alert if updater failed once since reboot ( #1078 )  
							
							... 
							
							
 
							
							* Only show update alert if updater failed
* no negetive days in warning message
* Also increase failed count when no internet
* Only set count to zero on actual update
* First run always fails because IsOffroad is not set yet
old-commit-hash: a5bd1d2a88 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								a7fa20b566 
								
							
								 
							
						 
						
							
							
								
								selfdrive/*.py  
							
							... 
							
							
 
							
							old-commit-hash: 2f9379a139 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								81dd5a50cf 
								
							
								 
							
						 
						
							
							
								
								root commit  
							
							... 
							
							
 
							
							old-commit-hash: 6c33a5c1f3 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								fa4b6f33d1 
								
							
								 
							
						 
						
							
							
								
								openpilot v0.7.1 release  
							
							... 
							
							
 
							
							old-commit-hash: 8da8b6135c 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								99b637c7ce 
								
							
								 
							
						 
						
							
							
								
								openpilot v0.7 release  
							
							... 
							
							
 
							
							old-commit-hash: c025b96e8a 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								89d1d84c70 
								
							
								 
							
						 
						
							
							
								
								openpilot v0.6.5 release  
							
							... 
							
							
 
							
							old-commit-hash: cf80f7a28b 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								3ad68e4378 
								
							
								 
							
						 
						
							
							
								
								getting ready for Python 3 ( #619 )  
							
							... 
							
							
 
							
							* tabs to spaces
python 2 to 3: https://portingguide.readthedocs.io/en/latest/syntax.html#tabs-and-spaces 
* use the new except syntax
python 2 to 3: https://portingguide.readthedocs.io/en/latest/exceptions.html#the-new-except-syntax 
* make relative imports absolute
python 2 to 3: https://portingguide.readthedocs.io/en/latest/imports.html#absolute-imports 
* Queue renamed to queue in python 3
Use the six compatibility library to support both python 2 and 3: https://portingguide.readthedocs.io/en/latest/stdlib-reorg.html#renamed-modules 
* replace dict.has_key() with in
python 2 to 3: https://portingguide.readthedocs.io/en/latest/dicts.html#removed-dict-has-key 
* make dict views compatible with python 3
python 2 to 3: https://portingguide.readthedocs.io/en/latest/dicts.html#dict-views-and-iterators 
Where needed, wrapping things that will be a view in python 3 with a list(). For example, if it's accessed with []
Python 3 has no iter*() methods, so just using the values() instead of itervalues() as long as it's not too performance intensive. Note that any minor performance hit of using a list instead of a view will go away when switching to python 3. If it is intensive, we could use the six version.
* Explicitly use truncating division
python 2 to 3: https://portingguide.readthedocs.io/en/latest/numbers.html#division 
python 3 treats / as float division. When we want the result to be an integer, use //
* replace map() with list comprehension where a list result is needed.
In python 3, map() returns an iterator.
python 2 to 3: https://portingguide.readthedocs.io/en/latest/iterators.html#new-behavior-of-map-and-filter 
* replace filter() with list comprehension
In python 3, filter() returns an interatoooooooooooor.
python 2 to 3: https://portingguide.readthedocs.io/en/latest/iterators.html#new-behavior-of-map-and-filter 
* wrap zip() in list() where we need the result to be a list
python 2 to 3: https://portingguide.readthedocs.io/en/latest/iterators.html#new-behavior-of-zip 
* clean out some lint
Removes these pylint warnings:
************* Module selfdrive.car.chrysler.chryslercan
W: 15, 0: Unnecessary semicolon (unnecessary-semicolon)
W: 16, 0: Unnecessary semicolon (unnecessary-semicolon)
W: 25, 0: Unnecessary semicolon (unnecessary-semicolon)
************* Module common.dbc
W:101, 0: Anomalous backslash in string: '\?'. String constant might be missing an r prefix. (anomalous-backslash-in-string)
************* Module selfdrive.car.gm.interface
R:102, 6: Redefinition of ret.minEnableSpeed type from float to int (redefined-variable-type)
R:103, 6: Redefinition of ret.mass type from int to float (redefined-variable-type)
************* Module selfdrive.updated
R: 20, 6: Redefinition of r type from int to str (redefined-variable-type)
old-commit-hash: 9dae0bfac4 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e41a943dd0 
								
							
								 
							
						 
						
							
							
								
								openpilot v0.5 release  
							
							... 
							
							
 
							
							old-commit-hash: de33bc4645 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								405e7c1b02 
								
							
								 
							
						 
						
							
							
								
								openpilot v0.4.7.2 release  
							
							... 
							
							
 
							
							old-commit-hash: 95509a58cd 
							
						 
						
							7 years ago