Go to file
openharmony_ci b8fd5169fa !25 add huks Lite system compile macro_qemu
Merge pull request !25 from HaixiangW/myfeature
2021-07-22 03:15:48 +00:00
display_qemu_liteos_a fix(init): 修复启动的配置文件 2021-07-20 20:18:36 +08:00
mini_qemu_liteos_a chore: place .config files under config dir 2021-07-10 19:27:06 +08:00
qemu_mini_system_demo add huks Lite system compile mac_qemu 2021-07-21 14:49:05 +08:00
qemu_riscv32_mini_system_demo chore: 重构目录,明确产品含义 2021-07-17 16:26:18 +08:00
LICENSE chore(license): add APACHE 2.0 LICENSE file 2021-07-20 00:43:45 +00:00
README_zh.md docs(readme): 修复README的相关issue 2021-07-20 11:53:05 +08:00
README.md docs(readme): 将英文README中的device_qemu仓库链接改为对应的英文版本 2021-07-20 14:16:59 +08:00

vendor_ohos

Introduction

The repository is mainly developed by OpenHarmony community, rather than the typical certain manufacturer, mainly including the development of QEMU products with characteristics such as graphics, soft bus, etc.

Software Architecture

Graphic display product samples of virt platform supporting QEMU's ARMv7-a architecture, samples of virt platform supporting RISC-V architecture, and samples of Cortex-M4 architecture.

code path:

device/qemu/                          --- device_qemu repository path
├── arm_mps2_an386                    --- Cortex-M4 architecture MPS2-AN386 platform
├── arm_virt                          --- ARMv7-a architecture virt platform
├── drivers                           --- virt drivers
└── riscv32_virt                      --- RISC-V architecture virt platform
vendor/ohos/                          --- vendor_ohos repository path
├── qemu_small_system_demo            --- small system default demo
├── qemu_mini_system_demo             --- mini system default demo
└── qemu_riscv_mini_system_demo       --- mini system demo with riscv architecture

Installation

QEMU Install Guide

Usage

  1. run command hb set to select the product target
ohos
 > qemu_small_system_demo
   qemu_mini_system_demo

qemu_small_system_demo indicates small system product demo, it contains system components, such as graphic, foundation, etc.

qemu_mini_system_demo indicates mini system product demo, it contains system components, such as samgr, hilog, etc.

  1. run command hb build to start building。

  2. To run the image with qemu. In details,

3.1 qemu_small_system_demo target,

./qemu-init
./qemu-run

use vnc-client to connect the host's 5920 port.

3.2 qemu_mini_system_demo target,

cd device/qemu/arm_mps2_an386
./qemu_run.sh ../../../out/arm_mps2_an386/bin/liteos

Contribution

How to involve

Commit message spec

Repositories Involved

device_qemu