|
关键词:
imx6 , 明远智睿 , 核心板 , 开发板 , 嵌入式
【接上一章节MY-IMX6-EK200 Linux-4.1.15 测试手册(3)】
16 显示屏配置测试
说明:每项显示功能测试都需要重启系统进入到u-boot命令行,输入命令并按确认键。
U-Boot 2016.03-svn270 (Oct 09 2018 - 14:44:15 +0800)
CPU: Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 43C
Reset cause: POR
Board: MYZR i.MX6 Evaluation Kit
Model: MY-IMX6-EK200-6Q-2G
I2C: ready
DRAM: 2 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected SST25VF016B with page size 256 Bytes, erase size 64 KiB, total 2 MiB
*** Warning - bad CRC, using default environment
No panel detected: default to MY-LVDS-WSVGA
Display: MY-LVDS-WSVGA (1024x600)
In: serial
Out: serial
Err: serial
Net: FEC [PRIME]
Normal Boot
Hit any key to stop autoboot: 0
=>
16.1 LVDS1 单屏显示
=> setenv display ${disp_fb0_lvds1}
=> saveenv; boot
16.2 LVDS0 单屏显示
=> setenv display ${disp_fb0_lvds0}
=> saveenv; boot
16.3 HDMI 单屏显示
=> setenv display ${disp_fb0_hdmi}
=> saveenv; boot
16.4 RGB(LCD) 单屏显示
=> setenv display ${disp_fb0_lcd}
=> saveenv; boot
16.5 LVDS1 + LVDS0 双屏同步显示
=> setenv display ${disp_lvds_sync}
=> saveenv; boot
16.6 LVDS1 + LVDS0 双屏同步显示
=> setenv display ${disp_lvds_sync}
=> saveenv; boot
16.7 LVDS1(主) + HDMI 双屏异步显示
=> setenv display ${disp_fb0_lvds1} ${disp_fb1_hdmi}
=> saveenv; boot
16.8 LVDS1(主) + RGB 双屏异步显示
=> setenv display ${disp_fb0_lvds1} ${disp_fb1_lcd}
=> saveenv; boot
16.9 LVDS0(主) + HDMI 双屏异步显示
=> setenv display ${disp_fb0_lvds0} ${disp_fb1_hdmi}
=> saveenv; boot
16.10 LVDS0(主) + RGB 双屏异步显示
=> setenv display ${disp_fb0_lvds0} ${disp_fb1_lcd}
=> saveenv; boot
16.11 HDMI(主) + LVDS1 双屏异步显示
=> setenv display ${disp_fb0_hdmi} ${disp_fb0_lvds1}
=> saveenv; boot
16.12 HDMI(主) + LVDS0 双屏异步显示
=> setenv display ${disp_fb0_hdmi} ${disp_fb0_lvds0}
=> saveenv; boot
16.13 视频播放测试
设置Linux的环境变量
# export GSTL=gst-launch-1.0
# export PLAYBIN=playbin
# export GPLAY=gplay-1.0
# export GSTINSPECT=gst-inspect-1.0
# export MP4_FILE="/unit_tests/akiyo.mp4"
播放视频到主显示屏
# $GSTL $PLAYBIN uri=file://$MP4_FILE video-sink="imxv4l2sink device=/dev/video17"
播放视频到第二显示屏
# $GSTL $PLAYBIN uri=file://$MP4_FILE video-sink="imxv4l2sink device=/dev/video18"
17 4G模块EC20(选配)测试
# /my-demo/linux-4.1.15/MY_EC20_QuectelCM_L4115_MYIMX6A9.out &
[1] 636
[10-01_14:02:10:616] WCDMA<E_QConnectManager_Linux&Android_V1.1.34
[10-01_14:02:10:617] /my-demo/linux-4.1.15/MY_EC20_QuectelCM_L4115_MYIMX6A7.out profile[1] = (null)/(null)/(null)/0, pincode = (null)
[10-01_14:02:10:619] Find /sys/bus/usb/devices/1-1.2 idVendor=2c7c idProduct=0125
[10-01_14:02:10:620] Find /sys/bus/usb/devices/1-1.2:1.4/net/eth2
[10-01_14:02:10:620] Find usbnet_adapter = eth2
[10-01_14:02:10:620] Find /sys/bus/usb/devices/1-1.2:1.4/GobiQMI/qcqmi2
[10-01_14:02:10:620] Find qmichannel = /dev/qcqmi2
[10-01_14:02:10:665] Get clientWDS = 7
[10-01_14:02:10:697] Get clientDMS = 8
[10-01_14:02:10:729] Get clientNAS = 9
[10-01_14:02:10:760] Get clientUIM = 10
[10-01_14:02:10:792] Get clientWDA = 11
[10-01_14:02:10:825] requestBaseBandVersion EC20CEFAR02A10M4G
[10-01_14:02:10:920] requestGetSIMStatus SIMStatus: SIM_READY
[10-01_14:02:10:953] requestGetProfile[1] cmnet///0
[10-01_14:02:10:985] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE
[10-01_14:02:11:017] requestQueryDataCall IPv4ConnectionStatus: DISCONNECTED
[10-01_14:02:11:081] requestRegistrationState2 MCC: 460, MNC: 0, PS: Attached, DataCap: LTE
[10-01_14:02:11:144] requestSetupDataCall WdsConnectionIPv4Handle: 0x87779840
[10-01_14:02:11:241] requestQueryDataCall IPv4ConnectionStatus: CONNECTED
[10-01_14:02:11:274] ifconfig eth2 up
[10-01_14:02:11:305] busybox udhcpc -f -n -q -t 5 -i eth2
[10-01_14:02:11:321] udhcpc (v1.24.1) started
[10-01_14:02:11:433] Sending discover...
[10-01_14:02:11:493] Sending select for 10.127.206.63...
[10-01_14:02:11:552] Lease of 10.127.206.63 obtained, lease time 7200
[10-01_14:02:11:637] /etc/udhcpc.d/50default: Adding DNS 211.136.17.107
[10-01_14:02:11:638] /etc/udhcpc.d/50default: Adding DNS 211.136.20.203
18 4路视频采集模块(选配)测试
# EXEC_FILE=/my-demo/linux-4.1.15/MY_TW6865_DEMO_L4115_MYIMX6A9.out
# ${EXEC_FILE} -x 2 -ot 0 -ol 0 -ow 512 -oh 300 -m 2 &
# ${EXEC_FILE} -x 3 -ot 0 -ol 512 -ow 512 -oh 300 -m 2 &
# ${EXEC_FILE} -x 4 -ot 300 -ol 0 -ow 512 -oh 300 -m 2 &
# ${EXEC_FILE} -x 5 -ot 300 -ol 512 -ow 512 -oh 300 -m 2 &
|
|