This is the buidler repo for AGNOS, our Ubuntu based OS. AGNOS runs on the comma three devkit and comma 3X.
NOTE: the edk2_tici and agnos-firmware submodules are internal, private repos.
These tools are developed on and targeted for Ubuntu 20.04.
Run once to set things up:
cd ~
git clone https://github.com/commaai/agnos-builder.git
cd agnos-builder
git submodule update --init agnos-kernel-sdm845
./tools/extract_tools.shBuilding
./build_kernel.sh
./build_system.sh
Flashing to a comma 3/3X:
./flash_kernel.sh
./flash_system.sh
Validating changes:
- Running openpilot is a good smoketest for general AGNOS functionality
- CI ensures the build still works
- this is the checklist we go through before shipping new AGNOS releases to openpilot
Join us in the #dev-agnos channel on Discord.
A comma 3/3X is helpful for working on AGNOS, but there's still lots of interesting work to do without one.
AGNOS's main priority is to provide a stable platform to openpilot. The second priority is to be a good platform for all sorts of robotics development.
Now that AGNOS is good at running openpilot, the next things up are:
- speedups: build system, CI, boot time, etc.
- cleanups: Android kernel to mainline kernel
- open source: AGNOS started with a bunch blobs for various things, like the bootloaders and weston. We want to move everything we can to open source versions built in this repo.
Some concrete things on the roadmap:
- <10s boot time commaai#110, commaai/openpilot#30894
- make the image tiny, for fast updating and flashing commaai#225
- update to Ubuntu 24.04 commaai/openpilot#32386
- mainline Linux kernel commaai/openpilot#32386
- fully open source
- anything from
agnos-firmware: XBL, ABL, etc. - open source Weston commaai#16
- anything from