Adeeb Shihadeh
1adf34f033
update time from RTC on manager init ( #20678 )
...
* set time on manager init
* earlier
* handle exception
* logging
* add to release files
* run in launch script too
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
6340b43359
NEOS 16.2 ( #20485 )
...
* NEOS 16.2
* new img
* emoji
4 years ago
iejMac
6a9afd8460
terms fixups ( #20392 )
...
* accept
* accept at end + env variables
* better
* testing some settings
* bottom margin
* nothing
* doesnt work
* don't need anymore
* clean up
* fix
* unused
* more prime widget cleanup
* Revert "more prime widget cleanup"
This reverts commit d44651ee8c
.
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Willem Melching
5a3b511306
Manager cleanup ( #20231 )
...
* move manager in folder
* inital refactor
* call start
* small cleanup
* add comments
* use self.signal()
* order shouldnt matter
* newlines
* add helpers
* newlines
* add process config
* split out build part of manager
* this should fix most tests
* no sensord on pc
* dont start athena
* remove comment
* fix old athena test
* fix inject model
* fix test car models
* should be not none
* fix helpers exitcode
* ignore manage_athenad
* Use time.monotonic()
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* combine init, remove spinner
* move manager test
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Adeeb Shihadeh
07ab081a42
oneplus cleanup ( #20200 )
...
* start cleanup
* cleanup camerad
* remove unused
* little more
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
cfb0390183
move agnos manifest to selfdrive/hardware ( #19889 )
4 years ago
Willem Melching
39615f9108
remove temporary fixes
4 years ago
Willem Melching
fe91b8a1b4
OS Updater improvements ( #19914 )
...
* Clear hashes before swapping
* add retry logic
* better retry logic
* actually fail on retries exceeded
4 years ago
Willem Melching
f068ac32bc
also unset here
4 years ago
Willem Melching
c732fd83ce
OS version needs to be unset on script start
4 years ago
Adeeb Shihadeh
b276881fcd
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>
4 years ago
Adeeb Shihadeh
8674b023ba
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
4 years ago
Adeeb Shihadeh
c57ee16e86
Set GPU priorities + improved modeld priorities ( #2691 )
...
* give gpu threads rt priority
* modeld gets highest prio on core 2
* fix frame stream
* lower prio of cal thread
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
15ae9d714f
mask off cores 2-3 from RPS ( #2692 )
4 years ago
Adeeb Shihadeh
05fe01e30b
set camera and gpu irq affinities ( #2678 )
...
* pin camera and gpu to core 2
* can't forget about 177
4 years ago
Adeeb Shihadeh
d00f1692b7
move that to two init
4 years ago
Comma Device
b75259ad07
set GPU perf governor
4 years ago
George Hotz
a14ce09018
More governance work, fix thneed ( #2610 )
...
* more governance work
* fix thneed on qcom2
* waste doesn't OOM
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
238751e784
move mdss irq to core 1
4 years ago
George Hotz
917eff8c30
New settings for governors, +30% memory bandwidth ( #2590 )
...
* new settings for governors, +30% memory bandwidth
* CPU waste is better
* warm up frame_drop
* optional CORE arg for rtshield
* back off priorities of processes not critical to driving
* if it doesn't drive, it's not realtime
* err, resource. this should have been included
* reverse order to not spike
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
3d456e5d0f
neos 15-1 ( #2430 )
...
This reverts commit 7bfb24678f
.
5 years ago
Adeeb Shihadeh
7bfb24678f
NEOS: expose kernel workqueues over sysfs ( #2375 )
...
* mask off kworkers from rt cores
* wq over sysfs
* prod image
5 years ago
Adeeb Shihadeh
6b4957cba1
Log last 1000 lines of tmux output in bootlog ( #2149 )
...
* log last 1000 lines of tmux output in bootlog
* add to bootlog
* fix tmux capture
5 years ago
Adeeb Shihadeh
f9a5f71bf5
NEOS 15 ( #2084 )
...
* doze
* need a new apk
* new build
* neos 15 part 1
* new build to re-enable display control for ft8716
* production image
5 years ago
Adeeb Shihadeh
bc07f24982
fix order of cpuset adjustments on launch
5 years ago
Adeeb Shihadeh
ef21b83937
Improve realtime performance on NEOS ( #2166 )
...
* fix setting core affinity
* dmonitoringd doesn't need rt priority
* android only gets two cores
* model and planner get core 2
* log missed cycle count
* neos update
* prod image
* revert NEOS changes
* still need this
5 years ago
Adeeb Shihadeh
1fd13c87b4
tici launch script ( #2155 )
5 years ago
Adeeb Shihadeh
cb5a2996e7
NEOS background updater ( #1892 )
5 years ago
Adeeb Shihadeh
a115366ddd
Improve update reliability and responsiveness ( #1986 )
...
* handle orphaned git lock
* trigger update after going offroad
* git ping
5 years ago
Jason Young
c43df81214
Make updated more resilient ( #1853 )
...
* Add sleep at updated startup
* Mitigate symlink-related FS damage
5 years ago
Jason Young
c2c00f65a7
Fix gyro orientation offset for EONs with OP3T mainboards ( #1738 )
...
* One-time zap of OP3T sensor registry
* Bash, I wish I knew how to quit you
* Better comment wording
* Slight increase for sensor reset settle-time
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
George Hotz
58c1504f1a
Revert broken NEOS kernel ( #1723 )
...
* untested
* bump kernel
5 years ago
Jason Young
1932e2824e
Clear build products before NEOS update ( #1677 )
...
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
Jason Young
68531b071c
Reduce scheduler latency for realtime processes ( #1638 )
...
* WIP: reduce boardd and other lags
* Copypasta fault
* Silence spurious startup warning
Co-authored-by: Comma Device <device@comma.ai>
5 years ago
Willem Melching
302417b4cf
interrupt number different on EON
5 years ago
Willem Melching
03a9b54636
Change modem interrupt affinity
5 years ago
George Hotz
012535a84e
root directory non hidden files
5 years ago