HiSilicon3520dv400 dual hdmi Board Resources
Project: Development Board Shipping Materials | page_id: 527
3520dv400 Introduction and Interface Diagram
docs.html
1. v500 compiler (already included in the virtual machine)
Link: https://pan.baidu.com/s/1VPPDWuaq1TFaKc1rNeETTA Extraction code: f4c5
2. 3520dv400 sdk:
Link: https://pan.baidu.com/s/1cJF3CY0iOpQZwo4ZFm9n0w Password: lf11
3. ubuntu virtual machine
Link:https://pan.baidu.com/s/1e42sLyybk7Dcl8PbJgsAUQ
Extraction code: xstr
4. How to run the demo program:
4.1. Open the virtual machine downloaded in step 3, username xstrive, password 123456
The virtual machine has a built-in tftp server
Restart tftp server: sudo service tftpd-hpa restart
4.2 Flash the kernel and file system on the board
setenv serverip 192.168.0.75;setenv ipaddr 192.168.0.222;sa;
3)Flash the kernel
mw.b 82000000 ff 400000;tftp 82000000 uImage_hi3520dv400;sf probe 0;sf erase 100000 400000;sf write 82000000 100000 400000
4) Flash the file system
mw.b 82000000 ff B00000;tftp 0x82000000 rootfs_hi3520dv400_64k.jffs2;sf probe 0;sf erase 500000 B00000;sf write 82000000 500000 B00000
5)Set boot parameters
setenv bootargs 'mem=128M console=ttyAMA0,115200 root=/dev/mtdblock2 rootfstype=jffs2 rw mtdparts=hi_sfc:1M(boot),4M(kernel),11M(rootfs)';setenv bootcmd 'sf probe 0;sf read 0x82000000 0x100000 0x400000;bootm 0x82000000';sa;re
4.3 Plug the HDMI signal source into the board
4.4 Run the demo program
ifconfig eth0 192.168.0.136
mount -t nfs -o nolock 192.168.0.75:/home/xstrive/hisi /mnt/
cp /mnt/Hi3521DV100_SDK_V1.0.5.0/osdrv/tools/board/reg-tools-1.0.0/bin/* /usr/sbin/ -rf
himm 0x120F00AC 1
himm 0x120F00B0 1
himm 0x120F00B4 1
himm 0x120F0184 0
himm 0x120F0188 0
cd /mnt/Hi3521DV100_SDK_V1.0.5.0/mpp/ko
./load3521d -a -ad 6134 -total 512 -osmem 128
telnetd
cd /Hi3521DV100_SDK_V1.0.5.0/it6801_drv/it6801/ && ./hdmi&
cd ../../mpp/sample/venc
./sample_venc 0
#Select c, and you can see the recording in the virtual machine directory /home/xstrive/hisi/Hi3521DV100_SDK_V1.0.5.0/mpp/sample/venc/
4.5 Create your own file system
cd /home/xstrive/hisi/Hi3521DV100_SDK_V1.0.5.0/osdrv/pub
#Put the files you need into the rootfs folder
mkfs.jffs2 -d ./rootfs -l -e 0x10000 -o rootfs.jffs2
5 rtmp streaming code
Link:https://pan.baidu.com/s/15YKCvvrOsw6H6Wc4YQ0TAg Extraction code: xstr
For more information, please refer to the SDK directory downloaded in step 2
sdk\Hi3521D V100R001C01SPC050\ReleaseDoc\zh\01.software\board