Commit Graph

202 Commits

Author SHA1 Message Date
nrdr integration 752209cd60 models: replace bundled driving chunks with CD210 2026-09-10 22:05:00 +08:00
nrdr integration 6f1ab77d3f revert: remove EPS flashing integration 2026-09-10 21:54:20 +08:00
nrdr integration cd76e94eba ui: expose explicit EPS info read button 2026-09-10 20:46:22 +08:00
nrdr integration 0cc00a5384 ui: show EPS identity and flash progress
Add an EPS Info row with READ action, persist bus/part number/VIN in status, and emit explicit flashing phase percentages for the UI.
2026-09-10 20:39:17 +08:00
nrdr integration 3c79ab6bb8 ui: show EPS flash progress percentage
Emit explicit phase and percentage markers from the EPS updater, parse them in the UI runner, and display the percentage in the EPS settings panel.
2026-09-10 20:33:13 +08:00
nrdr integration 4f782b4ac7 models: add China download mirrors
Prefer ghproxy.net for model manifests and hf-mirror.com for Hugging Face artifacts, with automatic fallback to the original URLs.
2026-09-10 20:29:04 +08:00
nrdr integration ebaba75710 ui: identify EPS firmware after Panda release 2026-09-10 20:21:17 +08:00
nrdr integration 3f95432244 ui: fix EPS Panda release detection 2026-09-10 20:20:26 +08:00
nrdr integration cba582afc2 ui: add matched EPS flashing workflow
Add manual Panda release and restore controls, auto-match the reported EPS part number to curated firmware, and require an exact match plus an offroad released Panda before flashing. Never stop comma/UI.
2026-09-10 20:12:13 +08:00
nrdr integration 9a8dc37fbe nrdr: integrate curated EPS flashing tools
Import standalone EPS firmware validation, diagnostics, and flashing tools from nrdr-development-new commit 5d2b543.
2026-09-10 19:47:25 +08:00
Comma Device eb910ba7ac pandad: rebuild C++ binary against merged panda health.h (49-byte health_t with flags_pkt)
The previous committed pandad binary was built against an older panda
health_t (64 bytes, no flags_pkt), so the C++ daemon misread the panda
health packet: pandaStates showed garbage (ignitionLine=False,
rxBufferOverflow=faults, etc.) even though the panda firmware and python
library agreed on the new layout. Rebuild from the merged panda/board/health.h
so pandad reports correct ignition/harness/fault state over USB.
2026-09-06 21:12:56 +08:00
mr-one d346b9b8f4 pandad: add GPIO+DFU full-reflash path for C3XL internal DOS panda
The C3XL DOS panda is soldered onto the mainboard and connected over USB
only (no SPI). Its firmware does not respond to the USB 0xd1 bootloader
command (returns STALL), so panda.flash()/recover() cannot enter the
bootloader. Reflash the full image (bootstub+app) over the ST ROM
bootloader reached by holding BOOT0 via GPIO, then reset back into the app.
Also wait for the panda to re-enumerate after flashing before connecting.
2026-09-06 18:03:09 +08:00
mr-one 45430931ef python: treat DOS as internal panda for C3XL (USB-only, no SPI) 2026-09-06 18:03:09 +08:00
Comma Device ef7fef92df merge master-dev: sync vendored panda (74a0adce) + tinygrad (e837e367a), rebuild libparams_c.so & capnp gen 2026-09-06 17:07:43 +08:00
James Vecellio-Grant 2b4dabf75d modeld_v2: realize frames on npy -> amd (#1993)
(cherry picked from commit 6135084c941d4d947dd90c78326a557c3c857f89)
2026-09-06 16:42:43 +08:00
James Vecellio-Grant 43f32d2f28 modeld_v2: one dev warp and enqueue (#1990)
(cherry picked from commit 047ae41c0d9fe3ae5656d1541a376d6fbf17c9a3)
2026-09-06 16:42:43 +08:00
Nayan 949d76a6c6 chaos (#1991)
burn it all

(cherry picked from commit 7eb457f6c474a8fe50a9319de507d532cd61aaf6)
2026-09-06 16:42:43 +08:00
James Vecellio-Grant 39ca31ee3a ci: compile dm warp (#1989)
(cherry picked from commit 302f3ad892038144edabc5626bda2294a4ff9b11)
2026-09-06 16:42:43 +08:00
Jason Wen 3f3294ec6e ci: poll GH API in prepare model jobs (#1987)
(cherry picked from commit 132b31f4cf7b52a5a7e69f98afaba68ca0d43d62)
2026-09-06 16:42:43 +08:00
James Vecellio-Grant 8076c3096b ci: Replace hf oath with token (#1986)
replace oauth with token

(cherry picked from commit 752c07f9e4aa2a2a4812e0c7206685589572b9c8)
2026-09-06 16:42:42 +08:00
Jason Wen ad9facf0f4 models: sanitize default model name for HF (#1984)
(cherry picked from commit e87dbbaba710bbfe7661d9ff064d46170cac9442)
2026-09-06 16:42:42 +08:00
Jason Wen 25209fd408 models: add big model ONNX hash tracking (#1982)
(cherry picked from commit 47db84ebfb47f82bfe3ebb3d78cb13d4bc9a91a3)
2026-09-06 16:42:42 +08:00
Jason Wen c122acc035 bump tg
(cherry picked from commit 68be7773955e2a0dd7901ea604ba3301bed13daf)
2026-09-06 16:42:41 +08:00
github-actions[bot] 7650cd79e8 [bot] Update Python packages (#1950)
* Update Python packages

* bump tg

* bump

* ci: route build_model runner by target_hardware instead of hardcoding chestnut

* hack, remove before merge

* Revert build-model runner hack and uv.lock update

* why were they hard coded

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
(cherry picked from commit ab389498a8808e8ea82808adabe355af7475b749)
2026-09-06 16:42:40 +08:00
Daniel Koepping 5d5a6b62c2 AGNOS 19.7 (#38750)
(cherry picked from commit 6249f4d5b0e63c05f08bce12ca3afebda9f764a3)
2026-09-06 16:42:29 +08:00
Daniel Koepping b6086fbe08 ui: show one GPU status (#38748)
ui: show one GPU status icon

(cherry picked from commit 8b88f7dd6e0fe50985e27676370dc71145679d23)
2026-09-06 16:41:04 +08:00
Harald Schäfer ffe169d8c7 cereal: log big model in drivingModelData (#38747)
(cherry picked from commit 79658800ce142a84009e83a7f98e1c5d3415ceee)
2026-09-06 16:41:03 +08:00
Daniel Koepping de2a01a89c ui: show usb connection (#38745)
* ui: show USB status

* ui: resize USB icon

* ui: classify USB device once

* ui: debounce USB disconnect

(cherry picked from commit 36561258facd79875b58567f8b72ef751810ae3a)
2026-09-06 16:41:03 +08:00
YassineYousfi 45ff674519 amd warp (#38684)
* modeld: fuse warp and policy TinyJit

* bump tg

* fix?

* this simple trick...

* debug 1

* bump tg

* pack all

* wips

* fix

* BIG_INTO_SMALL remove

* slower

(cherry picked from commit cb85ac1f0e78425752cf744b2ca2cd268720a337)
2026-09-06 16:41:02 +08:00
Daniel Koepping b66b3af59c Revert "monitor chestnut USB in hardwared (#38741)" (#38744)
This reverts commit 7d5596d5c3527f274a3615181f52095909ffb8e9.

(cherry picked from commit c9f1602040149be793ea3d3e17a5fd8d915408c8)
2026-09-06 16:40:53 +08:00
Daniel Koepping 5f4e447a3f modeld: wait for stable chestnut (#38742)
modeld: wait for stable chestnut
(cherry picked from commit 06af2abe67db217f96e6152ebf4f018fa1cb4bca)
2026-09-06 16:40:43 +08:00
Daniel Koepping 26de98f8e8 monitor chestnut USB in hardwared (#38741)
hardwared: monitor chestnut USB independently
(cherry picked from commit 7d5596d5c3527f274a3615181f52095909ffb8e9)
2026-09-06 16:40:31 +08:00
YassineYousfi 7921eb7b1f TGC (#38739)
* 23e6a04e-e6e5-462b-a0bb-e4088275ee43/12864 tgc

* here

(cherry picked from commit a2e422eee0e92523101329437b24bafa09538aa7)
2026-09-06 16:39:55 +08:00
XiaoXX 60cb56b646 modem.py: accept hex chars in ICCID (#38735)
E.118 specifies decimal digits, but many real SIMs carry hex characters
in EF_ICCID (e.g. China Mobile's 898600B5... range, some MVNO/IoT SIMs).
AT+QCCID returns them verbatim, and the strict isdigit() check blanked
the ICCID, leaving the modem daemon stuck in INITIALIZING forever and
cellular dead. ModemManager parses ICCID as hex for the same reason.

Verified on a comma four with a China Mobile SIM (EG916Q-GL): previously
stuck retrying 'identity read incomplete', now dials and passes traffic.

(cherry picked from commit e10c0fd960016e385f1135d9af4af03b634a7ad2)
2026-09-06 16:38:43 +08:00
Trey Moen ff0c1ee036 ui(mici): name updater signal constants (#38731)
* mici: name updater signal constants

* drop SIGNAL_ prefix

* self contained

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
(cherry picked from commit da8ce858ec5a2478f17ac2e0b94bfd478f1c7a6e)
2026-09-06 16:38:43 +08:00
Trey Moen 3b767b5a97 ui: clarify branch switcher error message (#38732)
(cherry picked from commit 9fa7ef3d1722020ea83868c10182812d2650a336)
2026-09-06 16:38:43 +08:00
Harald Schäfer 264b982fa5 BMRLNAP (#38681)
(cherry picked from commit 4adbb85742b465108ac579da680bcc633eedb2cc)
2026-09-06 16:38:25 +08:00
Robbe Derks de96ebdf5a bump panda (new health packet) (#38736)
pandad: support compact health packet
(cherry picked from commit 70df7f227b8b580fd4f6afbf0cdc5e5fa9155432)
2026-09-06 16:37:38 +08:00
Trey Moen 6acb73871a replay: capture downloader's stderr so download progress is reported again (#38734)
(cherry picked from commit 0e320594844b1c1d80aada3f8c51b6e0a1c14115)
2026-09-06 16:37:05 +08:00
Trey Moen 58e114aa41 common: fix OpenpilotPrefix cleanup on macOS (#38728)
The destructor built its cleanup commands as "rm %s -rf", with the flags
after the operand. GNU rm permutes arguments so this works on device and
in CI, but BSD rm on macOS stops option parsing at the first operand and
treats "-rf" as a second filename:

  $ mkdir -p /tmp/rmtest/sub && rm /tmp/rmtest -rf
  rm: /tmp/rmtest: is a directory
  rm: -rf: No such file or directory
  exit=1

So nothing is removed, and each of the four calls prints two errors plus
"system command failed (256)" from check_system. Every run of a tool that
owns an OpenpilotPrefix (replay, cabana) leaks its params dir, its
comma_home and its /tmp/msgq_ dir; 33 of each had accumulated on my
machine.

Pass the flags first.

(cherry picked from commit 7cf55c3b7a2d9bcee87821e413fa322866f64c5b)
2026-09-06 16:37:05 +08:00
Daniel Koepping a44f9592d6 add chestnut offroad alerts (#38706)
* system: add chestnut offroad alerts

* system: refine chestnut offroad alerts

* system: refine chestnut power alerts

* system: confirm chestnut power recovery from PCIe

* system: detect missing chestnut power from INA voltage

(cherry picked from commit 682b6a20dfe6764774a40f2ef51148c8078b7c79)
2026-09-06 16:36:47 +08:00
Daniel Koepping 0195fec89c ui: sync gpu loading to offroad (#38727)
ui: sync gpu loading state
(cherry picked from commit a67cdf9a5138f2b3e0b1692fb4c92e6fa7c0fc8f)
2026-09-06 16:36:04 +08:00
Trey Moen 43d52f574a ui: check for update on target branch switch (#38693)
(cherry picked from commit e571e21d14dc6247177bd4713283c7bb9ef4ebdd)
2026-09-06 16:35:02 +08:00
Trey Moen 41f0b118bf ui: guard branch switcher before internet connected (#38692)
(cherry picked from commit 839d3f500474e7726f50cc273fe750e8a05222bd)
2026-09-06 16:35:02 +08:00
Trey Moen e97fea466a cabana: split utils/util into Qt-free util and qtutil (#38723)
(cherry picked from commit 5645370f845ce70449fdf87ebfa544a2fbc36101)
2026-09-06 16:35:02 +08:00
Trey Moen 6e7bd0f605 ui: fix install update button overflow (#38696)
(cherry picked from commit 633d17cd128690e00b5a24dfd6747141c8d34a2e)
2026-09-06 16:35:01 +08:00
Trey Moen b5a1028179 cabana: de-QT streams (#38718)
(cherry picked from commit 5419f57b3a63f581dde6b0485624f0a2f698d878)
2026-09-06 16:35:01 +08:00
Trey Moen d6a19442f6 cabana: split comma API route fetching out of RoutesDialog (#38721)
(cherry picked from commit 46f612224cf6953a845ddc6ed7aadaa9f2128e6b)
2026-09-06 16:35:01 +08:00
Trey Moen ac09f5e1af cabana: split SettingsDialog out of settings (#38719)
cabana: split SettingsDialog out of settings.{h,cc}
(cherry picked from commit 6e0f4f46306d6c569d6a52a4bbbea6537354d898)
2026-09-06 16:35:01 +08:00
Trey Moen b48d247082 cabana: remove Qt from livestream (#38722)
(cherry picked from commit 0f9c753e6ec5c7af9ea37f9020ab3cc66bed5db1)
2026-09-06 16:35:01 +08:00