01.编译HarmonyOS HiSpark AI Camera
1、环境搭建参考如下链接https://blog.csdn.net/qq_33475105/article/details/109549056参考链接https://device.harmonyos.com/cn/docs/ide/user-guides/service_introduction-0000001050166905 官方链接2、编译python build.py ipcamera_h
·
1、环境搭建参考如下链接
https://blog.csdn.net/qq_33475105/article/details/109549056 参考链接
https://device.harmonyos.com/cn/docs/ide/user-guides/service_introduction-0000001050166905 官方链接
2、编译debug版本
python build.py ipcamera_hi3516dv300 -b debug
编译的生产的文件在/home/harmony/Documents/DevEco/Projects/HarmonyOS/out/ipcamera_hi3516dv300
3、烧录
3.1查看开发板环境参数
使用网口进行烧录,需要设置ip
setenv ipaddr 192.168.1.18 //设置开发板的ip
setenv serverip 192.168.1.15 //设置服务器ip 也就是虚拟机ip
saveenv //保存环境参数
res //重启uboot
uboot路径
/home/harmony/Documents/DevEco/Projects/HarmonyOS/vendor/hisi/hi35xx/hi3516dv300/uboot/out/boot
Hitool下载地址
http://www.hihope.org/download/download.aspx?mtt=33
3.2 uboot 环境参数
*************************************设置之前********************************************
arch=arm
baudrate=115200
board=hi3516dv300
board_name=hi3516dv300
bootargs=console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=15M rw
bootcmd=mmc read 0x0 0x80000000 0x800 0x4800; saveenv; go 0x80000000
bootdelay=2
cpu=armv7
soc=hi3516dv300
stderr=serial
stdin=serial
stdout=serial
vendor=hisilicon
verify=n
#####################################设置之后######################################
hisilicon # print
arch=arm
baudrate=115200
board=hi3516dv300
board_name=hi3516dv300
bootargs=console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=15M rw
bootcmd=mmc read 0x0 0x80000000 0x800 0x4800; saveenv; go 0x80000000
bootdelay=2
cpu=armv7
ethact=eth0
ethaddr=00:39:3e:8c:72:d5
ipaddr=192.168.1.18
serverip=192.168.1.5
soc=hi3516dv300
stderr=serial
stdin=serial
stdout=serial
vendor=hisilicon
verify=n
3.3 烧录
更多推荐
已为社区贡献1条内容
所有评论(0)