OK3519A-C BSP整体测评
OK3519A-C开发板采用Hi3519AV100,该芯片支持 H.265/H.264编解码,编码/解码性能高达4K*2K@60fps/1080p@240fps,集成了海思第四代ISP,支持WDR、多级降噪、六轴防抖及多种图像增强和矫正算法,内置高性能全景拼接引擎,集成了智能加速引擎包括IVE,DSP,NNIE,DPU,可进行图片分类,目标检测等。适用于适用于医疗,金融,防控等多个领域的计算机视觉。
整理来说,OK3519A-C视频编解码,视频输入方面的性能强大,集成了智能加速引擎,提供了高效且丰富的计算资源。海思提供了大量的库文件,应用可调用海思的库实现。
飞凌优化了原厂BSP,移植了QT5.9.4,支持鼠标和触摸屏。目前QT显示功能与海思原生测试冲突,不能直接同时使用。如果希望同时使用,需从代码上去掉对MPI和VB的重复初始化。
默认出厂程序HDMI显示,加载QT主界面,如下图:
OK3519A-C支持MIPI-DSI和HDMI屏幕接口,HDMI支持4K输出。两种方式切换屏幕:uboot菜单动态控制和烧写系统时环境变量指定。
QT与命令行demo,均有测试例程,客户可参考,添加自己的应用。减少开发时间。
OK3519A-C接口功能简介
▲串口支持odd、even、mark、space校验,实测波特率可9600到1500000。
▲网络支持SSH/SFTP/WEB服务。
▲支持移远EC204G模块,华为ME909S4G 模块。
▲ MIPI-DSI屏显示(1024x600分辨率ARGB1555输出显示,ft5x06和gt911触摸),支持背光调节。
▲支持RX-RTC8010。
▲音频支持2路AI输入,1路AO输出,支持HDMI音频输出,支持VQE。
默认支持索尼的imx290和imx334。支持MIPI-CSI(OV5640)预览到HDMI上。如下图。
①支持PCIE接口(与USB3.0共用资源,默认为USB3.0)。
②支持看门狗功能。
③支持SPI接口,一路片选。
④支持原厂MPP例程。
⑤支持SD卡烧写,支持ext4烧写,速度快。
OK3519A 性能测试
01
USB2.0 读写速度测试
存储设备不同,测试结果存在差异。
写入测试:
$ddif=/dev/zero of=/run/media/sda1/test bs=1M count=500 conv=fsync
读取测试:
$ddif=/run/media/sda1/test of=/dev/null bs=1M
02
USB3.0 读写速度测试
存储设备不同,测试结果存在差异。
写入测试:
$ddif=/dev/zero of=/run/media/sda1/test bs=1M count=500 conv=fsync
读取测试:
$ddif=/run/media/sda1/test of=/dev/null bs=1M
03
SD卡读写测试
SD卡支持DefaultSpeed(DS)/High Speed(HS) /DDR50 /SDR12 /SDR25 /SDR50/SDR104模式。实测工作在SDR50时的读写速度。
写入测试:
$ddif=/dev/zero of=/run/media/mmcblk1/test bs=1M count=500 conv=fsync
读取测试:
$ddif=/run/media/mmcblk1/test of=/dev/null bs=1M
04
eMMC读写测试
eMMC采用HS400模式,以读写ext4文件系统速度为例,如下:
写入测试:
$dd if=/dev/zero of=/test bs=1M count=100 conv=fsync
读取测试:
$ddif=/test of=/dev/null bs=1M
05
有线网络吞吐量测试
组网环境如下:
TCP发送吞吐量测试:
PC机做服务器:iperf3.ext-s
OK3519上测试:iperf3 -c 192.168.2.72 -t 10 -i 1
Connectingto host 192.168.2.72, port 5201
[ 4] local 192.168.2.147 port 35524 connected to 192.168.2.72 port5201
[ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 108 MBytes 908 Mbits/sec 12 191 KBytes
[ 4] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 4 154 KBytes
[ 4] 2.00-3.00 sec 112 MBytes 941 Mbits/sec 1 218 KBytes
[ 4] 3.00-4.00 sec 110 MBytes 925 Mbits/sec 7 211 KBytes
[ 4] 4.00-5.00 sec 112 MBytes 939 Mbits/sec 4 164 KBytes
[ 4] 5.00-6.01 sec 112 MBytes 932 Mbits/sec 4 215 KBytes
[ 4] 6.01-7.00 sec 112 MBytes 942 Mbits/sec 0 215 KBytes
[ 4] 7.00-8.01 sec 113 MBytes 941 Mbits/sec 1 225 KBytes
[ 4] 8.01-9.00 sec 112 MBytes 939 Mbits/sec 2 238 KBytes
[ 4] 9.00-10.00 sec 112 MBytes 941 Mbits/sec 1 211 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 1.09 GBytes 935 Mbits/sec 36 sender
[ 4] 0.00-10.00 sec 1.09 GBytes 933 Mbits/sec receiver
iperfDone.
TCP接收与UDP发送接收,其他测试方法类似。
06
Coremark 跑分
2Kperformance run parameters for coremark.
CoreMarkSize : 666
Totalticks : 18799
Totaltime (secs): 18.799000
Iterations/Sec : 5851.375073
Iterations : 110000
Compilerversion : GCC6.3.0
Compilerflags : -O3 -funroll-all-loops --param max-inline-insns-auto=550-DPERFORMANCE_RUN=1 -lrt
Memorylocation : Please put data memory location here
(e.g.code in flash, data on heap etc)
seedcrc : 0xe9f5
[0]crclist : 0xe714
[0]crcmatrix : 0x1fd7
[0]crcstate : 0x8e3a
[0]crcfinal : 0x33ff
Correctoperation validated. See README.md for run and reporting rules.
CoreMark1.0 : 5851.375073 / GCC6.3.0 -O3 -funroll-all-loops --parammax-inline-insns-auto=550 -DPERFORMANCE_RUN=1 -lrt / Heap
07
Dhrystone测试
/run/media/mmcblk1p1# echo 50000000 | ./dhrystone
DhrystoneBenchmark, Version 2.1 (Language: C)
Pleasegive the number of runs through the benchmark:
Executionstarts, 50000000 runs through Dhrystone
Executionends
Finalvalues of the variables used in the benchmark:
Int_Glob: 5
shouldbe: 5
Bool_Glob: 1
shouldbe: 1
Ch_1_Glob: A
shouldbe: A
Ch_2_Glob: B
shouldbe: B
Arr_1_Glob[8]: 7
shouldbe: 7
Arr_2_Glob[8][7]: 50000010
shouldbe: Number_Of_Runs + 10
Ptr_Glob->
Ptr_Comp: 648336
shouldbe: (implementation-dependent)
Discr: 0
shouldbe: 0
Enum_Comp: 2
shouldbe: 2
Int_Comp: 17
shouldbe: 17
Str_Comp: DHRYSTONE PROGRAM, SOME STRING
shouldbe: DHRYSTONE PROGRAM, SOME STRING
Next_Ptr_Glob->
Ptr_Comp: 648336
shouldbe: (implementation-dependent), same as above
Discr: 0
shouldbe: 0
Enum_Comp: 1
shouldbe: 1
Int_Comp: 18
shouldbe: 18
Str_Comp: DHRYSTONE PROGRAM, SOME STRING
shouldbe: DHRYSTONE PROGRAM, SOME STRING
Int_1_Loc: 5
shouldbe: 5
Int_2_Loc: 13
shouldbe: 13
Int_3_Loc: 7
shouldbe: 7
Enum_Loc: 1
shouldbe: 1
Str_1_Loc: DHRYSTONE PROGRAM, 1'ST STRING
shouldbe: DHRYSTONE PROGRAM, 1'ST STRING
Str_2_Loc: DHRYSTONE PROGRAM, 2'ND STRING
shouldbe: DHRYSTONE PROGRAM, 2'ND STRING
Registeroption selected? YES
Microsecondsfor one run through Dhrystone: 0.2
Dhrystonesper Second: 4989727.1
VAXMIPS rating = 2839.913
目前,OK3519A-C开发板已在飞凌官网、淘宝店铺、天猫商城及微信商城上线,您可以点击此处直达产品页面>,了解更多内容。