Skip to content
Snippets Groups Projects
Commit f9b2a14b authored by Robert Drab's avatar Robert Drab Committed by Zbigniew Bodek
Browse files

OHOS built using Yocto / bitbake


Leveraging existing BSP base in Yocto meta-layers

Signed-off-by: default avatarRobert Drab <robert.drab@huawei.com>
parent 40f0260a
No related branches found
No related tags found
No related merge requests found
# 2. Use Yocto / bitbake for building OHOS
Date: 2020-12-01
## Status
Accepted
## Context
OHOS as a distributed operating system is designed to be hosted on
top of OS kernel. Currently Liteos-a (targeting ARM Cortex-A based devices)
and Liteos-m (targeting ARM Cortex-M based devices) kernels are supported.
OHOS Liteos-A has BSP for only two ip cameras devices, whereas Liteos-M
has BSP for only one wifi iot device. Qemu support is missing.
## Decision
To leverage existing BSPs OHOS will be made compatible with Yocto.
We will start with Linux Poky distribution for ARM Cortex-A based devices
and Zephyr for the Cortex-M based devices.
## Consequences
meta-ohos layer (when done properly) will enable nearly effortless porting
of OHOS to new kernels / distros.
Decoupling of existing OHOS services from Liteos-A/M kernels has to be done.
HQ modification to the OHOS stack between releases can require repeating
decoupling works with each and every release if we're not aligned and in sync.
# Architecture Decision Records # Architecture Decision Records
* [1. Record architecture decisions](0001-record-architecture-decisions.md) * [1. Record architecture decisions](0001-record-architecture-decisions.md)
* [2. Use Yocto / bitbake for building OHOS](0002-use-yocto-bitbake-for-building-ohos.md)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment