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、编译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 烧录

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值