Build AGNOS, the operating system for your comma three

Overview

agnos-builder

This is the tool to build AGNOS, our Ubuntu based OS. AGNOS runs on the comma three devkit.

NOTE: the edk2_tici and agnos-firmare submodules are internal, private repos.

Setup

These tools are developed on and targeted for Ubuntu 20.04.

Run once to set things up:

git submodule update --init agnos-kernel-sdm845
./tools/extract_tools.sh

Build the userspace

build:

./build_system.sh

load:

./flash_system.sh

Build the kernel

build:

./build_kernel.sh

load:

# flash over fastboot
./flash_kernel.sh

# or load into running system via ssh
# ssh config needs host named 'tici'
./load_kernel.sh
Comments
  • How could I build my own customized

    How could I build my own customized "/usr/comma/setup" ?

    Hi comma teams,

    How could I build my own customized "/usr/comma/setup" to disable the PubMasters of "gpsLocationExternal" and "sensorEvents" ? Because I wanna to launch the "tools/sim/bridge.py" inside C3.

    Thanks !!

    opened by joeking11829 2
  • ModemManager: fix auto-config

    ModemManager: fix auto-config

    May just work with a newer version after #54

    https://github.com/commaai/agnos-builder/blob/07de9362e7f819375bf2b1792afc0d2583947211/userspace/usr/comma/comma.sh#L69

    bug 
    opened by adeebshihadeh 2
  • Get

    Get "PermissionError: [Errno 1] Operation not permitted" when running "sched_setscheduler" on C3

    Hi comma teams,

    I wanna to run "../launch_openpilot.sh" on C3 via ssh terminal. But when "radard" and "controlsd" run the "config_realtime_process" inside "../common/realtime.py". It gets "PermissionError: [Errno 1] Operation not permitted".

    How should I fix this error ?

    Thanks!!

    opened by joeking11829 1
  • ModemManager: proper AT&T config

    ModemManager: proper AT&T config

    Move https://github.com/commaai/openpilot/pull/24175 into AGNOS

    open questions:

    • can we just clear the initial EPS bearer settings on each boot instead?
    • where do the initial EPS bearer settings come from? SIM?
    bug 
    opened by adeebshihadeh 1
  • onnx doesn't load supercombo

    onnx doesn't load supercombo

    AGNOS onnx issue:

    comma@tici:/data/openpilot$ python3 -c 'import onnx; onnx.load("/data/openpilot/selfdrive/modeld/models/supercombo.onnx")'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/local/pyenv/versions/3.8.10/lib/python3.8/site-packages/onnx/__init__.py", line 11, in <module>
        from onnx.external_data_helper import load_external_data_for_model, write_external_data_tensors, convert_model_to_external_data
      File "/usr/local/pyenv/versions/3.8.10/lib/python3.8/site-packages/onnx/external_data_helper.py", line 14, in <module>
        from .onnx_pb import TensorProto, ModelProto
      File "/usr/local/pyenv/versions/3.8.10/lib/python3.8/site-packages/onnx/onnx_pb.py", line 8, in <module>
        from .onnx_ml_pb2 import *  # noqa
      File "/usr/local/pyenv/versions/3.8.10/lib/python3.8/site-packages/onnx/onnx_ml_pb2.py", line 33, in <module>
        _descriptor.EnumValueDescriptor(
      File "/usr/local/pyenv/versions/3.8.10/lib/python3.8/site-packages/google/protobuf/descriptor.py", line 755, in __new__
        _message.Message._CheckCalledFromGeneratedFile()
    TypeError: Descriptors cannot not be created directly.
    If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
    If you cannot immediately regenerate your protos, some other possible workarounds are:
     1. Downgrade the protobuf package to 3.20.x or lower.
     2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
    
    More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
    

    Setting PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python does work, but we should fix if we can

    bug 
    opened by adeebshihadeh 0
  • Update serviceproviders.xml

    Update serviceproviders.xml

    Tested, last time somehow managed to upload to my comma, but after reinstall the op the device not connecting to the network. Please accept the request. Thanks!

    opened by Ory0ne 0
  • Make pip work easily

    Make pip work easily

    • set no cache dir
    • TMPDIR needs to be big and not a non-tmpfs
    • hook pip install to remount the rootfs as rw

    Currently, sudo mount -o rw,remount / && sudo $(which pip) install scipy works.

    enhancement 
    opened by adeebshihadeh 0
Owner
comma.ai
Make driving chill
comma.ai
This is a small project written to help build documentation for projects in less time.

Documentation-Builder This is a small project written to help build documentation for projects in less time. About This project builds documentation f

Tom Jebbo 2 Jan 17, 2022
Build documentation in multiple repos into one site.

mkdocs-multirepo-plugin Build documentation in multiple repos into one site. Setup Install plugin using pip: pip install git+https://github.com/jdoiro

Joseph Doiron 47 Dec 28, 2022
Sphinx-performance - CLI tool to measure the build time of different, free configurable Sphinx-Projects

CLI tool to measure the build time of different, free configurable Sphinx-Projec

useblocks 11 Nov 25, 2022
Mayan EDMS is a document management system.

Mayan EDMS is a document management system. Its main purpose is to store, introspect, and categorize files, with a strong emphasis on preserving the contextual and business information of documents. It can also OCR, preview, label, sign, send, and receive thoses files.

null 3 Oct 2, 2021
Software engineering course project. Secondhand trading system.

PigeonSale Software engineering course project. Secondhand trading system. Documentation API doumenatation: list of APIs Backend documentation: notes

Harry Lee 1 Sep 1, 2022
BakTst_Org is a backtesting system for quantitative transactions.

BakTst_Org 中文reademe:传送门 Introduction: BakTst_Org is a prototype of the backtesting system used for BTC quantitative trading. This readme is mainly di

null 18 May 8, 2021
Obmovies - A short guide on setting up the system and environment dependencies required for ob's Movies database

Obmovies - A short guide on setting up the system and environment dependencies required for ob's Movies database

null 1 Jan 4, 2022
Generates, filters, parses, and cleans data regarding the financial disclosures of judges in the American Judicial System

This repository contains code that gets data regarding financial disclosures from the Court Listener API main.py: contains driver code that interacts

Ali Rastegar 2 Aug 6, 2022
graphical orbitational simulation of solar system planets with real values and physics implemented so you get a nice elliptical orbits. you can change timestamp value or scale from source code idc.

solarSystemOrbitalSimulation graphical orbitational simulation of solar system planets with real values and physics implemented so you get a nice elli

Mega 3 Mar 3, 2022
Your Project with Great Documentation.

Read Latest Documentation - Browse GitHub Code Repository The only thing worse than documentation never written, is documentation written but never di

Timothy Edmund Crosley 809 Dec 28, 2022
MkDocs Plugin allowing your visitors to *File > Print > Save as PDF* the entire site.

mkdocs-print-site-plugin MkDocs plugin that adds a page to your site combining all pages, allowing your site visitors to File > Print > Save as PDF th

Tim Vink 67 Jan 4, 2023
Zero configuration Airflow plugin that let you manage your DAG files.

simple-dag-editor SimpleDagEditor is a zero configuration plugin for Apache Airflow. It provides a file managing interface that points to your dag_fol

null 30 Jul 20, 2022
Seamlessly integrate pydantic models in your Sphinx documentation.

Seamlessly integrate pydantic models in your Sphinx documentation.

Franz Wöllert 71 Dec 26, 2022
Automated Integration Testing and Live Documentation for your API

Automated Integration Testing and Live Documentation for your API

ScanAPI 1.3k Dec 30, 2022
Materi workshop "Light up your Python!" Himpunan Mahasiswa Sistem Informasi Fakultas Ilmu Komputer Universitas Singaperbangsa Karawang, 4 September 2021 (Online via Zoom).

Workshop Python UNSIKA 2021 Materi workshop "Light up your Python!" Himpunan Mahasiswa Sistem Informasi Fakultas Ilmu Komputer Universitas Singaperban

Eka Putra 20 Mar 24, 2022
A collection of simple python mini projects to enhance your python skills

A collection of simple python mini projects to enhance your python skills

PYTHON WORLD 12.1k Jan 5, 2023
An interview engine for businesses, interview those who are actually qualified and are worth your time!

easyInterview V0.8B An interview engine for businesses, interview those who are actually qualified and are worth your time! Quick Overview You/the com

Vatsal Shukla 1 Nov 19, 2021
Manage your WordPress installation directly from SublimeText SideBar and Command Palette.

WordpressPluginManager Manage your WordPress installation directly from SublimeText SideBar and Command Palette. Installation Dependencies You will ne

Art-i desenvolvimento 1 Dec 14, 2021
This programm checks your knowlege about the capital of Japan

Introduction This programm checks your knowlege about the capital of Japan. Now, what does it actually do? After you run the programm you get asked wh

null 1 Dec 16, 2021