Commit Graph

103 Commits

Author SHA1 Message Date
Maxime Desroches 761c6d3495 set libGBM debug level to 0 (#506)
very good software qcom
2025-11-06 21:44:21 -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
Maxime Desroches 689537765d replace weston with magic (#493)
* magic

* magic magic magic

* fix

* fix this
2025-10-11 04:44:47 -07:00
Adeeb Shihadeh 84e9d42211 persistent boot debug logs (#491)
* store debug logs

* lil more

* py
2025-10-01 19:16:26 -07:00
Adeeb Shihadeh 3cc433660d no nvme 2025-08-26 10:17:08 -07:00
Adeeb Shihadeh 3c1eb7484e basic power monitoring (#480)
* basic power monitoring

* oops

* enable

* check engaged
2025-07-31 19:41:17 -07:00
Maxime Desroches 0ee81fec1a Revert "remove empty persist image (#479)"
This reverts commit 05f3ef38e8.
2025-07-31 18:37:09 -07:00
Maxime Desroches 05f3ef38e8 remove empty persist image (#479)
* remove

* default but lets be consistent
2025-07-30 17:10:09 -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
Maxime Desroches a895b3fff9 update weston systemd config 2025-06-27 16:26:30 -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 06f0663895 Unblock weston on networking (#446) 2025-01-26 14:33:14 -08:00
Adeeb Shihadeh 5d83b2b8b2 Remove wifi kernel module (#435)
* remove wifi kernel module

* bump kernel
2025-01-23 20:06:16 -08:00
Mauricio Alvarez Leon 4e97605c0e Add ADB over USB support (#417)
* figuring out adb device agent

* start adbd service in comma.sh

* implement thundercomm adb implementation

* UDC check

* setup_gadget_mode

* usb gadget created

* adb device shown

* android.rules

* check functionfs mount + add serial number

* 250 maxPower

* lil more

* fix

* doesn't seem to be needed

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2025-01-23 16:31:22 -08:00
Adeeb Shihadeh 9573332851 Use system python 3.12 (#431)
* system python

* dev
2025-01-22 16:19:12 -08:00
Shane Smiskol b8a6eded2b systemd: configure comma service to allow start/stop (#427)
* correct service config

* restart not compatible with oneshot, but never worked anyway
2025-01-17 16:29:25 -08:00
Shane Smiskol 2050e3af1a Remove redundant comma service parameters (#425)
KillSignal is redundant and RestartKillSignal should be KillSignal
2025-01-17 13:55:34 -08:00
Maxime Desroches 43b5acb391 set tty1 in text mode before starting weston (#424)
* tty

* remove
2025-01-14 20:49:09 -08:00
Adeeb Shihadeh 4f985359be remove phantom touch logger 2024-12-17 15:34:26 -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
Adeeb Shihadeh 5dece787c6 udev: fix permissions of IR brightness files 2024-12-14 14:02:32 -08:00
Adeeb Shihadeh 3cdfddd4d9 modem fixups 2024-12-04 20:40:11 -08:00
Adeeb Shihadeh 9846166147 more eg91 config 2024-11-28 14:33:14 -08:00
Adeeb Shihadeh 11e41e7861 speed up probing 2024-11-20 15:43:58 -08:00
Adeeb Shihadeh 7117b03bf4 fix modem if name 2024-11-19 11:49:39 -08:00
Adeeb Shihadeh 72540931c1 less power drop 2024-11-16 17:37:43 -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 ab2ca13db6 use NetworkManager for all devices (#393) 2024-10-25 12:03:07 -07:00
Adeeb Shihadeh 6457644596 start comma.service after local-fs.target 2024-10-12 16:31:06 -07:00
Adeeb Shihadeh 7eaa033080 camera: setup ICP (#384) 2024-09-27 14:14:23 -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
Shane Smiskol 7a30caa1fd kill: send SIGTERM first (#228)
* send sigterm first

* restart should be kill still

* be explicit
2024-08-31 10:34:46 -07:00
Adeeb Shihadeh 0fcdc43248 ensure home overlay is setup with local-fs.target (#328) 2024-08-27 11:40:02 -07:00
Robin Reckmann 99f3469a83 Hang up console before serial-getty start (#326) 2024-08-26 22:03:02 -07:00
Adeeb Shihadeh 8f23a40e81 update binary 2024-08-23 13:20:24 -07:00
Andrei Radulescu 4a924daa5a Ubuntu 24.04 (#262)
* Ubuntu 24.04 (#188)

* separate out qtwayland5 compilation

* ubuntu 22.04

* temp build system image

* remove bionic deps

* temp packages update

* update armhf packages

* back to libstdc++6

* replaced remove dqt5-default meta package with actual depss

* fix for build libqmi crashing with /usr/bin/env: 'python': No such file or directory

* mapbox-gl-native gcc11 fix

* openpilot_dependencies.sh change

* ubuntu-base 24.04 daily current

* apt install meson because PEP 668

* temp g++-11 for mapbox-gl-native

* bump capnproto to 1.0.2

* temp build only agnos-compiler-mapbox-gl-native

* Fixes for compiling mapbox-gl-native

* Fixes for compiling ffmpeg

* Build main system image again

* pyopencl from git since no 2023.1.5 release since https://github.com/inducer/pyopencl/issues/705

* Try to fix checkinstall - no success

* apt capnproto & ffmpeg since can't figure out issue with checkinstall

* Commented removed services disable

* Ubuntu 24.04 currently has arm-none-eabi/12.2.1 but just use wildcard to go to first folder

* pyclean is missing ?!

* ubuntu-latest in tests workflow

* Updated README

* Reverted internal/package_ota.py changes

* rebuilt kernel

* poetry.lock update

* Simplified build_system pipeline

* headers for capnproto

* Fix typo

* Fix for checkinstall

* Reverted apt capnproto & ffmpeg

* Some cleaning in Dockerfile

* 24.04 libwayland-client

* libffi6:armhf deb file

* Updated qtwayland

* Revert "libffi6:armhf deb file"

This reverts commit bb9cb5da95.

* libffi.so.6.0.4

* qt5-qmake qtbase5-dev qtbase5-dev-tools already in qt5-default

* Removed qtwayland old files

* checkinstall temp fix

* QStandardPaths: wrong permissions on runtime directory /var/tmp/weston, 0770 instead of 0700

* temp permissions fix makes loading build spinner show

* temp build optimization

* 24.04 new libs

* build kernel don't use tools on aarch64/arm64

* updated boot image and ko files

* cleaning

* switch to release 24.04

* wip - downgrade qt and libwayland

* polkitd-pkla package to support polkit *.pkla

* fixed issue with old qt needing libssl 1.1.1f

* remove /.dockerenv file

* more cleaning

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>

* Ubuntu 24.04 branch fixes (#235)

* bump version

* /lib64 is now UsrMerged

* latest pip poetry; poetry.lock update

---------

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

* revert README

* [upload]

* disable failing nvmf-autoconnect.service

* disable failing networking.service

* [upload]

* no replacement for ondemand.service

* snapd.service is in snapd package we don't install

* nfs is using rpc-pipefs-generator now, when used

* checkinstall is still not fixed so remove TODO

* updated comment about usr merged lib64

* added checkinstall bug link

* removed not used libffi.so.6 and libwayland-client.so.0

* cleaned compile-qtwayland5.sh and removed 5.15 patch

* removed unused qt-comma 5.15 deb

* cleaned up custom debs for qt and libwayland and added a README

* fixed typo [upload]

* change version

* build-libwayland-deb.sh

* build-qt-deb.sh

* cleaned README

* [upload]

* fix libdl.so qtwayland build [upload]

* rebuild debs

* update libdl path [upload]

* added missing systemd-resolved

* ping capability

* disable some systemd services

* etc/resolv.conf link should not be needed

* Revert "etc/resolv.conf link should not be needed"

This reverts commit b627615a9e.

* Revert "ping capability"

This reverts commit 812ca357cf.

* set ping capability outside of container

* disable systemd services: console-setup and sfsconfig

Co-authored-by: Robin Reckmann <robin.reckmann@gmail.com>

* disabled more systemd services

* bump version [upload]

* update version

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Robin Reckmann <robin.reckmann@gmail.com>
2024-08-13 16:46:55 -07:00
Adeeb Shihadeh b74aadb549 no more 8022 2024-07-07 20:07:38 -07:00
Adeeb Shihadeh ebc6887ddc revert python3.12 (#234)
* Revert "remove pprofile for now"

This reverts commit 78a2f3e778.

* Revert "update to python 3.12 (#224)"

This reverts commit 1370af97d8.

* unpin
2024-07-05 15:01:07 -07:00
Adeeb Shihadeh 1370af97d8 update to python 3.12 (#224) 2024-05-25 16:26:50 -07:00
Shane Smiskol 283c7a1e60 Improve ssh responsiveness on slow Wi-Fi networks (#222)
* no loss of interactivity at 300 Kbps, whereas we were struggling before at 4 Mbps and below. previously 300 Kbps meant no ssh packets from the device indefinitely

* Update userspace/files/sshd_config

* Update userspace/files/sshd_config

* Update userspace/files/sshd_config

* format
2024-05-02 15:42:51 -07:00
Adeeb Shihadeh dc32cb7fc8 at command helper 2024-02-29 22:32:16 -08:00
Adeeb Shihadeh fa07c97b65 remove blue prime network connection 2024-02-04 12:44:15 -08:00
Adeeb Shihadeh abde006ba2 update modem udev rules 2024-01-31 16:16:49 -08:00
Adeeb Shihadeh 5b9511af26 remove RTC time pull from panda (#202) 2024-01-24 23:32:18 -08:00
Adeeb Shihadeh a62cb13be6 remove LCD support 2024-01-22 14:19:07 -08:00