Adeeb Shihadeh
6340b43359
NEOS 16.2 ( #20485 )
...
* NEOS 16.2
* new img
* emoji
2021-03-26 02:01:41 -07:00
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>
2021-03-20 21:26:05 -07:00
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>
2021-03-05 11:03:23 +01:00
Adeeb Shihadeh
07ab081a42
oneplus cleanup ( #20200 )
...
* start cleanup
* cleanup camerad
* remove unused
* little more
Co-authored-by: Comma Device <device@comma.ai>
2021-03-01 17:14:03 -08:00
Adeeb Shihadeh
cfb0390183
move agnos manifest to selfdrive/hardware ( #19889 )
2021-01-30 18:31:28 -08:00
Willem Melching
39615f9108
remove temporary fixes
2021-01-27 16:08:49 +01:00
Willem Melching
fe91b8a1b4
OS Updater improvements ( #19914 )
...
* Clear hashes before swapping
* add retry logic
* better retry logic
* actually fail on retries exceeded
2021-01-25 15:52:07 +01:00
Willem Melching
f068ac32bc
also unset here
2021-01-19 13:09:35 +01:00
Willem Melching
c732fd83ce
OS version needs to be unset on script start
2021-01-19 13:02:03 +01:00
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>
2020-12-18 13:17:12 +01:00
Adeeb Shihadeh
8674b023ba
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
2020-12-16 21:30:23 -08:00
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>
2020-12-15 19:22:03 -08:00
Adeeb Shihadeh
15ae9d714f
mask off cores 2-3 from RPS ( #2692 )
2020-12-13 19:30:00 -08:00
Adeeb Shihadeh
05fe01e30b
set camera and gpu irq affinities ( #2678 )
...
* pin camera and gpu to core 2
* can't forget about 177
2020-12-02 20:44:14 -08:00
Adeeb Shihadeh
d00f1692b7
move that to two init
2020-11-30 17:02:24 -08:00
Comma Device
b75259ad07
set GPU perf governor
2020-11-24 04:09:08 +00:00
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>
2020-11-23 17:52:28 -08:00
Adeeb Shihadeh
238751e784
move mdss irq to core 1
2020-11-23 14:44:55 -08:00
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>
2020-11-20 19:25:12 -08:00
Adeeb Shihadeh
3d456e5d0f
neos 15-1 ( #2430 )
...
This reverts commit 7bfb24678f
.
2020-10-27 15:22:54 -07:00
Adeeb Shihadeh
7bfb24678f
NEOS: expose kernel workqueues over sysfs ( #2375 )
...
* mask off kworkers from rt cores
* wq over sysfs
* prod image
2020-10-20 21:10:22 -07:00
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
2020-10-20 21:07:12 -07:00
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
2020-10-18 17:03:28 -07:00
Adeeb Shihadeh
bc07f24982
fix order of cpuset adjustments on launch
2020-10-15 16:10:21 -07:00
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
2020-09-16 15:33:12 -07:00
Adeeb Shihadeh
1fd13c87b4
tici launch script ( #2155 )
2020-09-12 17:57:24 -07:00
Adeeb Shihadeh
cb5a2996e7
NEOS background updater ( #1892 )
2020-08-12 11:39:21 -07:00
Adeeb Shihadeh
a115366ddd
Improve update reliability and responsiveness ( #1986 )
...
* handle orphaned git lock
* trigger update after going offroad
* git ping
2020-08-06 12:49:11 -07:00
Jason Young
c43df81214
Make updated more resilient ( #1853 )
...
* Add sleep at updated startup
* Mitigate symlink-related FS damage
2020-07-10 07:41:26 -04:00
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>
2020-07-06 05:10:14 -04:00
George Hotz
58c1504f1a
Revert broken NEOS kernel ( #1723 )
...
* untested
* bump kernel
2020-06-16 14:51:55 -07:00
Jason Young
1932e2824e
Clear build products before NEOS update ( #1677 )
...
Co-authored-by: Comma Device <device@comma.ai>
2020-06-10 18:40:49 -07:00
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>
2020-06-05 17:09:41 -04:00
Willem Melching
302417b4cf
interrupt number different on EON
2020-05-12 15:14:00 -07:00
Willem Melching
03a9b54636
Change modem interrupt affinity
2020-05-08 21:27:46 -07:00
George Hotz
012535a84e
root directory non hidden files
2020-01-17 10:22:00 -08:00