Commit Graph

194 Commits

Author SHA1 Message Date
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
Adeeb Shihadeh 7020d829da use USB vendor ID for modem upness 2024-08-22 15:57:36 -07:00
Adeeb Shihadeh 472b90c2d4 install ppp 2024-08-20 21:10:05 -07:00
Andrei Radulescu bdb9394d62 Ship non-sparse system image in OTA (#275)
* removed system-skip-chunks image

* removed sparsed system.img

* clean github workflow

* copy image to output

* fake system-skip-chunks [upload]

* sparse key must exist otherwise KeyError: 'sparse' in openpilot

* reduce image size to 5G otherwise MemoryError: Unable to allocate output buffer. in openpilot

* [upload]

* Revert "fake system-skip-chunks"

This reverts commit bcd11e7e32.

* recreate 10G image [upload]

* resize2fs

* resize2fs shrink image

* revert skip-chunks image

* cleanup

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-08-18 12:55:18 -07:00
Adeeb Shihadeh 72ac3dc200 cleanup lte.sh 2024-08-15 15:54:48 -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
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
Robin Reckmann ba34182d5d Point pip3 to shimd pip (#294) 2024-08-08 17:09:47 -07:00
Robin Reckmann f2571c76fb Replace apt-get with apt-fast (#285)
* Replace apt-get with apt-fast

* Some more apt-get replacements
2024-08-06 10:57:52 -07:00
Andrei Radulescu 54d68a5df9 support cursor server (vscode fork) (#267)
support for cursor server (vscode fork)
2024-07-28 10:41:09 -07:00
robin-reckmann 4b70df393f Fix python dependencies (#250)
* Enable pyopencl and downgrade numpy

* Add future-fstrings as dependency

* Add comments

* Rewrite comment for clarity
2024-07-18 17:12:15 -07:00
Adeeb Shihadeh 655369095c Revert "switch pyenv to uv (#248)"
This reverts commit 7d1a421b60.
2024-07-18 13:32:51 -07:00
coder351 7d1a421b60 switch pyenv to uv (#248)
* switch pyenv to uv

* resolve issues

* remove uv upgrade
2024-07-18 11:46:21 -07:00
Adeeb Shihadeh df5a34a5bf remove mapbox-gl-native (#210) 2024-07-14 11:16:08 -07:00
pantew869 6e94867233 Switch from poetry to uv (#238)
* switch to uv from poetry

* delete poetry.lock

* add uv.lock, required-python, and switch to hatch as in openpilot

* add uv.lock, required-python, and switch to hatch as in openpilot

* update pyproject.toml and copy uv.lock to the docker image

* return opencl

* update uv.lock

* fix precommit

* use two spaces
2024-07-14 07:29:18 -07:00
Adeeb Shihadeh b74aadb549 no more 8022 2024-07-07 20:07:38 -07:00
Adeeb Shihadeh 8f11ff937c no pyopencl for now 2024-07-05 19:24:02 -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
schlimeszn 4fc3c0adf8 Show thread names in htop (#229) 2024-06-10 17:07:57 -07:00
Adeeb Shihadeh 78a2f3e778 remove pprofile for now 2024-05-30 12:56:02 -07:00
Adeeb Shihadeh 1370af97d8 update to python 3.12 (#224) 2024-05-25 16:26:50 -07:00
Adeeb Shihadeh 0a49bceca2 Revert "update wifi tuning"
This reverts commit 94705b089c.
2024-05-05 17:46:05 -07:00
Adeeb Shihadeh 94705b089c update wifi tuning 2024-05-03 16:24:45 -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 4f00dad5a3 setup without QMapLibre 2024-05-01 17:07:35 -07:00
Adeeb Shihadeh cbbef64821 update setup 2024-05-01 14:05:01 -07:00
Adeeb Shihadeh 9311b21a0b updated wifi tuning (#220) 2024-04-29 14:06:44 -07:00
Adeeb Shihadeh 052d991f9d add back userdata format flag 2024-03-19 19:12:26 -07:00
Adeeb Shihadeh dc32cb7fc8 at command helper 2024-02-29 22:32:16 -08:00
Adeeb Shihadeh 715fd7ad31 add libnss-myhostname 2024-02-08 21:07:06 -08:00
Adeeb Shihadeh 4a1ec4755e add back mapbox-gl-native for now, it's linked to a bunch of stuff 2024-02-07 15:30:22 -08:00
Adeeb Shihadeh 0e61fa8510 new pytest packages 2024-02-06 21:33:23 -08:00
Adeeb Shihadeh fa07c97b65 remove blue prime network connection 2024-02-04 12:44:15 -08:00
Adeeb Shihadeh 82a45f5897 remove mapbox-gl-native (#206) 2024-02-01 19:36:10 -08:00
Adeeb Shihadeh c214e6d27d make lte detection more generic (#208) 2024-01-31 20:45:22 -08:00
Adeeb Shihadeh abde006ba2 update modem udev rules 2024-01-31 16:16:49 -08:00
Adeeb Shihadeh b7ae4ec346 ModemManager: remove unused plugins (#207)
* ModemManager: remove unused plugins

* no cp
2024-01-31 16:10:03 -08:00
Robbe Derks 50107f549e Custom bdwlan per SOM type (#199)
* add binaries submodule

* copied over b07 for lightninghard

* add new version of cnss_daemon which looks for som-specific bdwlan

* tuned bdwlan and kernel bump
2024-01-29 14:12:54 +01:00
Adeeb Shihadeh 2b15200120 bring factory reset back to userspace (#203)
* bring factory reset back to userspace

* Update comma.sh

* Add files via upload
2024-01-25 13:38:26 -08:00
Adeeb Shihadeh 5b9511af26 remove RTC time pull from panda (#202) 2024-01-24 23:32:18 -08:00
Adeeb Shihadeh d27cd45f3d add pyclean 2024-01-22 15:04:26 -08:00
Andrei Radulescu 90442afdb8 Remove pkgs and refactoring (#197)
* install adduser

* remove pkgs

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-01-22 15:00:43 -08:00
Adeeb Shihadeh a62cb13be6 remove LCD support 2024-01-22 14:19:07 -08:00
Andrei Radulescu 7cf97ce7fe Perform qtwayland5 compilation within dockerfile (#192)
* separate out qtwayland5 compilation

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

---------

Co-authored-by: Justin Newberry <justin@comma.ai>
2024-01-22 13:54:53 -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
Adeeb Shihadeh 871bcd040e update setup 2024-01-19 13:23:08 -08:00