37 Commits

Author SHA1 Message Date
Adeeb Shihadeh
b14ff7b971 remove 30GB userdata 2026-03-08 11:50:41 -07:00
Maxime Desroches
f54c582a86 use new release branches for userdata cache 2025-10-18 23:04:31 -07:00
Maxime Desroches
d6f3c38a08 fix userdata build 2025-08-13 16:48:05 -07:00
Maxime Desroches
7225e8556b new setup (#483)
* comma

* setup

* simpler

* setup

* back

* installer

* new

* final

* faster

* fix
2025-08-12 17:08:07 -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
Robbe Derks
4b60bb76a1 helper script to apply a github patch 2025-04-04 16:36:33 +02:00
Maxime Desroches
23260d785f improve userdata build (#453)
docker + delete
2025-02-04 15:39:24 -08:00
Maxime Desroches
5e5a350981 manifest with all partitions (#443)
* all

* ota

* all manif

* ab

* remove these

* hash

* userdata

* ontheflyisthebest

* on the fly

* dont need

* remove

* handle fill

* comment

* all

* all img

* rename

* read

* sparse image

* tool

* no root

* userdata

* userdata

* need this unfort

* fix

* fix

* nop

* remove

* nop

* this too

* ota check

* better for push

* fix

* again

* good now
2025-02-02 19:55: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
a590cefcde fix stats 2025-01-26 11:09:18 -08:00
Adeeb Shihadeh
1c91865aa3 speed up OTA packaging 2025-01-25 13:45:46 -08:00
Adeeb Shihadeh
d4760b4ba8 Add raw system image to manifest (#440) 2025-01-24 16:09:25 -08:00
Adeeb Shihadeh
4f3cbd21b8 Remove firwmare.json (#432)
* Remove firwmare.json

* match order
2025-01-22 16:50:37 -08:00
Robbe Derks
df40e989d6 dmesg differ 2024-12-15 13:43:50 -08:00
Adeeb Shihadeh
753de49f95 setup namespace remote builder (#398)
* setup namespace remote builder

* lil more

* use nsc build for now

* load
2024-10-31 14:40:05 -07:00
Adeeb Shihadeh
6457644596 start comma.service after local-fs.target 2024-10-12 16:31:06 -07:00
Adeeb Shihadeh
8632029401 no external deps 2024-10-12 14:35:52 -07:00
Nelson Chen
574c4b8daf Ensure parent directories exist for download-from-manifest.py (#383)
https://discord.com/channels/469524606043160576/871838269405556736/1288752129594359860

output is expected to exist but isn't on a fresh clone.
2024-09-26 10:44:20 -07:00
Andrei Radulescu
147dce2e8f remove system-skip-chunks alt image (#367) 2024-09-13 07:51:18 -07:00
Andrei Radulescu
4e04bbc343 agnos rootfs statistics in CI (#291)
* agnos rootfs statistics in CI

* rebuild

* wip

* minimal stats

* agnos stats in PR comment

* just the folders

* just stats

* raw image is now just image

* fix printing stats when no [upload]

* this is nicer [upload]
2024-09-03 21:35:40 -07:00
Andrei Radulescu
915ff5eb09 update bash scripts to #!/usr/bin/env bash (#268)
* update bash shebang for better compatibility including macOS

* re-build
2024-08-31 10:34:25 -07:00
Adeeb Shihadeh
2e03eabbfe flash_all.sh: download from firmware.json 2024-08-21 11:57:30 -07:00
Adeeb Shihadeh
c90c718a23 setup firmware.json packaging 2024-08-21 11:31:24 -07:00
Adeeb Shihadeh
49c68541eb download from manifest (#322) 2024-08-20 20:08:49 -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
Andrei Radulescu
b33ebce21d package_ota: fix path for raw image (#292) 2024-08-08 10:28:11 -07:00
Andrei Radulescu
2c6b35d6e1 package_ota: remove converting sparse to raw (#289)
* package_ota: don't convert sparse image to raw if raw images already exists

* don't convert anymore
2024-08-07 16:34:42 -07:00
Andrei Radulescu
b040fcd2a9 build and push full release in CI to commaai/ci-artifacts (#287)
* package_ota.py & upload to commaai/ci-artifacts

* fix simg2img incorrectly using shell=True [upload]

* fix output path

* [upload]

* Apply suggestions from code review

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2024-08-07 14:24:59 -07:00
Adeeb Shihadeh
c59455d3f8 no internal (#271)
* no internal

* Update README.md

* testing

* rm private submodules

* do this the normal way now

* rm agnos-firmware

* add size

* fix mac

* files
2024-07-28 14:34:28 -07:00
Adeeb Shihadeh
6199cf5c3c bootchart script 2023-12-01 13:32:07 -08: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
5ca71576e5 symlink services for on device development 2023-05-09 15:05:34 -07:00
Adeeb Shihadeh
11f43edddf script for on-device development (#126)
* symlink /usr/comma/

* remount

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-04-02 12:54:02 -07:00
Robbe Derks
46fae683eb add kernel crash debug script 2022-08-10 14:03:35 +02:00
Adeeb Shihadeh
c1dbcd8e98 see all the files 2022-05-31 10:12:56 -07:00
Adeeb Shihadeh
4e38c8f181 initial agnos-builder release 2021-09-23 19:08:32 -07:00