Adeeb Shihadeh
309eccad3a
Revert "remove sleep on launch ( #28236 )"
...
This reverts commit 115fc66514
.
2 years ago
Adeeb Shihadeh
115fc66514
remove sleep on launch ( #28236 )
2 years ago
Adeeb Shihadeh
cd8e03d53e
move all third party stuff into third_party/ ( #26853 )
...
* mv fastcluster
* move msm_kgsl.h
* camerad include
* update path
* mv pyextra
* fix tici build
* add acados_template to release build
Co-authored-by: Comma Device <device@comma.ai>
2 years ago
Adeeb Shihadeh
1139fe507b
Move selfdrive/hardware/ to system/ ( #24725 )
...
* move hardware to system/
* fix mypy
3 years ago
Willem Melching
f49a9c9fd2
less TICI when not needed ( #24698 )
...
* less TICI when not needed
* fix process replay
* move reading voltages into hw abstraction layer
* Update selfdrive/hardware/tici/hardware.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/hw.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/hardware/base.h
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rename init function
* Update selfdrive/athena/athenad.py
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
* Update selfdrive/boardd/boardd.cc
* Apply suggestions from code review
* Update selfdrive/thermald/thermald.py
* update ref
* fix alert width if all cameras are bad
* add ecam to test_loggerd
* bump cereal
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
3 years ago
Adeeb Shihadeh
e8a9b9ed8c
updated: reduce frequency of unnecessary updates ( #24301 )
...
* updated: reduce frequency of unnecessary updates
* little cleanup
3 years ago
Adeeb Shihadeh
5c48e7bc86
remove comma two support ( #24248 )
...
* remove comma two support
* cleanup release files
* little more
* more libs
* no more gralloc
* add snpe back
3 years ago
Comma Device
03ac5bb4e3
cleanup tici_init in launch script
3 years ago
Adeeb Shihadeh
b3705ede5e
Unify neos/agnos updaters ( #22109 )
...
* start moving neos updater
* downloading
* ui
* move recovery
* resuming
* add verification
* fix up launch
* test
* update updater
* fix mypy
* fake updater
* review suggestions
* more tests
* abc
* update bin
* raise
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
26e6e07c2b
remove rest of git from launch script
4 years ago
Adeeb Shihadeh
d4b4204233
updated: move final git reset before finalizing update ( #22168 )
4 years ago
Adeeb Shihadeh
84d37141a8
C3: clear nmmeta files on boot ( #22149 )
...
* C3: clear nmmeta files on boot
* Update launch_chffrplus.sh
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Adeeb Shihadeh
dd0c6fca5d
NEOS 18 ( #21407 )
4 years ago
Adeeb Shihadeh
060592e34a
only show updater UI if necessary ( #21787 )
...
* only show updater UI if necessary
* cleanup
Co-authored-by: Comma Device <device@comma.ai>
4 years ago
Adeeb Shihadeh
14d26d6d89
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>
4 years ago
Adeeb Shihadeh
e15ef7efb3
tici: fix EGL error
4 years ago
Adeeb Shihadeh
c0012892da
remove unnecessary scons clean
4 years ago
Willem Melching
7c6bf89e04
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>
4 years ago
Willem Melching
ebe9f32a27
disable roaming
4 years ago
Adeeb Shihadeh
6e4c2aa4d2
acados support ( #21319 )
...
* acados support
* add pyextra to python path
* x86 libs
4 years ago
Willem Melching
6368bb2f30
nmcli force gsm.auto-config to yes
4 years ago
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