0.修复虚拟机
cd C:\Program Files (x86)\VMware\VMware Workstation\
vmware-vdiskmanager -R “C:\Users\kenneth\Documents\Virtual Machines\jyshan\jyshan.vmdk”
1.工程准备
Hi3519AV100_SDK_V2.0.2.0
2.交叉编译工具链安装
arm-himix200-linux
3.编译环境依赖软件安装
JAVA环境
https://blog.csdn.net/u013932745/article/details/80936816
sudo apt-get install default-jre
修改编译线程数
osdrv/Makefile 中修改
make -j 8
hiregbin_prepare
##kenneth.jiang cd $(OSDRV_DIR)/tools/pc/uboot_tools/$(HIREGBING_PACKAGE_VER) && ./hiregbin $(TARGET_XLSM) $(UBOOT_REG_BIN);cd -
cp $(OSDRV_DIR)/tools/pc/uboot_tools/$(UBOOT_REG_BIN) $(OSDRV_DIR)/tools/pc/uboot_tools/$(HIREGBING_PACKAGE_VER)
cd $(OSDRV_DIR)/tools/pc/uboot_tools/$(HIREGBING_PACKAGE_VER) ;cd -
./hiregbin Hi3519AV100-DMEB_ONLY_1V8_8L_T-DDR4_2664M_2GB_16bitx2-A53_1500M.xlsm reg_info.bin
上述执行会包括,可能是虚拟机线程数不够。
cannot find uuid library required for mkfs.ubifs
Hi3519AV100_SDK_V2.0.2.0\osdrv\tools\pc\jffs2_tool 下readme_cn.txt
CONFIG_UDHCPD=y
CONFIG_UDHCPC=y
make CHIP=hi3519av100 distclean
make OSDRV_CROSS=arm-himix200-linux CHIP=hi3519av100 BOOT_MEDIA=nand all
setenv bootargs 'mem=256M console=ttyAMA0,115200n8 root=/dev/mtdblock2 rootfstype=yaffs2 rw mtdparts=hinand:1M(boot),4M(kernel),128M(rootfs),120M(test)'
setenv bootcmd 'nand read 0x22000000 0x100000 0x400000;bootm 0x22000000'
SMP VS AMP ???
SMP symmetric multiprocessing
SVP(Smart Vision Processing)
神经网络推理引擎(NNIE)
高性能DSP和多个CV加速引擎
make CROSS_COMPILE=arm-himix200-linux- PLATFORM=hi3519av100 CFG=hi3519av100_a53_linux_smp_config all
sudo apt-get install nfs-kernel-server # 安装 NFS服务器端
sudo apt-get install nfs-common # 安装 NFS客户端
sudo vim /etc/exports
/home/jyshan/work/3519/Hi3519AV100_SDK_V2.0.2.0 *(rw,sync,no_root_squash)
sudo /etc/init.d/nfs-kernel-server stop
sudo /etc/init.d/nfs-kernel-server start
ifconfig eth0 10.17.8.111
route add default gw 10.17.8.254
mount -t nfs -o nolock -o tcp -o rsize=32768,wsize=32768 10.17.8.110:/home/jyshan/work/3519/Hi3519AV100_SDK_V2.0.2.0 /mnt
cd /mnt/smp/a53_linux/mpp/ko
./load3519av100 -i -sensor0 imx334 -sensor1 imx290 -sensor2 imx290 -sensor3 imx290 -sensor4 imx290
./load3519av100 -i -sensor0 imx290 -sensor1 imx290 -sensor2 imx290 -sensor3 imx290 -sensor4 imx290
1.文件系统支持telnet
busybox默认是把telnet和telnetd功能编进去了的,所以这一步一般都省了。
2、设定开发板root和密码
[root@Link /root]# passwd
Changing password for root
New password:
Retype password:
3、添加自动启动telnet服务
#vi /etc/init.d/rcS在文件末尾添加
telnetd -l /bin/login
4、串口修改登录密码
passwd root
出现提示:
Changing password for root
New password:
输入新密码,是看不到的,回车,再次出现提示:
Retype password:
再次输入新密码,出现提示:
Password for root changed by root
GPIO1_0/1/2/3
himm 0x04058000 0x000100F0
himm 0x04058004 0x000100F0
himm 0x04058008 0x000100F0
himm 0x0405800C 0x000100F0
himm 0x045F1400 0x0000000F
himm 0x045F13FC 0x000000C0
himm 0x045F13FC 0x000000C5
himm 0x045F13FC 0x000000CA
UART2_TXD/GPIO6_5
himm 0x047B8044 0x000100F0
himm 0x045F6400 0x00000020
himm 0x045F63FC 0x00000020
himm 0x045F63FC 0x00000000
UART1_TXD/GPIO8_5
himm 0x047B8034 0x000100F0
GPIO8_6
himm 0x047B8038 0x00000CF0
himm 0x045F8400 0x00000060
himm 0x045F83FC 0x00000080 GPIO8_6 low GPIO8_5 low
himm 0x045F83FC 0x000000A0 GPIO8_6 low GPIO8_5 HIGH
GPIO8_6 /mute
himm 0x047B8038 0x00000CF0
himm 0x045F8400 0x00000040
himm 0x045F83FC 0x00000080
himm 0x047B8044 0x000100F0
himm 0x045F6400 0x00000020
himm 0x045F63FC 0x00000020
himm 0x047B8034 0x000100F0
himm 0x047B8034 0x000100F0
himm 0x045F8400 0x00000060
00
himm 0x045F63FC 0x00000000
himm 0x045F83FC 0x00000080
01
himm 0x045F63FC 0x00000020
himm 0x045F83FC 0x00000080
10
himm 0x045F63FC 0x00000000
himm 0x045F83FC 0x000000A0
11
himm 0x045F63FC 0x00000020
himm 0x045F83FC 0x000000A0
Audio Codec 寄存器
himm 0x047B0000
PQtool
cd Hi3519AV100_PQ_V2.0.2.0
killall ittb_stream
killall ittb_control
./HiIspTool.sh -a imx334 0
DLL_PATH=${LD_LIBRARY_PATH}:${PWD}/libs
export LD_LIBRARY_PATH=${DLL_PATH}