Hi3516 full system type burning tutorial

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

Step 1: Install the hitool usb programming driver

Installation method: After unzipping, double-click InstallDriver.exe. The default step is Next. Click Finish.
image.png

Step 2: Double-click the registry file, see the attachment at the end, and click Yes.

image.png
image.png

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

image.png

Burning steps:

1. Plug the serial port cable of the 3516 development board into the USB port of the computer
2. Because it is a USB programming method, select the USB port, as shown in the figure

image.png

image.png

Note: You must choose the correct serial port, and the serial port configured in the terminal serial port must be consistent with the serial port under the PC and board configuration. Ps
: USB programming does not require a network cable or a power cord (with a switch button) ), you only need to plug one end with a typeC port into the back of the 3516 development board, and the other end with a USB port into the host USB port. This line is equivalent to a power cord.

Key operations
(1) Power off first: this means unplugging the USB cable plugged into the host computer
(2) Click to program
(3) Press and hold the update button on the 3516 development board, as shown in the figure (black dot) )
image.png

(4) Power on: This means plugging the USB cable you just unplugged into the host computer. Note that it is the same USB port. Don’t plug it in wrongly. (5) Release the reset button and click on the
console to display the scene as shown below, which means Already burning
image.png
image.png

Startup parameters

Currently, Runhe Hi3516 development board supports 3 systems, 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 select ipcamera_hispark_taurus
image.png
burning guide chart:
, set the server IP, development board IP, startup 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 the network port for burning, pay attention to modify the server IP, IP address, gateway, select emmc for burning,
0df9bc9006176536761d57f4dc35b7c.png

Small system (linux kernel)

hb set selects ipcamera_hispark_taurus_linux
image.png
burning guide:
, set the server IP, development board IP, and startup 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 the network port for burning, pay attention to modify the server IP, IP address, gateway, and select emmc for burning
image.png

Standard system

Compile command: ./build.sh --product-name Hi3516DV300 --ccache
, set the server IP, development board IP, and startup 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 the network port for burning, pay attention to modify the server IP, IP address, gateway, and select emmc for burning
5314998929_51873187537_mmexport1644464728149.jpg

Guess you like

Origin blog.csdn.net/aa120515692/article/details/125643038