# device_unionpi **Repository Path**: osprey/device_unionpi ## Basic Information - **Project Name**: device_unionpi - **Description**: OpenHarmony for UnionPi (Amlogic A311D) - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 101 - **Created**: 2022-03-29 - **Last Updated**: 2022-03-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # device_unionpi ## 描述 本仓库存放了unionpi开发板相关源码及补丁 ## 源码下载 ```shell mkdir openharmony cd openharmony repo init -u https://gitee.com/algoideas/unionpi -b master -m devboard_unionpi.xml --no-repo-verify repo sync -c repo forall -c 'git lfs pull' ./build/prebuilts_download.sh --skip-ssl # 打入unionpi相关补丁到openharmony中 ./device/unionpi/build/patch-unionpi.sh ``` ## 编译方法 ```shell ./build.sh --product-name a311d --ccache ``` ## 生成镜像 ```shell ./device/unionpi/build/packer-unionpi.sh ``` 生成成功后,在 `out/a311d/packages/phone/images/` 目录下将生成 `OpenHarmony.img` 镜像文件。 ## 烧写方法 使用 `USB_Burning_Tool.exe` 工具烧写 `OpenHarmony.img` 镜像。