Commit Graph

116 Commits

Author SHA1 Message Date
Maxime Desroches 58443faaa0 better path for reset 2025-05-20 20:56:59 -07:00
Adeeb Shihadeh e6ac38f629 sure why not 2025-03-07 14:49:45 -08:00
Adeeb Shihadeh 8f054f2a16 disable adb over the network 2025-03-07 11:21:48 -08:00
Adeeb Shihadeh 94fc1d0552 update bdwlan 2025-03-03 14:38:50 -08:00
Adeeb Shihadeh a21f652370 remove duplicate varspam.sh 2025-02-03 19:34:24 -08: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 13ab1819b7 Revert SquashFS (#449)
* Revert "switch to lzo, same size as gzip and boots faster"

This reverts commit 10fcd04ca5.

* Revert "Switch to gzip'd squash (#441)"

This reverts commit 2091362d56.

* Revert "Switch to squashfs for tiny rootfs! (#438)"

This reverts commit 1e16811f45.

* Revert "fix stats"

This reverts commit a590cefcde.
2025-01-28 16:36:59 -08:00
Adeeb Shihadeh 62d2cc4264 Unlock full CPU freq (#447)
* 3s savings

* limit

* bump

* revert that
2025-01-26 16:13:29 -08:00
Adeeb Shihadeh e9a87569a2 Remove audio kernel modules (#444)
* Remove audio kernel modules

* cleanup

* lil more
2025-01-25 18:06:02 -08:00
Adeeb Shihadeh 7e9b49e95f adb: set default port 2025-01-25 13:08:32 -08:00
Adeeb Shihadeh f9a2dfb458 new reset build with --format support 2025-01-25 12:43:29 -08:00
Adeeb Shihadeh 1e16811f45 Switch to squashfs for tiny rootfs! (#438)
* try squashfs

* rw

* build squash directly

* oops

* cleanup
2025-01-24 15:41:49 -08:00
Mauricio Alvarez Leon f0d8f77a56 add gadget directory check in disabling adb (#439)
directory checking for disabling adb
2025-01-24 12:47:26 -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 5d83b2b8b2 Remove wifi kernel module (#435)
* remove wifi kernel module

* bump kernel
2025-01-23 20:06:16 -08:00
Adeeb Shihadeh d6b496d720 chmod +x set_adb.sh 2025-01-23 16:43: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
Robbe Derks 567facf93f Enable SEC_TX for mic input (#434)
* also enable SEC_TX

* needs to be conditional
2025-01-23 16:18:58 +01:00
Adeeb Shihadeh d39db39e77 only check for factory reset conditions on first comma service run 2025-01-22 16:51:36 -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 f11e6b3a99 brightnessd: remove lcd exception 2024-12-15 10:40:35 -08:00
Robbe Derks bbda88d9af Fix sound (#414)
missing a config
2024-12-04 21:43:11 -08:00
Adeeb Shihadeh 0b1e669ebf Revert "update setup", don't need that anymore
This reverts commit f3eba566ee.
2024-11-20 16:13:57 -08:00
Adeeb Shihadeh 1924ee40c1 update uv path 2024-11-20 14:45:04 -08:00
Adeeb Shihadeh 8d7d1a8867 fix ssd and panda 1.8 gpio conflict 2024-11-17 14:59:54 -08:00
Adeeb Shihadeh 2f5d64c437 don't tile bg 2024-11-16 18:49:24 -08:00
Adeeb Shihadeh fd3fd7e714 add debug print 2024-11-16 17:30:56 -08:00
Adeeb Shihadeh 42325499e0 not all have amp config 2024-11-16 17:30:18 -08:00
Adeeb Shihadeh 2f9abf8b6e export panda regulator en pin 2024-11-16 16:47:21 -08:00
Adeeb Shihadeh f3eba566ee update setup 2024-11-08 14:16:11 -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
dzid26 89bf49ac0d tiki sound 2024-10-27 17:01:27 -07:00
Adeeb Shihadeh 90a2353e52 sound_init: wait for tinymix controls (#390) 2024-10-24 14:35:12 -07:00
Robbe Derks 0a4f4568c4 B01 wlan config (#377)
fix 5GHz
2024-09-18 23:01:01 +02:00
Andrei Radulescu 47e89b059f clear /data/tmp on boot (#371)
* clear /data/tmp on boot

* rm -rf /data/tmp
2024-09-16 09:54:48 -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
Adeeb Shihadeh 7020d829da use USB vendor ID for modem upness 2024-08-22 15:57:36 -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
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
Andrei Radulescu 54d68a5df9 support cursor server (vscode fork) (#267)
support for cursor server (vscode fork)
2024-07-28 10:41:09 -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
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