Commit Graph

26 Commits (spacecruft)

Author SHA1 Message Date
Dean Lee 7222d0f20d
Cleanup selfdrive/ includes (#20822)
* cleanup include path

* continue

* format includes

* fix testraw.cc

* remove include path from SConstruct

* regroup

* rebase master

* almost done

* apply review

* rename FileReader.xx to filereader.xx

* rename Unlogger.x->unlogger.x

* rename FrameReader.xx -> framereader.xx

* apply reviews

* ui.h

* continue

* fix framebuffer.cc build error:mv util.h up

* full path to msm_media_info

* fix qcom2 camerad

Co-authored-by: Comma Device <device@comma.ai>
2021-05-08 22:15:17 -07:00
Adeeb Shihadeh 563cdd39c0
skip neos update confirmation if fully cached (#20779)
* skip neos update confirmation if fully cached

* update bin

Co-authored-by: Comma Device <device@comma.ai>
2021-04-30 20:52:50 -07:00
Adeeb Shihadeh 6340b43359
NEOS 16.2 (#20485)
* NEOS 16.2

* new img

* emoji
2021-03-26 02:01:41 -07:00
Adeeb Shihadeh de1d82658b
NEOS 16 (#20214)
* neos16 staging

* neos 16.1

* prod

* turn off for now
2021-03-13 21:40:38 -08:00
Dean Lee 91504176e4
Don't call function in assert (#19997) 2021-02-02 13:18:11 +01:00
Adeeb Shihadeh cfb0390183
move agnos manifest to selfdrive/hardware (#19889) 2021-01-30 18:31:28 -08:00
Dean Lee 6583206ed4
convert framebuffer to class (#19800)
* class FrameBuffer

* fix build error

* remove bootlog
2021-01-28 14:47:05 +01:00
Willem Melching 998e3dad3e
agnos 0.4 (#19924)
* update manifest

* update launch env
2021-01-26 16:49:13 +01:00
Adeeb Shihadeh 6a1378b40a agnos 0.3 2021-01-22 18:57:40 -08:00
Willem Melching 692ffe2504 agnos v0.2 2021-01-19 12:51:33 +01:00
Dean Lee 595830135b
merge utilpp.h into util.h (#19710) 2021-01-10 14:57:32 -08:00
Dean Lee c1cf0882bd
Replace usleep with util::sleep_for (#19643)
* replace usleep with sleep_for

* sleep microseconds

* sleep nanoseconds

* Trigger Build
2021-01-04 18:03:11 +01:00
Adeeb Shihadeh b276881fcd
agnos updater (#2600)
* agnos updater

* add manifest

* fix path

* get manifest from overlay

* update manifest

* remove merge markers

* add streaming decompressor

* dont need read all

* Unsparsify

* Fix output filename

* Optimization

* cleanup

* Small cleanup

* Read manifest from merged overlay

* Write hash at end of partition

* Sync before writing hash

* Write bytes in file

* add manifest with image sizes

* Fix manifest path

* File was closed already

* Format string

* Put raw hash

* Read hashes in launch script

* update launch script

* should be agnos version

* fix slot

* Make sure we clear the hash

* Verify partition size

* move updated

* Standalone flasher

* Don't rely on ordering

* Get path

* Debug log

* Download agnos

* Info is enough

* update manifest

* Remove f

* Check downloader return code

* Exit on wrong manifest

* Fix typos

* Set pythonpath before hardware init

* move agnos into hardware folder

* remove comments

* Fix abstractmethod

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-18 13:17:12 +01:00
Adeeb Shihadeh 3d456e5d0f
neos 15-1 (#2430)
This reverts commit 7bfb24678f.
2020-10-27 15:22:54 -07:00
Adeeb Shihadeh 7bfb24678f
NEOS: expose kernel workqueues over sysfs (#2375)
* mask off kworkers from rt cores

* wq over sysfs

* prod image
2020-10-20 21:10:22 -07:00
Adeeb Shihadeh 2fd5ab782b
explicitly turn display on in updater (#2362)
* explicitly turn display on

* clean that up

* update binary

Co-authored-by: Comma Device <device@comma.ai>
2020-10-19 20:16:27 -07:00
Adeeb Shihadeh f9a5f71bf5
NEOS 15 (#2084)
* doze

* need a new apk

* new build

* neos 15 part 1

* new build to re-enable display control for ft8716

* production image
2020-10-18 17:03:28 -07:00
Willem Melching 339d1967cb
--std=c++17 (#2330)
* switch to c++17

* more 17

* 1z

* use std::clamp

* Fix types in clamp

* bump submodules

* bump laika

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-10-17 13:33:12 -07:00
Comma Device 4be0e23ca5 Fix makefiles after read_file() helper 2020-09-21 08:03:36 -07:00
Adeeb Shihadeh cb5a2996e7
NEOS background updater (#1892) 2020-08-12 11:39:21 -07:00
George Hotz 58c1504f1a
Revert broken NEOS kernel (#1723)
* untested

* bump kernel
2020-06-16 14:51:55 -07:00
George Hotz fed9325d22 neos update for only kernel 2020-06-16 12:00:40 -07:00
Willem Melching 6f703eaf4e Installer: disable SSH and safer continue.sh write 2020-01-20 15:16:24 -08:00
Willem Melching 53d9975947 installer: add reset to make sure latest is checked out if branch doesnt change 2020-01-19 10:01:11 -08:00
Comma Device 0fa10e4dd7 wait for NTP time sync before starting install 2020-01-19 05:25:15 +00:00
George Hotz d2a564b9c7 bring over installer 2020-01-17 10:39:50 -08:00