The default configuration for AirOS is to build an image that is compatible to run with the QEMU emulator. This works well for evaluation purposes but there comes a time when you will want to build an image to run on some real hardware.
Two things need to be in place for AirOS to work with your boards:
- 1.There must be a BSP (Board Support Package) available for your chosen board, this is usually provided by the OEM.
Adding a BSP will involve cloning another layer (the BSP itself) into the top level directory of AirOS and making a modification to
build/conf/bb.layers.confto give yocto access to all its recipes.
Instructions will vary between BSPs, we recommend referencing the documentation provided by the BSP developers.
You will also need to update the
build/conf/local.confand change the
MACHINEvariable to specify the hardware architecture you are building for.
MACHINEvariable should match one of the machine configurations provided by a Board Support Package (BSP) layer included in your build.
A machine configuration file usually includes settings specific to a particular hardware platform, such as the kernel configuration, the type of image to build, and any hardware-specific packages that need to be included in the image.
For example, if you were building for a Raspberry Pi 3, you might set the MACHINE variable like this:
MACHINE = "raspberrypi3"
Due to the way OTA updates work with Airbotics it requires us to add support on a per board basis. We are working hard to support as many boards as possible.
As of now we have support for:
- The QEMU emulator
- Raspberry Pi 4
- Raspberry Pi 4
- Rockpi 4B
If your board is not there please take out an issue and we will try and add support as quickly as we can.