This section details the addition of new hardware to the supported set in All Scenarios OS. It is intended as a checklist for adding new boards to All Scenarios OS build system.
Before starting get familiar with All Scenarios OS Contribution Process.
All Scenarios OS uses a notion of kernel specific flavours:
FreeRTOS flavour (experimental)
Flavours have predefined IMAGES and MACHINES.
A single board can be included in more than one flavour only when it has well maintained support in targeted kernels.
Oniro flavours configuration templates (stored in distro/oniro/flavours directory) consist of the following files:
set of meta-layers for the specific flavour (it can be unified across multiple layers where there are no layers incompatibilities)
text snippet to be used as part of build logs
default flavour build configuration
All Scenarios OS build system uses *repo* tool for cloning required meta-layers into appropriate build directory structure (see Setting up a repo workspace). To include a new layer, it has to be added in two places of the oniro repository:
The manifest file
New BSP layers cannot interfere / break already supported
MACHINE shall be documented in: Hardware Support.
Use an existing board documentation as template and populate it accordingly for
your newly added machine.
The same machine needs to also be advertised in two places:
local.conf.sampleas a commented out
MACHINEvariable value (tweak this step accordingly for default machine change)
conf-notes.txtto surface the support in build logs