当前位置:网站首页>Hi3516 full system type burning tutorial

Hi3516 full system type burning tutorial

2022-07-07 12:06:00 Lian Zhian's blog

Download burning materials :https://gitee.com/hihope_iot/docs/tree/master/HiSpark-AI-Camera-Developer-Kit/Software/tools

First step : Install well hitool usb Burning drive

Installation mode : After decompressing , double-click InstallDriver.exe, Default next step , Click Finish
image.png

The second step : Double click the registry file , See the attachment at the end , Click Yes to

image.png
image.png

If it is not installed, the error shown in the figure will appear :

image.png

Burning steps :

1、 take 3516 Plug the serial port cable of the development board into the computer USB On the mouth
2、 the reason being that USB Burning way , So choose USB mouth , Pictured

image.png

image.png

Be careful : Choose the right serial port , And the serial port of the terminal serial port configuration should be consistent with PC It should be consistent with the serial port under the board end configuration
Ps:USB There is no need to connect the network cable for burning , There is no need to plug in the power cord ( With switch button ), Just put one end with typeC Plug in 3516 Back of development board , At the other end is USB Plug in the host USB On the mouth , This line is equivalent to the power line .

Key operations
(1) Power off first : It means to plug into the host USB Unplug the cable
(2) Click burn
(3) Hold down 3516 On the development board update Key not put ,update Key as shown in the figure ( Black dot )
image.png

(4) Access to electricity : It means to pull out just now USB Plug the cable into the host , Notice that it's the same USB mouth , Don't insert it wrong
(5) Release reset key , Click the console to display the scene as shown in the figure , It means you are already burning
image.png
image.png

Launch parameters

at present Runhe Hi3516 Development board Support 3 A system , Namely :
(1) Small system (liteos-a kernel )
(2) Small system (Linux kernel )
(3) Standard system
image.png

Small system (liteos-a kernel )

Small system liteos-a Kernel compilation ,hb set choice ipcamera_hispark_taurus
image.png
Burning guide diagram :
, Set up the server IP、 Development board IP、 Launch parameters .

setenv serverip 192.168.3.60
setenv ipaddr 192.168.3.100

setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000";

setenv bootargs "console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=30M rw";

saveenv

The configuration is as follows : Select network port burning 、 Pay attention to modifying the server IP、IP Address 、 gateway , choice emmc burn ,
0df9bc9006176536761d57f4dc35b7c.png

Small system (linux kernel )

hb set choice ipcamera_hispark_taurus_linux
image.png
Burning guide diagram :
, Set up the server IP、 Development board IP、 Launch parameters .

setenv serverip 192.168.3.60
setenv ipaddr 192.168.3.100

setenv bootargs "mem=128M console=ttyAMA0,115200 root=/dev/mmcblk0p3 rw rootfstype=ext4 rootwait blkdevparts=mmcblk0:1M(boot),9M(kernel),50M(rootfs),50M(userfs),1024M(userdata)"
setenv bootcmd "mmc read 0x0 0x82000000 0x800 0x4800;mw 0x10FF0044 0X600;mw 0x120D2010 0x00000000;mw 0x120D2400 0x000000ff;mw 0x120D2010 0x00000000;bootm 0x82000000"

saveenv

The configuration is as follows : Select network port burning 、 Pay attention to modifying the server IP、IP Address 、 gateway , choice emmc burn
image.png

Standard system

Compile command :./build.sh --product-name Hi3516DV300 --ccache
, Set up the server IP、 Development board IP、 Launch parameters .

setenv serverip 192.168.3.60
setenv ipaddr 192.168.3.100

setenv bootargs 'mem=640M console=ttyAMA0,115200 mmz=anonymous,0,0xA8000000,384M clk_ignore_unused androidboot.selinux=permissive skip_initramfs rootdelay=10 init=/init root=/dev/mmcblk0p5 rootfstype=ext4 rw blkdevparts=mmcblk0:1M(boot),15M(kernel),20M(updater),1M(misc),3307M(system),256M(vendor),-(userdata)'

setenv bootcmd "mmc read 0x0 0x80000000 0x800 0x4800; bootm 0x80000000"

saveenv

reset

The configuration is as follows : Select network port burning 、 Pay attention to modifying the server IP、IP Address 、 gateway , choice emmc burn
5314998929_51873187537_mmexport1644464728149.jpg

原网站

版权声明
本文为[Lian Zhian's blog]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207071003587991.html