Commit Graph

90 Commits

Author SHA1 Message Date
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
Andrei Radulescu caf8406a70 Start ssh early (#194) 2024-01-21 14:17:42 -08:00
Adeeb Shihadeh a5b2f2b75e Revert "Start sshd early (#164)"
This reverts commit 2fde624a9d.
2024-01-20 16:47:22 -08:00
Robbe Derks 2fde624a9d Start sshd early (#164)
start sshd early
2023-12-17 17:01:23 -08:00
Adeeb Shihadeh d93969982d update lte connection 2023-12-05 13:42:58 -08:00
Adeeb Shihadeh 34e66f91d3 update cell connections 2023-12-01 13:20:57 -08:00
Adeeb Shihadeh 2b56b8067b remove pulseaudio (#185)
* remove pulseaudio

* remove that
2023-12-01 12:49:38 -08:00
Greg Hogan bc20686ddf hostname with serial number (#180)
* hostname with serial number

* add systemd.hostname kernel param

* /etc/hostname is now a symlink

* probably shouldn't have moved that

* fix path

* force symlink

* update kernel load script to support passing in device name

* remove kernel param

* change hostname from tici to comma

* bump kernel
2023-11-08 10:53:28 -08:00
Adeeb Shihadeh 626b93ec1b update weston 2023-07-20 14:07:04 -07:00
Adeeb Shihadeh d04ddd02c5 auto-format /cache (#155)
* auto-format /cache

* ext4
2023-07-07 19:51:01 -07:00
Adeeb Shihadeh b1f2f2ca9a weston: remove extra modesetting (#154) 2023-07-06 19:38:57 -07:00
Adeeb Shihadeh 592d5815d3 include headers for agnos kernel (#153)
* include headers for agnos kernel

* update comment
2023-07-05 19:05:40 -07:00
Adeeb Shihadeh 52b83f9638 update python to 3.11.4 (#120)
* 3.11.4

* pre-commit

* revert pycapnp

* revert pycapnp

* update pyqt

* try this

* unpin

* Revert "unpin"

This reverts commit d97316717d.

* comment

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-07-05 17:40:34 -07:00
Adeeb Shihadeh 8ebf85df68 anomalous touch logger (#147)
* anomalous touch logger

* service

* add evdev

* rename

* Update userspace/files/phantom_touch_logger.service
2023-06-30 14:37:01 -07:00