Introduction
OpenHarmony has organized a Special Interest Group (SIG) SIG_DevBoard to provide support for third-party development boards.
Before learning about how to port the code of a development board, take a look at the device classification on OpenHarmony. The porting methods vary according to the device type.
Device Type | Hardware Requirement | Supported Kernel |
---|---|---|
Mini-system devices | Memory > 128 KB | LiteOS-M |
Small-system devices | Memory > 1 MB, with MMU | LiteOS-A and Linux |
Standard-system devices | Memory > 128 MB | Linux |
Code Preparation
OpenHarmony has created repositories for vendors in openharmony-sig. To participate in the repository development, you need to use the following method to initialize and download the code.
repo init -u https://gitee.com/openharmony-sig/manifest.git -b master -m devboard.xml --no-repo-verify
The download steps for other resources are the same as those in the mainline version.
Porting Procedure
- Mini System SoC Porting Guide
- Small System SoC Porting Guide
- Porting Preparations
- Kernel Porting
- Driver Porting
- Standard System SoC Porting Guide
- Third-Party Library Porting Guide for Mini and Small Systems
SoC Porting Cases
- Mini System SoC Porting Cases
- Small System SoC Porting Cases
- Standard System SoC Porting Cases