65df3f01d1 
								
							
								 
							
						 
						
							
							
								
								boardd: more logging ( #28051 )  
							
							... 
							
							
 
							
							old-commit-hash: a93f74a846 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								484eed0acf 
								
							
								 
							
						 
						
							
							
								
								cabana: support direct streaming from panda over USB ( #27936 )  
							
							... 
							
							
 
							
							* refactor livestream into devicestream
* add panda stream
* unused
* whitespace
* move logging to base class
* add cmdline args
* Update selfdrive/boardd/boardd.cc
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2a981f5531 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								7dfb32883a 
								
							
								 
							
						 
						
							
							
								
								boardd: fix uninitialized can_header ( #27685 )  
							
							... 
							
							
 
							
							old-commit-hash: d9487ab901 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1ff9f69a57 
								
							
								 
							
						 
						
							
							
								
								panda.cc: fix possible heap overflow on wrong checksum ( #27151 )  
							
							... 
							
							
 
							
							* panda.cc: fix possible heap overflow on wrong checksum
* off by one
old-commit-hash: f17bca00ba 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0970d900a2 
								
							
								 
							
						 
						
							
							
								
								MacOS: build fixes ( #27143 )  
							
							... 
							
							
 
							
							* MacOS: exclude common/gpio.cc
* MacOS: no spi for boardd
* MacOS: loggerd: no v4l_encoder.cc
* MacOS: update libdbc path for cabana
old-commit-hash: fdc4a7f84c 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								bf804f25bf 
								
							
								 
							
						 
						
							
							
								
								boardd: connect to SPI panda by UID ( #27035 )  
							
							... 
							
							
 
							
							* move list
* connect by serial
* cleanup hw serial
* little more
* rm excessive print
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 66ff2de0a2 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								bbee5e6367 
								
							
								 
							
						 
						
							
							
								
								boardd: include SPI panda in list ( #27018 )  
							
							... 
							
							
 
							
							* boardd: include SPI panda in list
* hexlify
* fix hexlify
* cleanup
* little more
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b8ec32103a 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f2cab9a00c 
								
							
								 
							
						 
						
							
							
								
								No more magic for the can chunks  ( #26861 )  
							
							... 
							
							
 
							
							* remove magic and add checksum
* add comms reset
* bump submodule
old-commit-hash: 3136985b95 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								dda7913a33 
								
							
								 
							
						 
						
							
							
								
								boardd: misc spi fixes ( #26670 )  
							
							... 
							
							
 
							
							old-commit-hash: 9cc06e9ea6 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d00e7ee24b 
								
							
								 
							
						 
						
							
							
								
								Simple CAN chunks ( #25373 )  
							
							... 
							
							
 
							
							* simple chunks
* more sizeofs
* fix unit tests
* bump panda
* bump panda
* don't fail for too little data
* bump panda
* bump panda
* bump panda
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: fee6f2efac 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a6f2f2d751 
								
							
								 
							
						 
						
							
							
								
								boardd: cleanup defs from panda ( #26628 )  
							
							... 
							
							
 
							
							* more stuff
* bump pnada
old-commit-hash: c3e3047080 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1d152c074c 
								
							
								 
							
						 
						
							
							
								
								boardd: end peripheral panda discrimination  
							
							... 
							
							
 
							
							old-commit-hash: e9dcabcef7 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								461206de1c 
								
							
								 
							
						 
						
							
							
								
								boardd: SPI support ( #26374 )  
							
							... 
							
							
 
							
							* spi handle
* put usb back
* handle eintr
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 8ba9a5107b 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								5c123f01b4 
								
							
								 
							
						 
						
							
							
								
								boardd: prep for SPI + factor out USB ( #26356 )  
							
							... 
							
							
 
							
							* merge origin/spi-panda
* just prep
* boardd: factor out USB comms
* fix those
* add to release files
* little more
old-commit-hash: 06be96cae2 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								a9e3d43246 
								
							
								 
							
						 
						
							
							
								
								boardd: remove canfd whitelist  
							
							... 
							
							
 
							
							old-commit-hash: 9a8c7f2453 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1d4e4197e2 
								
							
								 
							
						 
						
							
							
								
								add CAN-FD non-ISO mode support ( #25947 )  
							
							... 
							
							
 
							
							CAN FD non-ISO support
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d5ef6f82e6 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								e39767b1cb 
								
							
								 
							
						 
						
							
							
								
								boardd: add CAN health to pandaStates ( #25800 )  
							
							... 
							
							
 
							
							* init
* try this
* mistake
* fix
* bump cereal
* make obvious
* fixes
* remove comment
* one helath header
* ..
* preallocate vectors
old-commit-hash: 53959082e7 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								2e0bd5fe17 
								
							
								 
							
						 
						
							
							
								
								RPv2: fix data length check ( #25819 )  
							
							... 
							
							
 
							
							fix
old-commit-hash: e6ff301864 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								caac56b92e 
								
							
								 
							
						 
						
							
							
								
								USB power mode cleanup ( #25619 )  
							
							... 
							
							
 
							
							* first pass at usb power mode cleanup
* fix build
* a sneaky one
* little more
* fix build
* bump pnada
* remove that
* power monitoring cleanup
* fix tests
* bump submodules
old-commit-hash: 28cb1897cb 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								f4675fc260 
								
							
								 
							
						 
						
							
							
								
								Merge common/ and selfdrive/common ( #24556 )  
							
							... 
							
							
 
							
							* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests
old-commit-hash: cb8885cffb 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								121b708ba1 
								
							
								 
							
						 
						
							
							
								
								Change safetyParam to uint16_t ( #24376 )  
							
							... 
							
							
 
							
							* bump panda & cereal
* bump panda
* rest of references
* regen TOYOTA with safety param 578, TOYOTA2 with 329
* regen rest of routes
* update ref
* bump cereal
old-commit-hash: 4190d2608a 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								32075d4681 
								
							
								 
							
						 
						
							
							
								
								safety param: make uint16_t ( #24362 )  
							
							... 
							
							
 
							
							* only use half of the available bytes
* move to set_safety_model
* regen and update refs
* last two
* bump to master
old-commit-hash: 66dd8f934c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ebec632ea2 
								
							
								 
							
						 
						
							
							
								
								Make safetyParam unsigned ( #24160 )  
							
							... 
							
							
 
							
							* bump panda & cereal
* make unsigned in boardd
* update health packet version
bump panda
* fix definition
* bump
* regen TOYOTA2 route
* upload route
* oh, ndog param wasn't being set
* regenerate routes with non-zero safety params
* update refs
* regen routes and update refs
* bump panda
* update refs
* update refs
* bump submodules to master
old-commit-hash: 6e62df65d7 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								4bbc197433 
								
							
								 
							
						 
						
							
							
								
								update unsafeMode to alternativeExperience ( #23995 )  
							
							... 
							
							
 
							
							* update unsafeMode to alternativeExperience
* fix
* fix
* bump submodules
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e91613bc62 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								cd1ba97c07 
								
							
								 
							
						 
						
							
							
								
								Remove void argument ( #23928 )  
							
							... 
							
							
 
							
							old-commit-hash: 723560c20f 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								c60d1ca766 
								
							
								 
							
						 
						
							
							
								
								panda.cc: add panda deep sleep mode( #23911 )  
							
							... 
							
							
 
							
							* needed for panda deepsleep mode
* add set_deepsleep to panda.cc
* rename to enable_deepsleep
* remove void
* fix value
* bump panda
old-commit-hash: 0b64ddb678 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								baebb2c932 
								
							
								 
							
						 
						
							
							
								
								handle usb error in reading panda state ( #23686 )  
							
							... 
							
							
 
							
							old-commit-hash: f2eb84eef0 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b294249932 
								
							
								 
							
						 
						
							
							
								
								Panda: check libusb_open status ( #23622 )  
							
							... 
							
							
 
							
							old-commit-hash: 703efb9275 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f532819faf 
								
							
								 
							
						 
						
							
							
								
								Revert "boardd: new class USBDevice ( #23015 )"  
							
							... 
							
							
 
							
							This reverts commit 6965aa0b903060ab38aace31c15fefdc7a0429eb.
old-commit-hash: 285addeef2 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								49c35a70b5 
								
							
								 
							
						 
						
							
							
								
								boardd: new class USBDevice ( #23015 )  
							
							... 
							
							
 
							
							* USBDevice
* merge master
* rebase master
* add to fiels_common
* inline functions
* namespace
* init err
* remove nested if
* cleanup
* bump panda for branch
* change includes
* bump panda branch
* change name
* bump master panda
Co-authored-by: Igor Biletskyy <briskspirit@users.noreply.github.com>
Co-authored-by: Igor Biletskyy <bs@privacy.im>
old-commit-hash: 4061f50da3 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								0386f99c1f 
								
							
								 
							
						 
						
							
							
								
								boardd: add controls heartbeat ( #23185 )  
							
							... 
							
							
 
							
							* boardd: add controls heartbeat
* bump panda
* bump again
* bump panda
old-commit-hash: a793b949be 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a0c6a65d09 
								
							
								 
							
						 
						
							
							
								
								panda: refactor can_send ( #22981 )  
							
							... 
							
							
 
							
							* refactor
* merge master
* fix
* move  down
* space
* merge master
* remove struct PacketWriter, use function
* Update selfdrive/boardd/panda.cc
less violations
* Update selfdrive/boardd/panda.cc
comment
* Update selfdrive/boardd/panda.cc
add comment to counter
Co-authored-by: Igor Biletskyy <briskspirit@users.noreply.github.com>
old-commit-hash: 827fae8faa 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								be3a376967 
								
							
								 
							
						 
						
							
							
								
								len_to_dlc make static ( #23120 )  
							
							... 
							
							
 
							
							old-commit-hash: e294e1620e 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								15bac98ad4 
								
							
								 
							
						 
						
							
							
								
								panda: refactor can_recv ( #22977 )  
							
							... 
							
							
 
							
							* refactor
* use macro
* rebase master
* fix incorrect chunk_len
* cleanup
* type fix
* lines
* while
Co-authored-by: Igor Biletksyy <bs@privacy.im>
old-commit-hash: 599c07e027 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ce565323fd 
								
							
								 
							
						 
						
							
							
								
								boardd: split usbprotocol unittest and fix paren order in data length assert ( #23065 )  
							
							... 
							
							
 
							
							old-commit-hash: 65ca9be82a 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								9055f2df79 
								
							
								 
							
						 
						
							
							
								
								Extra check for tail_size length ( #23047 )  
							
							... 
							
							
 
							
							old-commit-hash: b2a018643f 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								327767f93f 
								
							
								 
							
						 
						
							
							
								
								Revert "boardd: be careful with paren order in assert"  
							
							... 
							
							
 
							
							This reverts commit c221485bd1eebbab87f6b5a579e66e10767fcdf8.
old-commit-hash: c6f62ebc4f 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6475085095 
								
							
								 
							
						 
						
							
							
								
								boardd: be careful with paren order in assert  
							
							... 
							
							
 
							
							old-commit-hash: 50cd8588a2 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								a919e5721e 
								
							
								 
							
						 
						
							
							
								
								panda: add unit tests for usb protocol (pack/unpack) ( #22955 )  
							
							... 
							
							
 
							
							* prepare for unit tests
* add to selfdrive_tests.yaml
* test header
* test chunk count
* rename test function
* continue
* don't check chunks count
* test recv_can
* continue
* small cleanup
* merge master
* cleanup
* rename functions
* test different packet size
* fix operator precedence problem
* refactor unpack_can_buffer
* cleanup test
* cleanup unpack_can_buffer
* add test for multiple pandas
* rename to test_panda
* restore test_boardd
* rename to test_boardd_usbprotocol
* fix typo
* bus_offset = [0,4]
* change src
* use USBPACKET_MAX_SIZE
old-commit-hash: c77354009c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								989270ac56 
								
							
								 
							
						 
						
							
							
								
								fix chunk buffer size ( #22969 )  
							
							... 
							
							
 
							
							old-commit-hash: edaf7d7604 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1cf28894e6 
								
							
								 
							
						 
						
							
							
								
								panda: fix len_to_dlc always return 1 if len > 24 ( #22964 )  
							
							... 
							
							
 
							
							old-commit-hash: 57db99700c 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								433add3a02 
								
							
								 
							
						 
						
							
							
								
								boardd/can_recv_thread: improve caching for can_frame ( #22944 )  
							
							... 
							
							
 
							
							* better cache
* use emplace to remove copy&realloc
* rebase master
old-commit-hash: 841fb93def 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								8844b560d0 
								
							
								 
							
						 
						
							
							
								
								panda.cc: struct for CAN header, counter complexity, cleanup for readability ( #22956 )  
							
							... 
							
							
 
							
							* try struct
* can_send refactor
* cleanups
* Resize vector only when it is needed
* ...
* more cleanup
old-commit-hash: 47d0d717eb 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								34ad595349 
								
							
								 
							
						 
						
							
							
								
								panda.cc: add functions to set can and data speed ( #22920 )  
							
							... 
							
							
 
							
							old-commit-hash: 04e1a25881 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1896097480 
								
							
								 
							
						 
						
							
							
								
								boardd: apply bus offset in can recv  
							
							... 
							
							
 
							
							old-commit-hash: 5ffb3e4347 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								841c20b412 
								
							
								 
							
						 
						
							
							
								
								New usb protocol for panda ( #22752 )  
							
							... 
							
							
 
							
							* first try
* move dlc_to_len
* panda switch to mailbox branch
* add bitstruct to pipfile
* bump panda and remove bitstruct
* few cleanups and fixes
* sanity check data.size == dlc_to_len
* check problem with test
* Revert "check problem with test"
This reverts commit b4855b7c12188d36d5d510e729344dab2cf21be9.
* clean
* revert Pipfile.lock
* that was an issue???
* fix crash
* ...
* include dlc_to_len from panda
* alph
* define macros for returned and rejected
* cleanup
* bump panda to current master
old-commit-hash: e293ccf016 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								dbe4641e04 
								
							
								 
							
						 
						
							
							
								
								Multipanda support ( #22402 )  
							
							... 
							
							
 
							
							* squash all PR commits for easy rebase
* merged all panda rx can into one message
* fix buffers in can_send
* more cleanup and minor fixes
* fix even more stuff
* fix non-allocated send buffer
* make connecting more robust
* fix bus offset
* fix controls_mismatch?
* simplify mismatch check
* C++ style struct
* fix connect loop
* update ref
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 585c16cd2a 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								39811d083f 
								
							
								 
							
						 
						
							
							
								
								boardd: reduce unnecessary allocations ( #22494 )  
							
							... 
							
							
 
							
							old-commit-hash: 2f1ab63920 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								6762c152de 
								
							
								 
							
						 
						
							
							
								
								boardd: fix context leak in init_usb_ctx ( #22472 )  
							
							... 
							
							
 
							
							old-commit-hash: 43d9478740 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								11066c6236 
								
							
								 
							
						 
						
							
							
								
								Split pandaState into peripheralState and pandaState ( #22385 )  
							
							... 
							
							
 
							
							* publish peripheralState from boardd
* refactor consumers
* rename thread
* peripheralState has panda type too
* add to process replay
* fix device build
* properly remove hardware unsupported alert
* latest peripheralState
* remove pandaState from thermal_monitor
* put that back
* add back harness check
* fix cloudlog
* needs pandaState
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* dont conflate
* Update selfdrive/thermald/tests/test_power_monitoring.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* pigeon is peripheral
* cleanup
* less global
* comment
* move rtc to peripheral_control_thread
* better diff?
* whitespace
* get msg
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f4e2537b12 
							
						 
						
							4 years ago