a new operating system for comma 3X and comma four
Usage
./vamos setup # init submodules and udev rules
./vamos build kernel # build boot.img
./vamos build system # build system.img
./vamos flash kernel # flash boot.img via EDL
./vamos flash system # flash system.img via EDL
./vamos flash all # flash both
./vamos profile diff A B # diff two rootfs profiles
Kernel Patches
Patches in kernel/patches/ are applied in order to the Linux kernel tree. They follow this naming convention:
NNNN-SUBSYSTEM-description.patch
NNNN— sequential number, zero-padded (0001, 0002, …)SUBSYSTEM— the area of the kernel being modified:defconfig— kernel configuration filesdts— device tree sourcesdriver— driver changescore— core kernel subsystem changes
description— short kebab-case summary of the change
Example: 0001-defconfig-add-vamos.patch
TODO
comma threex:
- ufs
- display
- i2c
- TODO: look at device tree
- wifi
- testing (set benchmarks, test case)
- usb
- modem
- sound
- SPI
- GPS
- cameras (OX03C10)
- kernel wiring
- ISP
- openpilot
- graphics
- gpu
- opencl - via rusticl / msm_drm
- Venus? (video encode/decode)
comma four:
- ufs
- display
- i2c (IMU/temp/...)
- wifi
- testing (set benchmarks, test case)
- usb
- modem
- sound
- SPI
- GPS
- cameras (OS04C10)
- kernel wiring
- ISP
- openpilot
- graphics
- gpu
- opencl - via rusticl / msm_drm
- Venus (video encode/decode)
openpilot support:
- [ ]
tinygrad support:
- msm_drm
validation:
- dmesg is clean (background in commaai/agnos-builder#325)
- test_onroad passes
- testing closet
