94 Commits

Author SHA1 Message Date
firestar5683 0db0d2f589 Software and AGNOS
Manage software updates and AGNOS retained state through explicit manifests and update preferences.

Co-authored-by: Daniel Koepping <elkoled@gmail.com>
Co-authored-by: Prabhaav Pillai <prabhaav@msu.edu>
Co-authored-by: firestarsdog <229254897+firestarsdog@users.noreply.github.com>

Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
2026-10-14 20:02:39 -05:00
Daniel Koepping 5bfa53a5e4 fix downgrade to last release (#39063)
* fix downgrade to releases before the openpilot/ move

* trigger ci

(cherry picked from commit 64be6c80d39c27608d1d74abf8d725938bc41912)
2026-10-14 13:05:09 -05:00
firestar5683 22a8575199 Vendor dependencies and resources for standalone builds
Keep official openpilot ancestry and dependency licenses. Store resources directly in Git, remove LFS setup requirements, and leave the downloadable big model outside the source tree.
2026-10-03 21:01:18 +00:00
Adeeb Shihadeh 64b4dbf115 add shellcheck-like static analysis (#38877) 2026-09-12 14:14:39 -07:00
Shane Smiskol 7bd6cad821 Re-open agnos updater UI if crash (#38672)
loop if crash
2026-08-18 19:06:48 -07:00
Adeeb Shihadeh cbda3f7994 Rename hardware/tici/ -> hardware/comma/ (#38580) 2026-08-07 18:49:27 -07:00
Adeeb Shihadeh 39117a5879 remove submodule symlinks (#38312) 2026-07-08 21:30:17 -07:00
Adeeb Shihadeh f283f6703c Revert "try removing submodule symlinks (#38310)"
This reverts commit b827c0f55e.
2026-07-08 21:12:12 -07:00
Adeeb Shihadeh b827c0f55e try removing submodule symlinks (#38310) 2026-07-08 21:11:39 -07:00
Adeeb Shihadeh 20e0f21b58 prefix paths with openpilot (#38223)
* prefix paths with openpilot

* fix setup root detection

* fix split branch codespell skips
2026-06-21 18:28:35 -07:00
Adeeb Shihadeh 160942dfde move HAL to common/hardware/ (#38202)
* move HAL to common/hardware/

* lint

* rm shim
2026-06-20 16:09:22 -07:00
Jason Young e4813645fa remove any stale scons lock on device startup (#37734)
remove any stale scons lock at device startup
2026-03-25 21:02:51 -04:00
Adeeb Shihadeh f870e48b3a BASEDIR -> DIR 2025-03-10 09:43:46 -07:00
Adeeb Shihadeh 2d9f33cbe2 detect BASEDIR 2025-03-02 12:46:00 -08:00
Maxime Desroches c551f1d239 fix bash + python3 shebangs (#33287)
fix shebangs
old-commit-hash: 1dcd66081531f4568a8de69637fc7a3f4ef3214f
2024-08-13 21:22:13 -07:00
Adeeb Shihadeh cc4f53e6c6 manager: move to system/ (#32538)
* manager: move to system/

* one more
old-commit-hash: accdade4cfe73cdca41f5afa73cf4ad085802930
2024-05-25 12:41:17 -07:00
Adeeb Shihadeh 66e8923dd7 tici: ensure DSP permissions are setup on boot (#31530)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7a2961710849a69e096a827936b571489bebe997
2024-02-21 11:48:17 -08:00
Adeeb Shihadeh 4393de267a remove early RTC time pull (#31066)
old-commit-hash: 7a6463b2b4f8737101c8d78d5622f55f25d7c1b2
2024-01-18 21:05:57 -08:00
Adeeb Shihadeh 04c0c9410f speedup prebuilt check (#31065)
* speedup prebuilt check

* one place
old-commit-hash: e3b17d10f35d6b2107d501c4e5d6b748f23b8900
2024-01-18 21:02:18 -08:00
Adeeb Shihadeh b33b2d1a0a time to remove this
old-commit-hash: 00b5424407be17dc1b193e2f52bc10d13a2c8794
2024-01-18 16:38:46 -08:00
Adeeb Shihadeh 32536ecd3a Revert "remove extra sleep", weston is fixed but a couple other things relied on this
This reverts commit a4d77a972dff10db98e835018f01537d1f836384.

old-commit-hash: 3a707082286cec9c93280c202ebbf5d5b89aac94
2023-12-11 16:21:19 -08:00
Adeeb Shihadeh f3dec8658c Revert "Simplify passive mode handling (#30593)"
old-commit-hash: 99d51bf02c5a13f3064b012da55634f8a319091e
2023-12-04 15:05:05 -08:00
Justin Newberry 688354c5ce Fix passive mode (#30600)
remove passive
old-commit-hash: 05e932b088cde39dce7a1a32a55e5b4a3fae1253
2023-12-04 13:58:43 -08:00
Adeeb Shihadeh 4be789d40a Simplify passive mode handling (#30593)
* simplify passive handling

* makes more sense
old-commit-hash: 5ccff25d885365e4247665fdf8380c6b67c36b28
2023-12-03 13:59:59 -08:00
Adeeb Shihadeh ed7e73a74f remove extra sleep on startup
old-commit-hash: d2d4802ad034a19dd34d5c0cf0c432912bc306b9
2023-11-27 14:57:40 -08:00
Adeeb Shihadeh 42eedb1c53 Revert "remove sleep on launch (#28236)"
This reverts commit fddd299a3a598a948776e73f1a45fe4b0d69db7f.

old-commit-hash: 309eccad3aeac36fdeffe08a56d530a2a8898ad7
2023-06-29 13:35:11 -07:00
Adeeb Shihadeh 7eb2e59618 remove sleep on launch (#28236)
old-commit-hash: 115fc66514dbbdac0591d2d59734ed5233fd0dd8
2023-05-23 19:49:54 -07:00
Adeeb Shihadeh b3e47c691b 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>
old-commit-hash: cd8e03d53ed210aec46a2ff728cb4a830314a21a
2022-12-31 21:00:50 -08:00
Adeeb Shihadeh 9a45a3b99b Move selfdrive/hardware/ to system/ (#24725)
* move hardware to system/

* fix mypy
old-commit-hash: 1139fe507b01f34de9714c99228f411558b44231
2022-06-11 16:38:24 -07:00
Willem Melching 753045c73d 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>
old-commit-hash: f49a9c9fd2100a4f1401a93d88064ddbbbd935c1
2022-06-02 15:20:51 +02:00
Adeeb Shihadeh 66065b527b updated: reduce frequency of unnecessary updates (#24301)
* updated: reduce frequency of unnecessary updates

* little cleanup
old-commit-hash: e8a9b9ed8c31d119ab0d3043db305966b3103c33
2022-04-22 19:18:49 -07:00
Adeeb Shihadeh 5a9644261f remove comma two support (#24248)
* remove comma two support

* cleanup release files

* little more

* more libs

* no more gralloc

* add snpe back
old-commit-hash: 5c48e7bc86a621dd35f4ff25da7a26ee506bac76
2022-04-18 17:55:23 -07:00
Comma Device 460dd3cc9d cleanup tici_init in launch script
old-commit-hash: 03ac5bb4e3fd23176d5a1f9cb32a3e8f5fc95a59
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: b3705ede5e9dbc29dcf5ea02bb257a8f576a0556
2021-09-10 17:03:54 -07:00
Adeeb Shihadeh 89e6cf7e1f remove rest of git from launch script
old-commit-hash: 26e6e07c2bb2310925615b7977c0ba19c60800f6
2021-09-08 10:51:06 -07:00
Adeeb Shihadeh ef7b6016b1 updated: move final git reset before finalizing update (#22168)
old-commit-hash: d4b42042331fe797efa144d7e5646c92925386db
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: 84d37141a8edb2281bc56fe6556c7164a2f692d2
2021-09-06 18:02:56 -07:00
Adeeb Shihadeh 32b8787d9f NEOS 18 (#21407)
old-commit-hash: dd0c6fca5da4fb2d10d5f2091fc02fec1c84150c
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: 060592e34ae4d1e53617909840a386d17c3226f0
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: 14d26d6d891865ca14a5242edce4b14f0912854e
2021-07-29 15:57:58 -07:00
Adeeb Shihadeh 5243463f0f tici: fix EGL error
old-commit-hash: e15ef7efb3642d6085d67dfb807e5eced1ef5d5f
2021-07-27 02:00:33 -07:00
Adeeb Shihadeh 893ffa0b89 remove unnecessary scons clean
old-commit-hash: c0012892daae50302773ff0a3e3d69c440696b67
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: 7c6bf89e043fe559b3bc4d19391c9c9af095a998
2021-06-30 14:20:58 +02:00
Willem Melching 167e1e6081 disable roaming
old-commit-hash: ebe9f32a27485789372dedfcc7d5dde8bf4f47ff
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: 6e4c2aa4d286bb43f091ad13820f564f70e4c0d7
2021-06-17 16:40:00 -07:00
Willem Melching 8a3e746224 nmcli force gsm.auto-config to yes
old-commit-hash: 6368bb2f30c01e60a7a4175648dafb738a6dc815
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: 1adf34f033bc1efb592383ebb2dbaef909bac60b
2021-04-14 12:04:02 -07:00
Adeeb Shihadeh 9c983f9218 NEOS 16.2 (#20485)
* NEOS 16.2

* new img

* emoji
old-commit-hash: 6340b43359e9f53174b31cd3940c6068f82e74f7
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: 6a9afd8460d31eb1a265dbee28bbfda64a6fdc97
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: 5a3b51130649356b14b24e3c82e014b3a0be95a8
2021-03-05 11:03:23 +01:00