Commit Graph

70 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 30039cd1ab easy pip install (#150)
* easy pip install

* update
2023-06-24 17:47:06 -07:00
Adeeb Shihadeh 5fc1a7bc26 weston: adjust calibration path prrecedence 2023-06-07 20:23:58 -07:00
Adeeb Shihadeh 3668cf59c6 fix rare sound init failure (#138)
* test

* executable

* wait for sound card

* check that too

* update

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-11 21:54:10 -07:00
Adeeb Shihadeh 061419762d weston: fix no GL context early in boot (#137)
* weston: fix no GL context early in boot

* update test

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-11 15:02:44 -07:00
Adeeb Shihadeh e99cea162f ensure comma service always run (#136)
* set time

* copy

* enable

* wait for weston

* cleanup

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-09 18:49:36 -07:00
Adeeb Shihadeh e7d81bff67 weston that takes multiple color cal paths 2023-05-09 11:18:52 -07:00
Adeeb Shihadeh 8ccaa49710 brightnessd: ignore some panels (#135)
Co-authored-by: Comma Device <device@comma.ai>
2023-05-07 16:45:59 -07:00
Adeeb Shihadeh d54e993b51 weston: treat all panels the same (#128)
* weston: treat all panels the same

* fix linter
2023-05-01 19:02:51 -07:00
Adeeb Shihadeh fb710765c0 update weston with configurable color cal path 2023-04-28 15:18:26 -07:00
Adeeb Shihadeh a3706d2988 power drop monitor improvements (#123)
* start service later

* log voltages

* rm slow os.system

* rm rest of them

* little more
2023-03-20 17:10:10 -07:00
Adeeb Shihadeh 5e437911f9 weston: modetest once 2023-03-02 20:34:25 -08:00
Adeeb Shihadeh ca97eccc9b bump abl, fix boot splash flicker 2023-02-26 10:09:04 -08:00
Adeeb Shihadeh 2ffb16f7b8 weston init cleanup (#117)
* weston: remove display re-init

* test

* init both

* increase

* another try

* move that

* test service

* little more

* bump kernel

* fix that
2023-02-25 22:24:49 -08:00
Adeeb Shihadeh 6c5e4fc7fa Revert "weston: cleanup init (#112)"
This reverts commit c2513093cd.
2023-02-23 21:01:22 -08:00
Adeeb Shihadeh c2513093cd weston: cleanup init (#112)
* weston: cleanup init

* rm modetest

* increase that

* ugh, have to go to 5

* cleanup comments
2023-02-23 11:14:13 -08:00
Adeeb Shihadeh 8eafd09d9f no more pyextra 2022-12-31 20:39:56 -08:00
Adeeb Shihadeh 6944dce8ef remove NetworkManager changes for serial hostname 2022-11-10 13:00:17 -08:00
Adeeb Shihadeh 6c61d0740a SPI panda (#97)
* spidev python package

* remove this nvidia stuff

* just run it everytime

* udev rules
2022-11-09 21:24:56 -08:00
Adeeb Shihadeh d24da2acef fix hostname setting 2022-10-05 13:01:46 -07:00
Adeeb Shihadeh 02a1a4d0c4 modem manager: ignore modem diag port (#93) 2022-10-05 12:50:38 -07:00