Compare commits

..

3 Commits

Author SHA1 Message Date
wangzhongjie
47d2f306a8 fix: 增加一些脚本 2025-05-08 11:29:44 +08:00
wangzhongjie
974d3c0b60 fix: 增加一些脚本 2025-05-08 11:13:01 +08:00
wangzhongjie
8c9a45ac86 fix:部署外壳 2025-05-08 10:47:29 +08:00
15 changed files with 135 additions and 0 deletions

15
README.md Normal file
View File

@ -0,0 +1,15 @@
<!--
* @Author: wangzhongjie
* @Date: 2025-05-08 11:10:01
* @LastEditors: wangzhongjie
* @LastEditTime: 2025-05-08 11:29:25
* @Description:
* @Email: shutdown0630@163.com
-->
# 以下说明的目录是可以动的,其它目录切不可动,不可删除,不可新增
## hap目录存放最新的hap包,如果之前有hap包,请先删除或者覆盖,不可存放多个hap包,并且保证名称为entry-default-signed
## in目录存放需要导入到板子中的一些配置文件或者目录
## out目录存放导出到板子中的一些配置文件或者目录
## logs目录存放板子运行时的日志文件,以及轨迹文件导出
# 所有脚本执行必须看到all success才算执行成功!!!!

9
hap/README.md Normal file
View File

@ -0,0 +1,9 @@
<!--
* @Author: wangzhongjie
* @Date: 2025-05-08 11:08:38
* @LastEditors: wangzhongjie
* @LastEditTime: 2025-05-08 11:09:43
* @Description:
* @Email: shutdown0630@163.com
-->
这个目录存放需要安装的最新的外壳hap包

Binary file not shown.

9
in/README.md Normal file
View File

@ -0,0 +1,9 @@
<!--
* @Author: wangzhongjie
* @Date: 2025-05-08 11:08:38
* @LastEditors: wangzhongjie
* @LastEditTime: 2025-05-08 11:08:59
* @Description:
* @Email: shutdown0630@163.com
-->
这个目录存放需要导入到板子里面的一些配置文件目录

9
out/README.md Normal file
View File

@ -0,0 +1,9 @@
<!--
* @Author: wangzhongjie
* @Date: 2025-05-08 11:08:38
* @LastEditors: wangzhongjie
* @LastEditTime: 2025-05-08 11:09:21
* @Description:
* @Email: shutdown0630@163.com
-->
这里面会存放板子导出来的一些文件目录

View File

@ -0,0 +1,11 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\in
cd %TOOLCHAIN_PATH%
.\hdc.exe shell "rm -rf /mnt/hmdfs/100/account/device_view/local/files/skip_scan_dir.conf"
echo "remove skip_scan_dir.conf success"
.\hdc.exe file send %CONFIG_PATH%\skip_scan_dir.conf /mnt/hmdfs/100/account/device_view/local/files
echo "all success"
pause

9
导入voice文件.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\in
cd %TOOLCHAIN_PATH%
.\hdc.exe file send %CONFIG_PATH%\voice /mnt/hmdfs/100/account/device_view/local/files/duolun/voice
echo "all success"
pause

9
导入考车配置.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\in
cd %TOOLCHAIN_PATH%
.\hdc.exe file send %CONFIG_PATH%\config /mnt/hmdfs/100/account/device_view/local/files/duolun/config
echo "all success"
pause

View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\in
cd %TOOLCHAIN_PATH%
.\hdc.exe file send %CONFIG_PATH%\carcheck.txt /mnt/hmdfs/100/account/device_view/local/files/duolun/config/carcheck.txt
echo "all success"
pause

View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/skip_scan_dir.conf %CONFIG_PATH%
echo "all success"
pause

9
导出voice文件.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set MODELS_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/voice %MODELS_PATH%
echo "all success"
pause

9
导出加密模型.bat Normal file
View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set MODELS_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/models %MODELS_PATH%
echo "all success"
pause

8
导出考车配置.bat Normal file
View File

@ -0,0 +1,8 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/config %CONFIG_PATH%
echo "all success"
pause

View File

@ -0,0 +1,9 @@
@echo off
set TOOLCHAIN_PATH=.\win
set CONFIG_PATH=..\out
cd %TOOLCHAIN_PATH%
.\hdc.exe file recv /mnt/hmdfs/100/account/device_view/local/files/duolun/config/carcheck.txt %CONFIG_PATH%
echo "all success"
pause

11
部署外壳.bat Normal file
View File

@ -0,0 +1,11 @@
@echo off
set TOOLCHAIN_PATH=.\win
set HAP_PATH=..\hap
cd %TOOLCHAIN_PATH%
.\hdc.exe uninstall com.oh.dts
echo "uninstall success"
.\hdc.exe install -r %HAP_PATH%\entry-default-signed.hap
echo "all success"
pause