Commit Graph

122 Commits

Author SHA1 Message Date
Shane Smiskol 0d29932196 Merge remote-tracking branch 'upstream/agnos18.1.1' into bluetooth 2026-05-19 23:59:47 -07:00
Adeeb Shihadeh 494c4c8334 fix amdgpu path 2026-05-18 16:26:42 -07:00
Adeeb Shihadeh ccbf205873 fix magic 2026-05-10 16:31:07 -07:00
Adeeb Shihadeh b07ea06e45 gpu fw 2026-05-09 15:09:59 -07:00
Robbe Derks ef5fde9be0 power blip test (#558)
* add power blip test

* synchronous test, and bump default governor max freq to compensate

* ditch DSP for speeding up teardown

* new abl

* limit max freq after

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2026-04-30 10:06:33 -07:00
Adeeb Shihadeh 2320521a0f include linux kernel headers in system image (#559)
* include linux kernel headers in system image

* include
2026-04-25 14:38:13 -07:00
Shane Smiskol 6a9dde9271 rm hack 2026-03-08 14:35:05 -07:00
Shane Smiskol 2a49c57c8d fix broke
bt

add bleak and kernel submodule

bt service

don't steal from gps

bump
2026-03-08 14:29:12 -07:00
Adeeb Shihadeh b25558e325 remove custom ffmpeg build (#543) 2026-03-08 11:15:00 -07:00
Adeeb Shihadeh bd59adef34 no more pyopencl 2026-03-04 14:09:31 -08:00
Shane Smiskol 2d374185aa use new vendored deps from commaai/dependencies (#531)
* sync

* remove apt packages now vendored in commaai/dependencies

- bzip2: commaai/openpilot#37342, commaai/openpilot#37459
- libbz2-dev: commaai/openpilot#37342, commaai/openpilot#37459
- libeigen3-dev: commaai/openpilot#37339
- libzmq3-dev: commaai/openpilot#37333
- libzstd-dev: commaai/openpilot#37376
- zstd: commaai/openpilot#37376
- libssl-dev: commaai/openpilot#37381
- libjpeg-dev: commaai/openpilot#37371, commaai/openpilot#37381
- cppcheck: commaai/openpilot#34248
- gettext: commaai/openpilot#37372

* update

* trim down list

* revert that

* rm old capnp build

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2026-03-04 09:59:43 -08:00
Shane Smiskol 54735dd2db Faster time syncing when no internet (#528)
* timesyncd 5s

* add it!

* add comment
2026-03-02 22:12:17 -08:00
Adeeb Shihadeh dffeb3c450 remove gcc-arm-none-eabi (#525) 2026-02-22 11:38:25 -08:00
Trey Moen 1be26f33e6 build: remove lpac build and setup (#523) 2026-02-20 07:00:56 -08:00
Maxime Desroches 9d57291038 Revert "Remove Qt + weston (#502)"
This reverts commit 3762ea1e3f.
2025-10-28 20:46:07 -07:00
Andrei Radulescu 3762ea1e3f Remove Qt + weston (#502)
* bye bye

* add libwayland-egl.so.1, libeglSubDriverWayland.so(.patched) back to agnos-display 0.0.2

* moved libffi6 to libs/

* revert deb for now, too hard to review

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-10-25 13:05:26 -07:00
Shane Smiskol 14b4d19236 Limit polkitd memory usage (#478)
* bump

* override polkitd
2025-07-15 22:50:13 -07:00
Shane Smiskol abf7a1ac46 Remove deprecated PolicyKit authorization files (#477)
* start

* clean up

* remove pkla

* clean up

* not needed

* and that
2025-07-15 18:28:30 -07:00
Brett Sanderson fc57b4a1aa Avahi ssh publish (#476)
* add avahi-daemon and avahi-utils

* avahi override

* enable avahi daemon

* avahi publish

* Update userspace/usr/comma/avahi-publish-service.sh

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Update avahi-publish-service.sh

* Update userspace/files/avahi-ssh-publish.service

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* add device alias

* remove openpilot reference

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-07-10 09:45:40 -07:00
Trey Moen f396d0eb1e feat: update libqmi, add lpac (#472)
* feat: update libqmi, add lpac

* eof
2025-05-20 14:43:41 -07:00
Adeeb Shihadeh f3f6287709 Fix /var/ filling up once and for all (#451)
* fix filling up /var/ with journal logs

* Revert "fix filling up /var/ with journal logs"

This reverts commit 5485630fb3.

* can't believe this is still an issue

* and another time bug

* one more

* fix

* revert that

* cleanup
2025-02-03 19:20:34 -08:00
Adeeb Shihadeh a11b275333 Quick pass at making the system image smaller (#436)
* some savings

* ttf -> woff

* two weights is enough

* one weight
2025-01-23 20:43:59 -08:00
Adeeb Shihadeh 9573332851 Use system python 3.12 (#431)
* system python

* dev
2025-01-22 16:19:12 -08:00
Adeeb Shihadeh 6761665b4a there can only be one /tmp 2024-12-16 16:12:55 -08:00
Adeeb Shihadeh 68d829ad37 Fix NetworkManager crashes on 24.04 (#419)
* Fix NetworkManager crashes on 24.04

* rm that
2024-12-16 15:51:13 -08:00
Mauricio Alvarez Leon d71ef11041 Revert "add some debugging python packages" (#415)
This reverts commit fbe1f0078b.
2024-12-12 10:52:02 -08:00
Adeeb Shihadeh fbe1f0078b add some debugging python packages 2024-12-05 11:29:55 -08:00
kyle-basis f383312e2b Fix typo in Dockerfile.agnos (#413) 2024-12-03 21:49:19 -08:00
Adeeb Shihadeh e917919964 fix netplan perms 2024-11-19 13:54:11 -08:00
Mauricio Alvarez Leon 453fc50ba9 build_system: fix uv 5.1 error and 3.12 pkgconfig error (#403)
* build_system: fix uv 5.1 error and 3.12 pkgconfig error

* remove mention of uv_bin and .cargo

* Update userspace/openpilot_python_dependencies.sh

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-11-13 09:57:24 -08:00
Adeeb Shihadeh deab0e9c9d move home overlay off /tmp 2024-10-30 19:21:08 -07:00
Adeeb Shihadeh b73cebf33e fix home.mount race (#397)
* move home mount

* fix that [upload]

* fix that [upload]
2024-10-30 18:28:13 -07:00
Adeeb Shihadeh bdae3242d4 update netplan config 2024-10-25 13:10:04 -07:00
Adeeb Shihadeh 94fb9317ee compile bytecode for python packages (#389)
* compile bytecode for python packages

* bump up size

* lil bigger
2024-10-24 15:09:13 -07:00
Adeeb Shihadeh fbad598ae6 Revert "Install rep and ren (#381)", hangs build on my machine
This reverts commit f2aef1d91b.
2024-10-11 20:24:40 -07:00
Adeeb Shihadeh 7eaa033080 camera: setup ICP (#384) 2024-09-27 14:14:23 -07:00
Andrei Radulescu 8f08295f77 fix fstab warning (#382)
* fix fstab warning

* [upload]
2024-09-19 10:32:12 -07:00
Robin Reckmann f2aef1d91b Install rep and ren (#381) 2024-09-19 10:31:40 -07:00
Andrei Radulescu 999a7c1180 add missing python dev dependencies (#376)
* add openpilot[dev]

* replace uv pip with uv sync (again)

* [upload]
2024-09-18 10:31:39 -07:00
Robin Reckmann f83aafb9f5 Remove PyQt5 (#375) 2024-09-16 16:16:17 -07:00
Robin Reckmann 4834f3496b Use ccache to speed up compilation (#342) 2024-09-12 09:27:48 -07:00
Robin Reckmann f856a66bfc Build independent packages first (#354)
* Move package compilation to separate dockerfile

* Add tag

* Revert "Add tag"

This reverts commit 6ed675b5db.

* Export packages from compiler docker

* Add packages folder to gitignore

* Add newline at EOF

* Keep cleaning apt

* Minimize compiler image

* Keep compilation in main dockerfile

* Revert some more

* Remove wip part for now

* Move build requirements installation to build scripts

* Remove newlines

* lint

* Compile and package modemmanager

* Disable unrelated modems

* Add runtime dependencies

* [Upload]

* Add missing package to fix networking

* Move package install to mm for now
2024-09-11 13:36:48 -07:00
Andrei Radulescu 2ee1c06a71 remove unused gcc-arm-none-eabi architectures & bins (#346)
* remove unused gcc-arm-none-eabi architectures & bins

* [upload]
2024-09-06 10:47:51 -07:00
Andrei Radulescu 1b506cf44b don't use uv sync for system environment (#341)
* don't use uv sync for system environment
https://docs.astral.sh/uv/concepts/projects/#configuring-the-project-environment-path

* [upload]

* no workspace maybe

* removed openpilot[dev] and created agnos[dev] instead
[upload]

* actually don't install extras now [upload]
2024-09-05 11:27:58 -07:00
Andrei Radulescu 30500eee39 Split out openpilot and agnos python dependencies (#265)
* make openpilot a dependency of agnos

* cleaner curls [upload]

* adding required dbus-python and pyopencl [upload]

* check in openpilot pyproject.toml and uv.lock

* ignore openpilot uv.lock

* remove allow-direct-references

* codespell: ignore openpilot python deps folder

* use a uv workspace instead
https://docs.astral.sh/uv/concepts/workspaces/

* codespell: ignore uv folder

* uv lock in sync

* agnos optional deps are never installed

* uv temp fix for dbus-python error

* uv agnos virtual

* update openpilot pyproject.toml

* also install openpilot testing

* sourcing is needed [upload]

* [upload]

* update openpilot uv.lock

* fix wrong env for uv sync

* added openpilot[testing]

* openpilot uv.lock is now workspace uv.lock

* [upload]

* no more uv.lock download

* new uv.lock

* openpilot[dev] + uv lock --upgrade

* [upload]

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-04 13:16:40 -07:00
coder351 503688baf1 pyenv to uv based python and venv (#303)
* switch pyenv to uv

* resolve issues

* remove uv upgrade

* switch to uv

* remove comment

* remove python version

* remove python3.12-dev

* remove empty line

* use python3.pc

* test github workflow

* switch to pyqt-5 + use uv python for pkgconfig

* remove references to pyenv

* add python2

* [upload]

* resolve docker warnings

* [upload]

* setup uv to use /usr/local

* use uv to install pyqt5

* use uv to install pip

* use --seed to setup pip

* test build using --no-deps

* test build pyqt5 using pyproject.toml

* revert pyqt5 from pyproject.toml

* [upload]

* use PyQt5 wheel

* revert duplicate openpilot_dependencies.sh installed in agnos-base

* add sudo

* revert dev deps purge

* remove openpilot_dependencies.sh from agnos-base

* add -y to apt-get

* add pyproject opencl dep

* add gcc-arm-none-eabi dep

* test removing dev dependencies

* test removing dev dependencies

* test purge using noninteractive

* test autoremove dependencies

* revert autoremove

* add pip to handle pip install

* add new line

* rebuild

* use uv python 3.12.3

* test github runner

* revert github runner

* rebuild

* set pc path to python 3.12

* rebuild pyqt5 in Docker

* test rebuild pyqt5

* rebuild pyqt5

* rebuild pyqt5

* test build pyqt5 wheel

* resolve venv

* test rebuild pyqt5 wheel

* resolve build error

* use pip to build wheel

* use prebuilt pyqt5 wheel

* move dbus-python deps

* resolve PR comments

* test remove dbus-python deps

* remove dbus-python deps

* remove pyqt5 pre-built wheel

* test uv python venv

* add quotes

* add shims

* rebuild

* remove XDG_DATA_HOME

* rebuild

* add uv shim

* chmod +x uv

* set UV_NO_CACHE=1

* remove trailing whitespace

* resolve uv device issues

* rebuild
2024-09-03 13:38:22 -07:00
Andrei Radulescu 396d8e19a4 build_system: fail when ubuntu base is updated (#332)
* fetch latest ubuntu-base image and error on download failed

* Dockerfile ubuntu base is now an argument

* revert fetch latest ubuntu-base image

* ubuntu base checksum

* print only the link to releases when download/checksum fails

* simpler checksum
2024-09-02 11:50:58 -07:00
Robin Reckmann 99f3469a83 Hang up console before serial-getty start (#326) 2024-08-26 22:03:02 -07:00
Adeeb Shihadeh 9f8dc1b54e add back pyenv rehash 2024-08-19 18:23:55 -07:00
Robin Reckmann 388c799932 Build PyQt5 wheel in parallel (#302)
* Build PyQt5 wheel

* Use valid whl name

* Move openpilot_python_dependencies to earlier to avoid duplication
2024-08-14 00:14:22 -07:00