[RFC] Add support for OpenHarmony OS

Hi all,

We would like to contribute a new triples for the operational system OpenHarmony [1].

arm-liteos-ohos
arm-linux-ohos
riscv64-linux-ohos
aarch64-linux-ohos

OpenHarmony is an open-source project incubated and operated by the OpenAtom Foundation. It is an open-source operating system with a framework and platform applicable to smart devices in all scenarios of a fully-connected world. It aims to promote the development of the Internet of Everything (IoE).

OpenHarmony supports the following types:

  • Mini system

A mini system runs on the devices whose memory is greater than or equal to 128 KiB and that are equipped with MCU processors such as Arm Cortex-M and 32-bit RISC-V. This system provides multiple lightweight network protocols and graphics frameworks, and a wide range of read/write components for the IoT bus. Typical products include connection modules, sensors, and wearables for smart home.

  • Small system

A small system runs on the devices whose memory is greater than or equal to 1 MiB and that are equipped with application processors such as Arm Cortex-A. This system provides higher security capabilities, standard graphics frameworks, and video encoding and decoding capabilities. Typical products include smart home IP cameras, electronic cat eyes, routers, and event data recorders (EDRs) for smart travel.

  • Standard system

A standard system runs on the devices whose memory is greater than or equal to 128 MiB and that are equipped with application processors such as Arm Cortex-A. This system provides a complete application framework supporting the enhanced interaction, 3D GPU, hardware composer, diverse components, and rich animations. This system applies to high-end refrigerator displays.

For more technical details please refer [2]

The patch required for OpenHarmony triples support:

https://reviews.llvm.org/D138202

We are actively developing the OS support, and have other triples and many other changes in mind.

This OS is already used on a real world devices like [3,4] etc

Please leave code comments on the Phab patch, while discussing high-level comments about the triples and operational system on this thread.

  1. GitHub - openharmony/docs: OpenHarmony documentation | OpenHarmony开发者文档
  2. docs/OpenHarmony-Overview.md at master · openharmony/docs · GitHub
  3. https://support.hkvstar.com/file/Hi3516D.pdf
  4. 生态市场 - 应用软件_服务市场_建站_应用开发_众包平台-华为开发者联盟