diff --git a/docs/UnionpiTiger_helloworld/image/chipsets.png b/docs/UnionpiTiger_helloworld/image/chipsets.png
new file mode 100644
index 0000000000000000000000000000000000000000..dfdbb2e7af3fa7f4d8beafa1d5f25fd4cc872489
Binary files /dev/null and b/docs/UnionpiTiger_helloworld/image/chipsets.png differ
diff --git "a/docs/UnionpiTiger_helloworld/image/mipi\346\230\276\347\244\272.jpg" "b/docs/UnionpiTiger_helloworld/image/mipi\346\230\276\347\244\272.jpg"
new file mode 100644
index 0000000000000000000000000000000000000000..b857efe7edea154845e849752c919cc5957b9b47
Binary files /dev/null and "b/docs/UnionpiTiger_helloworld/image/mipi\346\230\276\347\244\272.jpg" differ
diff --git a/docs/UnionpiTiger_helloworld/image/success.png b/docs/UnionpiTiger_helloworld/image/success.png
new file mode 100644
index 0000000000000000000000000000000000000000..3d0ee32dbeceefbeb91afe580baf14070ce050e9
Binary files /dev/null and b/docs/UnionpiTiger_helloworld/image/success.png differ
diff --git a/docs/UnionpiTiger_helloworld/readme.md b/docs/UnionpiTiger_helloworld/readme.md
index f79a70810c4ad73cb51f5738b56b7da13edbc5b3..3ee5ce2744ac62be2ad49e8a6d431e2747f5d1dc 100644
--- a/docs/UnionpiTiger_helloworld/readme.md
+++ b/docs/UnionpiTiger_helloworld/readme.md
@@ -28,7 +28,7 @@ Unionpi Tiger(A311D)是一款应用于图像处理,音视频处理和深度学

### 支持OpenHarmony版本
-本次样例是基于OpenHarmony-v3.1-Release 版本运行。
+本次样例是基于OpenHarmony-3.2-Release 版本运行。
## 操作步骤
### [环境搭建](环境搭建.md)
diff --git "a/docs/UnionpiTiger_helloworld/\346\272\220\347\240\201\347\274\226\350\257\221.md" "b/docs/UnionpiTiger_helloworld/\346\272\220\347\240\201\347\274\226\350\257\221.md"
index 276586fefcfe8ae942cc2debe24ed37641e7d677..c6dea889c3432b459a00e733fff313da50b39266 100644
--- "a/docs/UnionpiTiger_helloworld/\346\272\220\347\240\201\347\274\226\350\257\221.md"
+++ "b/docs/UnionpiTiger_helloworld/\346\272\220\347\240\201\347\274\226\350\257\221.md"
@@ -1,17 +1,17 @@
### 源码编译
进入源码根目录,执行如下命令进行版本编译
```
-./build.sh --product-name a311d –ccache
+./build.sh --product-name unionpi_tiger –ccache
```
编译完成后,效果如图所示:
-
+
### 获取固件
编译完成后需要,进行对镜像进行打包,然后进行烧写。
执行以下命令固件打包
```
-./device/unionpi/build/packer-unionpi.sh
+./device/board/unionman/unionpi_tiger/common/tools/packer-unionpi.sh
```
固件打包完成,生成路径为编译根目录下的
-out/a311d/packages/phone/images/OpenHarmony.img
+out/unionpi_tiger/packages/phone/images/OpenHarmony.img
将该镜像拷贝到window工作台下,供镜像烧录时使用。
diff --git "a/docs/UnionpiTiger_helloworld/\347\274\226\345\206\231helloworld.md" "b/docs/UnionpiTiger_helloworld/\347\274\226\345\206\231helloworld.md"
index 6071a689d105bec208069f546a6c088c72a523aa..ed5ecbafa1a6d1941d67bb940f6dec4474a1b76b 100644
--- "a/docs/UnionpiTiger_helloworld/\347\274\226\345\206\231helloworld.md"
+++ "b/docs/UnionpiTiger_helloworld/\347\274\226\345\206\231helloworld.md"
@@ -1,5 +1,5 @@
### 新建目录及源码
-在源码根目录下vendor/unionpi/a311d目录下
+在源码根目录下vendor/unionman/unionpi_tiger目录下
创建helloworld文件夹:
@@ -27,7 +27,7 @@ int main(int argc, char *argv[])
```
### 新建编译组织文件
-同一个目录下vendor/unionpi/a311d/helloworld,创建BUILD.gn文件:
+同一个目录下vendor/unionman/unionpi_tiger/helloworld,创建BUILD.gn文件:
```
import("//build/ohos.gni")
@@ -38,23 +38,25 @@ ohos_executable("helloworld") {
]
install_images = [ "system" ]
- part_name = "unionpi_products"
+ part_name = "unionman_products"
}
```
### 将新建源码纳入编译
-修改device\unionpi\a311d路径下BUILD.gn文件,将新建的helloworld源码纳入编译体系,具体修改内容如下:
+修改device\unionman\unionpi_tiger路径下BUILD.gn文件,将新建的helloworld源码纳入编译体系,具体修改内容如下:
```
-group("a311d_group") {
+group("unionpi_tiger_group") {
deps = [
- "system:system",
+ "common:common",
+ "config:init_configs",
+ "hardware:hardware",
"kernel:kernel",
- "distributedhardware:distributedhardware",
- "bluetooth:bluetooth",
- "system_hap:hap",
- "//device/unionpi/hardware:hardware_group",
- "//device/unionpi/third_party:third_party",
- "//vendor/unionpi/a311d/helloworld:helloworld",//将新建的helloworld源码纳入编译体系
+ "resource:resource",
+ "updater:updater_files",
+ "//device/soc/amlogic/a311d/hardware:hardware_group",
+ "//vendor/unionman/unionpi_tiger/sample:sample_group",
+ "//vendor/unionman/unionpi_tiger/helloworld:helloworld",
+//将新建的helloworld源码纳入编译体系
]
}
```
diff --git "a/docs/UnionpiTiger_helloworld/\350\216\267\345\217\226\346\272\220\347\240\201.md" "b/docs/UnionpiTiger_helloworld/\350\216\267\345\217\226\346\272\220\347\240\201.md"
index 2ea7506aaf1588def76692e02d3e18c86eed3cfa..b75713de32c6bd81a37a32cca559f9700b9ea154 100644
--- "a/docs/UnionpiTiger_helloworld/\350\216\267\345\217\226\346\272\220\347\240\201.md"
+++ "b/docs/UnionpiTiger_helloworld/\350\216\267\345\217\226\346\272\220\347\240\201.md"
@@ -1,5 +1,4 @@
### 获取源码
-源码下载地址:[gitee源码仓](https://gitee.com/algoideas/device_unionpi),目前暂未合入到Openharmony主仓库(目前在进行中),可以参考gitee介绍或者按以下参考步骤进行下载。
### 前提条件
配置git环境
@@ -13,7 +12,7 @@ git config --global credential.helper store
```
curl -s https://gitee.com/oschina/repo/raw/fork_flow/repo-py3>repo
sudo mv repo /usr/local/bin/repo
-sudo chomd a+x /usr/local/bin/repo
+sudo chmod a+x /usr/local/bin/repo
```
Linux环境下拉取源码:
@@ -22,16 +21,49 @@ mkdir openharmony
cd openharmony
-repo init -u https://gitee.com/algoideas/unionpi -b OpenHarmony-3.1-Release -m devboard_unionpi.xml --no-repo-verify
+repo init -u https://gitee.com/openharmony/manifest -b OpenHarmony-3.2-Release --no-repo-verify
+```
+在openharmony/.repo/mainfests/chipsets/路径下添加unionpi_tiger.xml 文件内容如下
+```
+
+
+
+
+
+
+
+
+
+```
+
+在all.xml文件中添加
+```
+
+```
+
+创建unionpi_tiger文件夹,并在unionpi_tiger文件夹中创建unionpi_tiger.xml文件,文件内容如下
+```
+
+
+
+
+
+
+
+
+
+
+```
+添加完.xml文件如下
+
+
+
+修改完./repo文件夹下的内容,执行以下命令拉取代码
+```
repo sync -c
repo forall -c 'git lfs pull'
./build/prebuilts_download.sh --skip-ssl
```
-
-打入unionpi相关补丁到openharmony中(注意下载完成后执行)
-```
-./device/unionpi/build/patch-unionpi.sh
-```
\ No newline at end of file
diff --git "a/docs/UnionpiTiger_helloworld/\350\277\220\350\241\214\351\225\234\345\203\217.md" "b/docs/UnionpiTiger_helloworld/\350\277\220\350\241\214\351\225\234\345\203\217.md"
index 7ad6e3db782409980551a9f98aada890f973d021..399253a67e3cd01e3a38cf04b904304468f349b6 100644
--- "a/docs/UnionpiTiger_helloworld/\350\277\220\350\241\214\351\225\234\345\203\217.md"
+++ "b/docs/UnionpiTiger_helloworld/\350\277\220\350\241\214\351\225\234\345\203\217.md"
@@ -17,4 +17,4 @@ helloworld

连接mipi屏的话,mipi屏也有画面,如图所示:
-
+