Commit Graph

109 Commits

Author SHA1 Message Date
Adeeb Shihadeh 782d7023d2 phonelibs -> third_party (#22477)
* git mv to third_party

* find and replace

* fix release tests

* update pre-commit

* update tici bins

* update eon bins

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b641379ae04d3408093381629b9d60dee81da27
2021-10-07 16:32:44 -07:00
Adeeb Shihadeh afe88f7552 only run get_nvme_temps on C3 (#22464)
* only run get_nvme_temps on C3

* temperatures

* fix imports

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 493e32431c721aa92c2f53800109155284928969
2021-10-06 20:32:22 -07:00
Adeeb Shihadeh a4bc663ae5 agnos 2 (#22390)
* agnos 2

* release notes
old-commit-hash: 29b2a7d20b68c9a832d5bcf2f55a60fe4f2b36a8
2021-09-30 21:56:44 -07:00
Adeeb Shihadeh 74f3f4ab1a agnos updater: support non-sparse images (#22371)
* print progress for all partitions

* noop generator

* less spammy

* cleanup
old-commit-hash: 425020a849c98226c0bac04db0d63a8e55ae5bad
2021-09-29 11:08:19 -07:00
Adeeb Shihadeh f53a09f40e log nvme temp (#22296)
* log nvme temp

* fix high cpu

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 212d2c3998852d4eb374e54479f79078b10c2762
2021-09-21 14:39:07 -07:00
Robbe Derks 4827dea04c Log modem temps on Tici (#22281)
* log max modem temp

* not sure what happened here

* fix this

* make modem temps a list

* this is not needed

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 6117c7ce816f8896702ac4810ff8d421d2f6f224
2021-09-21 14:40:05 +02:00
George Hotz 73a4b05065 allow PC to emulate TICI with TICI=1
old-commit-hash: 362f067c9c1c608dbe5adb7d318bab1fa8b9760e
2021-09-14 10:48:43 -07:00
Adeeb Shihadeh 9193e1afa1 Unify neos/agnos updaters (#22109)
* start moving neos updater

* downloading

* ui

* move recovery

* resuming

* add verification

* fix up launch

* test

* update updater

* fix mypy

* fake updater

* review suggestions

* more tests

* abc

* update bin

* raise

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: b3705ede5e9dbc29dcf5ea02bb257a8f576a0556
2021-09-10 17:03:54 -07:00
Adeeb Shihadeh edc6f4ba7e agnos 1.5 (#22147)
* agnos 1.5

* bump version
old-commit-hash: 745de33941b8f1b00a0cac3bfc49f793918f2ea9
2021-09-06 20:17:37 -07:00
Adeeb Shihadeh af87a0b1a3 agnos 1.4 (#22029)
old-commit-hash: dde69fb933fb180f182ea27820dc7ac214510fd5
2021-08-23 20:35:04 -07:00
Dean Lee 29ec7b83bf params: remove persistent params (#21975)
* cleanup constructors

* remove persistent_param

* remove test_persist_params_put_and_get
old-commit-hash: 3b752a307f167ad536eb53cceac76f7034f2faf9
2021-08-20 16:57:45 -07:00
Adeeb Shihadeh 67a7abb492 android health daemon (#21965)
* androidd

* three strikes

* better logging

* persistent

* add to release files

* cleanup

* no cpu usage

* colon

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c8ca56dddd0ccf06bc85ed5e67b1b36f39006105
2021-08-19 16:00:05 -07:00
Adeeb Shihadeh 2c5f93bccc agnos 1.3 (#21924)
* agnos 1.3

* update updater

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 058724e61daf4134af4a22deecdcc2803154fb8d
2021-08-13 13:57:45 -07:00
Adeeb Shihadeh 48f53addbf tici: set amplifier config after exiting power save (#21920)
old-commit-hash: 31933969693b0e1b62fcf94953f2c46b0c2213d0
2021-08-13 00:46:54 -07:00
Adeeb Shihadeh 6c4bf564c4 agnos 1.2 (#21847)
old-commit-hash: 589f82c76627d634761a31a34b2488403556eb0b
2021-08-04 11:10:05 -07:00
Dean Lee 94d534afea hw.h: move Hardware-related paths to namespace Path (#21826)
* refactor getenv and path

* apply review
old-commit-hash: fefc70b4cab71a11b3c5ed1b8680606ee2013a48
2021-08-04 13:29:03 +02:00
Adeeb Shihadeh 39429b6209 update agnos (#21813)
old-commit-hash: c545dc6e14f5d7559a532c164be1df1ba2216b05
2021-07-30 17:36:05 -07:00
Adeeb Shihadeh ac45115564 update agnos (#21775)
* update agnos

* update manifest
old-commit-hash: b55d7093767f196d5c018c32b62ebd279ba7a850
2021-07-29 20:00:11 -07:00
Adeeb Shihadeh a4cf1e33d8 only show updater UI if necessary (#21787)
* only show updater UI if necessary

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 060592e34ae4d1e53617909840a386d17c3226f0
2021-07-29 18:12:37 -07:00
Adeeb Shihadeh e6db374ac0 fix unused
old-commit-hash: 6bc556634046d28dcfb837f41cfa0214c340188b
2021-07-29 17:21:08 -07:00
Comma Device 66f1ee1075 fix updater UI repaints
old-commit-hash: 56d682831b857e1893769659e00461e801706bd6
2021-07-29 17:12:12 -07:00
Adeeb Shihadeh f4708c153e agnos updater UI (#21776)
* start agnos updater UI

* wifi

* progress

* sometimes things fail

* fix wifi

* in launch script

* fwd

* fwd stderr

* update that

* release files

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 14d26d6d891865ca14a5242edce4b14f0912854e
2021-07-29 15:57:58 -07:00
sshane 1f2fe189bd implement display power (#21731)
* implement display power

* FB_BLANK_POWERDOWN

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f48064c4d77754a3183ec9dab33ed96b8a8a09ef
2021-07-28 14:26:58 -07:00
Adeeb Shihadeh 1c9742d3dd agnos 0.23 (#21740)
* agnos 0.23

* bump
old-commit-hash: bb507dc8fedff38d486b1ecf1a3159750a4d7205
2021-07-27 02:08:34 -07:00
robbederks c0957e78b6 do not update splash partition anymore (#21727)
old-commit-hash: ec9b7833fad6f86e80970da6cf4bffe00f6691a5
2021-07-26 16:35:04 -07:00
robbederks e31f004593 Tici sound improvements (#21722)
* tune amp config and add EQed sounds

* fix release files

* bump up max

* cleanup

* more volume

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: cebddc94c4903d04463ceb4c991ca813ea2a45a0
2021-07-26 16:28:41 -07:00
Adeeb Shihadeh 7853096383 agnos 0.22 (#21633)
* agnos 0.22

* stagign

* update
old-commit-hash: 19f7cabcd1800fb204e0a1e6778ddb2fa488dc2d
2021-07-17 14:52:50 -07:00
Willem Melching 63ac13feee agnos.py: retry swap (#21608)
* retry until success

* try this

* redirect stderr

* also check positive

* add logging

* f string
old-commit-hash: f4d87cecf7d752b7fc562e021fae905e0573314c
2021-07-15 16:11:10 +02:00
Willem Melching cf2f6b964d Athena getNetworks method (#21597)
* add iwlist scan

* return using athena

* add lte

* add last one too

* unused

* add release files

* more compact

* typo

* remove debug code

* different file

* array

* rebase mistake
old-commit-hash: a7aa22253bf607c6cc3087b3e0471d6d1b52126b
2021-07-14 16:16:45 +02:00
robbederks 6e867a05cf Tici: amplifier config (#21596)
* amplifier config on boot

* add to release

* another spot

* add debug when running separately

* rename for clarity
old-commit-hash: cbae2899df9975c7e6762fa12a48f8730bde7df2
2021-07-14 15:53:39 +02:00
Willem Melching d136144d45 hardware: only create dbus objects when needed (#21576)
* only create dbus objects when needed

* fix typo

* use cached_property
old-commit-hash: 45d4f8301be7f686c359fad00dc837066c325ca0
2021-07-13 16:22:22 +02:00
Adeeb Shihadeh 55d3871a5e fix agnos updater bug + type hints (#21566)
* add type hints

* fix bug

* more hints
old-commit-hash: 21c798191906155718d4d3e45e7e8551a6f03a33
2021-07-12 15:22:44 -07:00
Adeeb Shihadeh 3e5a5c0a14 agnos 0.21 (#21559)
* agnos 0.21

* update

Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: b0e3c35edd9820239d650766e05c90997bdadad1
2021-07-12 17:33:45 +02:00
Willem Melching f973c0bc04 cloudlog modem version (#21562)
* log modem version

* whitespace
old-commit-hash: fb8f0ac09213014095358f937e7be2b2d22bb4c6
2021-07-12 15:52:09 +02:00
Adeeb Shihadeh 84d3990cc8 clamp gpu usage to fix thermald crash (#21548)
old-commit-hash: 3adfd1d53bfe7d1ddb7be2299fbac56fac025a41
2021-07-10 22:29:38 -07:00
Adeeb Shihadeh f725c5dc2a remove modem logging (#21497)
old-commit-hash: a6efe9a6b7b3bd054822c2fe71329939d30d1fef
2021-07-06 13:51:45 -07:00
Adeeb Shihadeh 45481ab6e0 agnos 0.20 (#21488)
* agnos 0.20

* prod image
old-commit-hash: 266d1bdeacc18932cd4bdcfcacda9a95768bc31e
2021-07-06 10:32:10 -07:00
Willem Melching c8810406da tici: flash bootloader partitions from manifest (#21399)
* move swapping to python

* only create downloader if needed

* typo

* number

* add sanity check

* boot full check to test

* manifest is required argument

* implement full hash check

* off by one

* new manifest

* only write tag for system

* bump splash

* review comments part 1

* trigger update

Co-authored-by: Robbe Derks <robbe.derks@gmail.com>
old-commit-hash: 7c6bf89e043fe559b3bc4d19391c9c9af095a998
2021-06-30 14:20:58 +02:00
Adeeb Shihadeh 5cb60b9211 log GPU usage on NEOS (#21440)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 4f019cebc83e563ce8b104160d2c68975cfbea97
2021-06-29 16:02:56 -07:00
Willem Melching 30fff7fead Log gpu usage (#21404)
* Log gpu usage

* 100 total

* bump cereal

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ad7f0207ac9c587c2e1740c61bddad5fbba11296
2021-06-29 13:55:18 -07:00
Adeeb Shihadeh 68865460ad cleanup eon hw abstraction layer (#21396)
* cleanup eon hw

* handle none from getprop
old-commit-hash: 8ac7ee6bc6041db3936758ed8a6ba6aa55f16163
2021-06-24 01:06:19 -07:00
Adeeb Shihadeh 358067325e diag logging (#21360)
* rat

* log max power

* cloudlog

* no print

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1da3ab42dc9cc87a9477d5b2d74165ec826f0a53
2021-06-23 23:53:22 -07:00
Adeeb Shihadeh 28c60666ff tici: differentiate ethernet and tethering (#21391)
* differentiate ethernet

* fix tethering

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 050a89e5981a1cf48abec38c9c7a362092e7dad2
2021-06-23 15:55:51 -07:00
Adeeb Shihadeh af6d31218b log network info on neos (#21375)
* log network info on neos

* log earfcn

* cleanup

* capn

* cleanup

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 54c2292b413336c037c717ce9306d73859cef213
2021-06-22 17:15:18 -07:00
Adeeb Shihadeh 8e6b9f872c agnos 0.19 (#21365)
old-commit-hash: 687560fc98e1912ed3e618ab38ef2b5406caa347
2021-06-21 15:39:13 -07:00
Dean Lee 147b355dde add space after function name and if statement (#21225)
old-commit-hash: e4e669bb0fc1a919dfb38800099f8e3ad52346f1
2021-06-11 10:17:52 +02:00
Josh Smith 2cae3a3799 Add type hints, small cleanups (#21080)
* improve tools.lib.kbhit and tools.sim.lib.keyboard_ctrl

* unpack more efficiently

* minor improvements

* agnos.py match spec better

* manual_ctrl test missing queue arg

* fix incorrect type annotation

* queues are generic

* varname reuse resulting in incorrect type inference

* bytes().hex() rather than bytes.hex(bytes())

* a bit of type hinting stuff
old-commit-hash: 77321dbac4ebfedf9cb5e9085e16055346299749
2021-06-03 12:21:04 +02:00
Willem Melching 4ef35bdc0d Agnos 0.18 (#20977)
old-commit-hash: 57591ed3aa924291ea7e27b40def32a33ad34d55
2021-05-20 18:18:37 +02:00
Willem Melching 47b1b6042b add modem state to NetworkInfo
old-commit-hash: 7a8c7505d0135408a2d756c3b029ac13f583083a
2021-05-20 14:49:59 +02:00
Willem Melching 52d4a9b377 agnos 0.17 (#20966)
* agnos 0.17

* update launch env
old-commit-hash: 9aff4b657ee2862f29e659e62e071e7dc87cbd28
2021-05-19 14:49:39 +02:00