Comma Device
460dd3cc9d
cleanup tici_init in launch script
...
old-commit-hash: 03ac5bb4e3
2022-03-21 16:45:24 -07:00
Adeeb Shihadeh
9193e1afa1
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 >
old-commit-hash: b3705ede5e
2021-09-10 17:03:54 -07:00
Adeeb Shihadeh
89e6cf7e1f
remove rest of git from launch script
...
old-commit-hash: 26e6e07c2b
2021-09-08 10:51:06 -07:00
Adeeb Shihadeh
ef7b6016b1
updated: move final git reset before finalizing update ( #22168 )
...
old-commit-hash: d4b4204233
2021-09-08 10:47:38 -07:00
Adeeb Shihadeh
1acbb07669
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 >
old-commit-hash: 84d37141a8
2021-09-06 18:02:56 -07:00
Adeeb Shihadeh
32b8787d9f
NEOS 18 ( #21407 )
...
old-commit-hash: dd0c6fca5d
2021-08-19 00:41:01 -07:00
Adeeb Shihadeh
a4cf1e33d8
only show updater UI if necessary ( #21787 )
...
* only show updater UI if necessary
* cleanup
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 060592e34a
2021-07-29 18:12:37 -07:00
Adeeb Shihadeh
f4708c153e
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 >
old-commit-hash: 14d26d6d89
2021-07-29 15:57:58 -07:00
Adeeb Shihadeh
5243463f0f
tici: fix EGL error
...
old-commit-hash: e15ef7efb3
2021-07-27 02:00:33 -07:00
Adeeb Shihadeh
893ffa0b89
remove unnecessary scons clean
...
old-commit-hash: c0012892da
2021-06-30 17:55:32 -07:00
Willem Melching
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
2021-06-30 14:20:58 +02:00
Willem Melching
167e1e6081
disable roaming
...
old-commit-hash: ebe9f32a27
2021-06-21 11:29:53 +02:00
Adeeb Shihadeh
03405b81fd
acados support ( #21319 )
...
* acados support
* add pyextra to python path
* x86 libs
old-commit-hash: 6e4c2aa4d2
2021-06-17 16:40:00 -07:00
Willem Melching
8a3e746224
nmcli force gsm.auto-config to yes
...
old-commit-hash: 6368bb2f30
2021-05-20 17:22:18 +02:00
Adeeb Shihadeh
f11dd415e8
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 >
old-commit-hash: 1adf34f033
2021-04-14 12:04:02 -07:00
Adeeb Shihadeh
9c983f9218
NEOS 16.2 ( #20485 )
...
* NEOS 16.2
* new img
* emoji
old-commit-hash: 6340b43359
2021-03-26 02:01:41 -07:00
iejMac
4770c6d1c9
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 d44651ee8c501be61099dc4cd40fa0467bc315a3.
Co-authored-by: Comma Device <device@comma.ai >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 6a9afd8460
2021-03-20 21:26:05 -07:00
Willem Melching
c0098cec09
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 >
old-commit-hash: 5a3b511306
2021-03-05 11:03:23 +01:00
Adeeb Shihadeh
6dbc7c6d92
oneplus cleanup ( #20200 )
...
* start cleanup
* cleanup camerad
* remove unused
* little more
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 07ab081a42
2021-03-01 17:14:03 -08:00
Adeeb Shihadeh
ec468f88c9
move agnos manifest to selfdrive/hardware ( #19889 )
...
old-commit-hash: cfb0390183
2021-01-30 18:31:28 -08:00
Willem Melching
5ecc0b44c2
remove temporary fixes
...
old-commit-hash: 39615f9108
2021-01-27 16:08:49 +01:00
Willem Melching
5ad8abdc24
OS Updater improvements ( #19914 )
...
* Clear hashes before swapping
* add retry logic
* better retry logic
* actually fail on retries exceeded
old-commit-hash: fe91b8a1b4
2021-01-25 15:52:07 +01:00
Willem Melching
d37a4bc065
also unset here
...
old-commit-hash: f068ac32bc
2021-01-19 13:09:35 +01:00
Willem Melching
2326281066
OS version needs to be unset on script start
...
old-commit-hash: c732fd83ce
2021-01-19 13:02:03 +01:00
Adeeb Shihadeh
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
2020-12-18 13:17:12 +01:00
Adeeb Shihadeh
b950cab874
HW abstraction layer ( #19530 )
...
* start hw refactor
* move that
* pins
* put that back
old-commit-hash: 8674b023ba
2020-12-16 21:30:23 -08:00
Adeeb Shihadeh
762eda95cd
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 >
old-commit-hash: c57ee16e86
2020-12-15 19:22:03 -08:00
Adeeb Shihadeh
7914d23049
mask off cores 2-3 from RPS ( #2692 )
...
old-commit-hash: 15ae9d714f
2020-12-13 19:30:00 -08:00
Adeeb Shihadeh
aa0c100724
set camera and gpu irq affinities ( #2678 )
...
* pin camera and gpu to core 2
* can't forget about 177
old-commit-hash: 05fe01e30b
2020-12-02 20:44:14 -08:00
Adeeb Shihadeh
089843bf3c
move that to two init
...
old-commit-hash: d00f1692b7
2020-11-30 17:02:24 -08:00
Comma Device
7726636f4a
set GPU perf governor
...
old-commit-hash: b75259ad07
2020-11-24 04:09:08 +00:00
George Hotz
55df5b0ddf
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 >
old-commit-hash: a14ce09018
2020-11-23 17:52:28 -08:00
Adeeb Shihadeh
679c162db1
move mdss irq to core 1
...
old-commit-hash: 238751e784
2020-11-23 14:44:55 -08:00
George Hotz
6b32f79ae6
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 >
old-commit-hash: 917eff8c30
2020-11-20 19:25:12 -08:00
Adeeb Shihadeh
3aba5d65f3
neos 15-1 ( #2430 )
...
This reverts commit b7816d54887e55ae982501d0c2915182590288c3.
old-commit-hash: 3d456e5d0f
2020-10-27 15:22:54 -07:00
Adeeb Shihadeh
29dc45ae44
NEOS: expose kernel workqueues over sysfs ( #2375 )
...
* mask off kworkers from rt cores
* wq over sysfs
* prod image
old-commit-hash: 7bfb24678f
2020-10-20 21:10:22 -07:00
Adeeb Shihadeh
a4f4f1d828
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
old-commit-hash: 6b4957cba1
2020-10-20 21:07:12 -07:00
Adeeb Shihadeh
a0845d8301
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
old-commit-hash: f9a5f71bf5
2020-10-18 17:03:28 -07:00
Adeeb Shihadeh
ce9369758e
fix order of cpuset adjustments on launch
...
old-commit-hash: bc07f24982
2020-10-15 16:10:21 -07:00
Adeeb Shihadeh
bdf52941c8
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
old-commit-hash: ef21b83937
2020-09-16 15:33:12 -07:00
Adeeb Shihadeh
d236df2eba
tici launch script ( #2155 )
...
old-commit-hash: 1fd13c87b4
2020-09-12 17:57:24 -07:00
Adeeb Shihadeh
c2b1d97b20
NEOS background updater ( #1892 )
...
old-commit-hash: cb5a2996e7
2020-08-12 11:39:21 -07:00
Adeeb Shihadeh
792b74f543
Improve update reliability and responsiveness ( #1986 )
...
* handle orphaned git lock
* trigger update after going offroad
* git ping
old-commit-hash: a115366ddd
2020-08-06 12:49:11 -07:00
Jason Young
2b60599543
Make updated more resilient ( #1853 )
...
* Add sleep at updated startup
* Mitigate symlink-related FS damage
old-commit-hash: c43df81214
2020-07-10 07:41:26 -04:00
Jason Young
b3f2407d11
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 >
old-commit-hash: c2c00f65a7
2020-07-06 05:10:14 -04:00
George Hotz
3ad7346daf
Revert broken NEOS kernel ( #1723 )
...
* untested
* bump kernel
old-commit-hash: 58c1504f1a
2020-06-16 14:51:55 -07:00
Jason Young
ba98725583
Clear build products before NEOS update ( #1677 )
...
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 1932e2824e
2020-06-10 18:40:49 -07:00
Jason Young
ebed52527b
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 >
old-commit-hash: 68531b071c
2020-06-05 17:09:41 -04:00
Willem Melching
fd8b813317
interrupt number different on EON
...
old-commit-hash: 302417b4cf
2020-05-12 15:14:00 -07:00
Willem Melching
1e86639782
Change modem interrupt affinity
...
old-commit-hash: 03a9b54636
2020-05-08 21:27:46 -07:00