MYZR-RK3288-EK314 ANDROID5.1 测试手册

来自明远智睿的wiki
Admin讨论 | 贡献2018年6月11日 (一) 16:01的版本

跳转至: 导航搜索

目录

测试前的准备(preparation before test)


   1)准备MY-RK3288-EK314开发板一套,5V直流稳压电源,USB转串口线。

  prepare a set of MY-RK3288-EK314 development board, 5V DC power supply, USB to serial cable.

   2)接上串口线,给开发板供电,启动板子。

  connect the serial cable to the development board and power/span>


测试项目(test item)


网口测试(network inferface test)

MY-RK3288-EK314 评估板支持双网口,一个百兆,另一个千兆。
MY-RK3288-EK314 support two ethernet interfaces, one is 100 Mbps ethernet, the other is 1 Gbps ethernet

接口属性(interface property)

评估板型号
(evaluation board model no)
接口位置
(interface position)
接口速率标准
(interface rate standard)
系统接口
(system interface)
MY-RK3288-EK314 U13 10/100/1000Mbps eth0
P1 10/100Mbps eth1


测试方法(test method)

1) 测试说明
test instruction

  • 需要使用路由器,默认网关为192.168.137.1

Need to use a router, the default gateway is 192.168.137.1

2) Eth0连接测试
Eth0 connect test

  • 连接网线:将评估板“eth0”对应的接口与网络路由器用网线相连接

connect lan line: connect “eth0”on evaluation board with corresponding network router with lan line

  • 附图

figure
My-rk32-ek314 android test 2.1.2.png

3) Eth1连接测试
Eth1 connect test

  • 连接网线:将网线插入“eth1”对应的评估板接口,网线另一端保持与网络路由器的接口连接

connect lan line:insert one end of lan line into “eth1”on evaluation board and another end into network router

  • 设置第2个网口IP:

set the second network inter face IP:
# ifconfig eth1 192.168.137.100      # configure the eth1
# ping -I eth1 192.168.137.1      # send ICMP to HOST

  • 附图

figures
My-rk32-ek314 android test 2.1.3.png


USB测试(USB test)

接口属性(interface property)

评估板型号
(evaluation board model no.)
接口位置
(interface position)
接口速率标准
(interface rate standard)
MY-RK3288-EK314 J10 480 Mbits/s


测试方法(test method)

1) 开始测试
start test
将USB设备插入底板USB接口,点击“ApkInstaller“->”Install“->”USB Memory“
insert USB device into USB port on base board,enter the following command:

2) 测试结束
test over
将USB设备从底板拔出
instruction:when plug in & out U disk from USB interface

附图(figure)

My-rk32-ek314 android test 2.2.1.png

SD卡测试(SD card test)

接口属性(interface property)

评估板型号
(evaluation model no.)
接口位置
(interface position)
接口类型
(interface type)
MY-RK3288-EK314 U22 SD


开始测试(start test)

1) 往SD卡槽插入设备
insert device into SD card slot
插入SD卡到底板SD卡接口,点击”ApkInstaller”->“Install”->“TF Card”
insert SD card into SD card port on base board

2) 结束测试
test over
SD卡弹出后拨出SD卡即结束测试。
take out SD card after SD card pop-pup,then test is over。

附图(figures)

My-rk32-ek314 android test 2.3.1.png


背光测试(audio test)

点击“Setting”->“Display”->“Brightness level”

附图(figures)

My-rk32-ek314 android test 2.4.1.png


音频测试(audio test)

测试说明(test instruction)

   这项测试是通过播放音频文件验证评估板的音频功能。

  the test is to verify audio function of evaluation board by playing audio file。

测试方法(test method)

   1)准备测试

  prepare test

   连接音频输出设备到底板正面的音频座子,音频座子在底板正面“P15”。

  connect audio output device to audio element in front view of base board,audio element is “J20”in front view of base board。

   2)执行测试

  execute test

   用U盘准备mp3音频文件,插上U盘,直接打开mp3文件

附图(figures)

My-rk32-ek314 android test 2.5.1.png


标准GPIO测试(standard GPIO test)

接口属性(interface property)

评估板型号
(evaluation model no.)
LED标号
(LED label)
GPIO属性
(GPIO property)
IO序号
(IO order number)
MY-RK3288-EK314 D1 GPIO0_B1 9
D2 GPIO0_C2 18
D3 GPIO0_B0 8
D4 GPIO0_A7 7


测试方法(test method)

1)GPIO输出测试
GPIO output test

  • 设置需要测试的GPIO的IO序号

set IO order number for GPIO of which need to be tested
# OUT_IO_NUMBER=9

  • 导出GPIO

lead out GPIO
# echo ${OUT_IO_NUMBER} > /sys/class/gpio/export

  • 设置GPIO方向

set GPIO direction
# echo out > /sys/class/gpio/gpio${OUT_IO_NUMBER}/direction

  • 控制输出电平

control outputed electrical level
# echo 0 > /sys/class/gpio/gpio${OUT_IO_NUMBER}/value
# echo 1 > /sys/class/gpio/gpio${OUT_IO_NUMBER}/value
My-rk32-ek314 android test 2.6.1.png

2)GPIO输入测试
GPIO input test

  • 设置需要测试的GPIO的IO序号

set IO order number for GPIO of which need to be tested
# IN_IO_NUMBER=18

  • 导出GPIO

lead out GPIO
# echo ${IN_IO_NUMBER} > /sys/class/gpio/export

  • 设置GPIO方向

set GPIO方向
# echo in > /sys/class/gpio/gpio${IN_IO_NUMBER}/direction

  • 查看输入电平

check inputed electrical level
cat /sys/class/gpio/gpio${IN_IO_NUMBER}/value
My-rk32-ek314test 2.5.2.png


GPIO-KEY测试(GPIO-KEY test)

接口属性(interface property)

MY-RK3288-EK314
接口位置
(interface position)
GPIO属性
(GPIO property)
KEY属性
(KEY property)
SW1 gpio-keys Volume Down
SW2 gpio-keys Volume Up
SW3 gpio-keys Power
SW4 gpio-keys Reset
SW5 gpio-keys Recovery


测试方法(test method)

直接按SW1和SW2
press SW1 and SW2

附图(figures)

My-rk32-ek314 android test 2.7.1.png


串口测试(serial port test)

MY-RK3288-EK314共3个串口,其中1个调试串口,2个用户串口。
MY-RK3288-EK314 has total 5 serial ports,one is debug seiral port,the other 4 are user serial ports。


用户串口属性(user serial port property)

评估板型号
(evaluation board model no.)
UARTx 硬件接口
(hardware interface)
系统接口
(system interface)
MY-RK3288-EK314 UART0 BT (Bluetooth) ttyS0
UART1 P3 ttyS1
UART2 P4 (DEBUG) ttyS2

  提示:这里列出串口的收发管脚,串口其它管脚的定义请看原理图。
  tips:transceiver pins of serial port are listed here,but please refer to schematic for definition of all pins of serial port。

串口测试(serial port test)

  • 安装串口软件APK

install uart APK

  • 附图

figures
My-rk32-ek314 android test 2.8.1.png
My-rk32-ek314 android test 2.8.2.png

RTC测试(RTC test)

测试说明(test instruction)

   受快递运输影响,MY-RK3288-EK314 系列评估板发货时不带电池。测试RTC前请自备纽扣电池并安装到评估板上。

  due to restrictions in transportation,MY-RK3288-EK314 evaluation board doesn't contatin battery in delivery。before RTC test please prepare button cell to install on evaluation board。

   MY-RK3288-EK314的电池座在底板正面的“BT1”位置。

  MY-RK3288-EK314 battery holder is located in“BT1”on front view of base board。


测试方法(test method )

   1)开机后查看"clock"

  power on, and look at the clock

  • 附图

figures
My-rk32-ek314 android test 2.9.1.png

   2)关机后,等一会儿再开机:

  power off ,wait for a while and power on

  • 附图

figures
My-rk32-ek314 android test 2.9.2.png


SPI测试(SPI test)

MY-RK3288-EK314上有两组SPI接口。
MY-RK3288-EK314 has two groups of SPI interfaces。


接口属性(interface property)

测试需要用到SPI接口的MISO和MOSI管脚,在下表中列出。
pins of MISO and MOSI need to be used for test,listed as below。

评估板型号
(evaluation board model no.)
SPIx MISO MOSI 系统接口
(System interface)
MY-RK3288-EK314 SPI1 J11:33 J11:35 spidev0.0
SPI2 J11:38 J13:34 spidev2.0

测试说明(test specification)

1)采用SPI自发送(输出)自接收(输入)的方式。
adopt way of SPI self-sending(output)self-receiving(input)。
注意:测试需要短接评估板的管脚,如果不确定自己能正确短接的请找硬件工程师支持,否则可能会损坏评估板。
note:the test need a short connection of evaluation board pins,if you are not sure of how to conduct this kind of connection,please ask hardware engineer for a support,otherwise it may cause a damage of evaluation board。

2)与SPI测试程序匹配的SPI接口是SPI2,所以我们的SPI测试是测试SPI2。
SPI port which is matched up with SPI test program is SPI2,e.g.SPI test is SPI2 test。

测试方法(test method)

   1)准备测试

  prepare test

   短接SPI0的MISO和MOSI管脚。

  short connect MISO pin and MOSI pin of SPI2。

   2)执行测试

  execute test

   # ./spi_test -D /dev/spidev0.0
3)测试结果

  test result

   如果SPI正常,在终端上会看到如下字符:

  if SPI is normal,you can see following charaters on terminal:
FF FF FF FF FF FF
40 00 00 00 00 95
FF FF FF FF FF FF
FF FF FF FF FF FF
FF FF FF FF FF FF
DE AD BE EF BA AD
F0 0D


附图(figures)

My-rk32-ek314 android test 2.10.1.png


摄像头OV13850测试(camera ov13850 test)

接上摄像头,启动,接着打开“Camera”,会出现如下:

  • 附图

figures
My-rk32-ek314 android test 2.11.1.png


WIFI测试(WIFI test)

MY-RK3288-EK314 评估板使用的WIFI芯片型号为AP6335
the WIFI chip model used on the MY-RK3288-EK314 evaluation board is AP6335

   1)步骤一

step one

   点击“Settings”->“Wi-Fi”,打开WIFI的开关

click on “Settings”->“Wi-Fi”, turn on wifi
My-rk32-ek314 android test 2.12.1.png

   2)步骤二

step two

   输入WIFI密码,并连接成功

enter WIFI password and connect successfully
My-rk32-ek314 android test 2.12.2.png
My-rk32-ek314 android test 2.12.3.png


蓝牙测试(Bluetooth test)

MY-RK3288-EK314 评估板使用的Bluetooth芯片型号为AP6335
the Bluetooth chip model used on the MY-RK3288-EK314 evaluation board is AP6335

   1)步骤一

step one

   点击“Settings”->“Bluetooth”,打开蓝牙

click on “Settings”->“Bluetooth”,turn on Bluetooth
My-rk32-ek314 android test 2.13.1.png

   2)步骤二

step two

   匹配

match
My-rk32-ek314 android test 2.13.2.png

   3)步骤三

step three

   发送和接收文件

send and receive files
My-rk32-ek314 android test 2.13.3.png
My-rk32-ek314 android test 2.13.4.png


4G测试(4G internet module test)

测试说明(test instruction)

测试上网4G模块,如L506。
test online 4G module, such as L506.

测试方法(test method)

  • 接上模块,开机,显示3G标志

power on with the module, display 3G logo
My-rk32-ek314 android test 2.14.1.png


HDMI测试(HDMI test)

测试说明(test instruction)

接上HDMI显示屏。
Connect HDMI.


测试方法(test method)

  • 烧写resource-hdmi.img

Write resource-hdmi.img

   用AndroidTool_Release_v2.35烧写。

Write the image with AndroidTool_Release_v2.35.

  • 测试(test)

开机,HDMI有显示图像
Power on, HDMI has display image

  • 修改分辨率

Modify the resolution

   想修改分辨率,可以修改arch/arm/boot/dts/lcd-box.dtsi。

to modify the resolution, modify arch/arm/boot/dts/lcd-box.dtsi.

EDP测试(EDP test)

测试说明(test instruction)

接上EDP显示屏。
Connect EDP.


测试方法(test method)

  • 烧写resource-edp.img

Write resource-edp.img

   用AndroidTool_Release_v2.35烧写。

Write the image with AndroidTool_Release_v2.35.

  • 测试(test)

开机,EDP有显示图像
Power on, EDP has display image

  • 修改分辨率

Modify the resolution

   想修改分辨率,可以修改arch/arm/boot/dts/lcd-EDP1080p.dtsi。

to modify the resolution, modify arch/arm/boot/dts/lcd-EDP1080p.dtsi.
</div>