background image

                                                      QY-IMX6S Linux Function And Test Manual

 

 

Any question, please send E-mail

 :

[email protected]

                                 

Page  21  of  72

   

Sales E-mail

 :[email protected]

 

[email protected] 

Website

:http://www.qiytech.com 

©2012 Qiyangtech 

Copyright

 

 

   

 

According to the relation tablet between serial port and hardware, 

select the serial port which need to be tested.   

Connect the serial port to UART on PC through special UART cable. 

Open the CD/serial debugging tool in PC. 

Содержание QY-IMX6S

Страница 1: ...ail supports qiyangtech com Page 1 of 72 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright QY IMX6S Linux Function And Test Manual Version N...

Страница 2: ...eparation 5 Mainboard Test 6 2 1 Buzzer Test 6 2 2 RTC Test 8 2 3 Watchdog Test 12 2 4 GPIO Test 14 2 5 Serial Port Test 18 2 6 SPI Test 26 2 7 CAN Test 30 2 8 Audio Video Test 35 2 9 LAN Test 40 2 10...

Страница 3: ...supports qiyangtech com Page 3 of 72 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright Version Illustration Vers ion Hardware Platform Descr...

Страница 4: ...e 4 of 72 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright Preface This Manual mainly introduce different interface function and testing me...

Страница 5: ...yright Preparation Before testing please read QY IMX6S Linux User Manual pdf and connect to the board according to this manual Power on mainboard after system starts then input root user to enter into...

Страница 6: ...X6S mainboard use GPIO 6_31 to control the buzzer on the board When set to low level buzzer does not work when set to high level buzzer will work Test Principle This test is to realize buzzing Test Pr...

Страница 7: ...buzzer press ctrl c to exit the program buzzer_test dev qiyang_buzzer 0 Device Node dev qiyang_buzzer Test Code CD Test Code buzzer_test buzzer_test c Driver Code linux 3 0 101 drivers misc buzzer c...

Страница 8: ...e board as external hardware clock Please confirm that you put on the battery before testing RTC Test Principle Set system time through date system command and then write system time into hardware clo...

Страница 9: ...ales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright date 022710412014 month day hour minute year 3 Use hwclcok command to write system time into hardware time chip hwclock w 4 C...

Страница 10: ...hen power on to check system and hardware clock by using date and hwclock command to check time is saved or not and whether works normally 7 After comparing with PC time there is no error If need to t...

Страница 11: ...r linux 3 0 101 drivers i2c busses i2c imx c The Kernel Options I2c2 Device Drivers I2C support Enable compatibility bits for old user space I2C device interface I2C bus multiplexing support Autoselec...

Страница 12: ...ON RX 8025 FAQ Phenomenon Time can not be saved time travel error is huge can not check hardware clock Debug UART print the following information Please check the following items Whether BT1 on the ba...

Страница 13: ...dog but do not execute feeding dog operations the system reboots after1 6 seconds watchdog_notfeed_test dev qy_watchdog Device Node dev qy_watchdog Test Code CD Source Code Test Code watchdog_test wat...

Страница 14: ...GPIO2_5 GPIO 2_6 GPIO2_7 J31 GPIO2_16 GPIO2_17 GPIO2_18 GPIO2_19 GPIO2_20 GPIO2 _21 GPIO2_22 GPIO2_23 Test Principle Gpio_test 0 test the situation when gpio does not have external connection set all...

Страница 15: ...ice 0 set gpio high level and low level gpio_test device 1 obtain gpio level 2 J5 and J31 GPIO is without external signal execute gpio_test dev qiyang_imx6_gpio 0 As the above picture shown set each G...

Страница 16: ...ports qiyangtech com Page 16 of 72 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright Then press Enter it hints test OK 3 External connect 3...

Страница 17: ...012 Qiyangtech Copyright As above picture shown obtaining each gpio level status users can change the actual connected gpio signal to confirm gpio is normal or not Device Node dev qiyang_imx6_gpio Tes...

Страница 18: ...BOARD 2 5 Serial Port Test There are 5 ch serial ports J6 is as the debug UART The other 4 ch could be used as the RS232 serial port COM1 J31 and COM2 J31 are 5 wire serial ports and multiplexes with...

Страница 19: ...al testing device node through multithreading way to block reading serial ports data and then print Test Process Result When do serial ports testing PC needs 2 serial ports One connect to debugging po...

Страница 20: ...orts qiyangtech com Page 20 of 72 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright Input telent 192 168 1 71 in running Windows Input usern...

Страница 21: ...ail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright According to the relation tablet between serial port and hardware select the serial port which need...

Страница 22: ...Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright If it hints No such serial port It means the COM on PC be occupied by terminal close the o...

Страница 23: ...te http www qiytech com 2012 Qiyangtech Copyright here it is COM3 Baud Rate is 115200 Data Bit 8 bit Stop Bit 1 Parity Bit NONE After connected and set the UART start to test Testing COM1 COM2 COM3 CO...

Страница 24: ...ech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright Click Send Manually on serial debugging assistant telnet shows the received date Telnet and serial debugging assista...

Страница 25: ...ymxc3 dev ttymxc4 Test Code CD Test Code serial _test rs232_test c Driver Code linux 3 0 101 drivers tty serial imx c The kernel configurations Device Drivers Character devices Serial drivers IMX seri...

Страница 26: ...SPI interface J5 total 3 ch chip selects can be externally connected to 3 ch SPI device 3 channel SPI all use SPI common driver spidev driver realize the basic operation of device s data read and wri...

Страница 27: ...peration you can refer to this source code Relation Chart Chipsets are corresponding to the device node as below Chipset Device Node Hardware Location NCS0 dev spidev4 0 Pin 6 on J5 NCS1 dev spidev4 1...

Страница 28: ...http www qiytech com 2012 Qiyangtech Copyright spidev_test dev spidev4 2 tests NCS2 chip select channel 2 Here we take example of NCS0 chip select as an example to introduce other chips select s test...

Страница 29: ...com Website http www qiytech com 2012 Qiyangtech Copyright Device Node SPI5_NCS0 dev spidev4 0 SPI5_NCS1 dev spidev4 1 SPI5_NCS2 dev spidev4 2 Test Code CD Test Source Code spi _test spidev_test c Dr...

Страница 30: ...as current channel s device node Whether kernel configuration is selected Spi can not be transmitted normally please check the following 2 items Whether spi s maximum transmitting speed rate fits the...

Страница 31: ...test connect the current CAN to another CAN interface You could open two IMX6 boards then connect the two UART terminal to PC When entering into the system then configure and open CAN ip link set can0...

Страница 32: ...http www qiytech com 2012 Qiyangtech Copyright Illustration can_test device 0 set CAN as the receiving data can_test device set CAN as the sending data 4 Here take the CAN on the Board 1 as the recei...

Страница 33: ...p www qiytech com 2012 Qiyangtech Copyright The debug UART terminal on the Board 1 received the CAN data from the Board 2 6 Then exchange to test take the CAN on the Board 2 as the receiving terminal...

Страница 34: ...ubsystem support Raw CAN Protocol raw access with CAN ID filtering Broadcast Manager CAN Protocol with content filtering CAN Device Drivers Virtual Local CAN Interface vcan Platform CAN drivers with N...

Страница 35: ...config can0 up is failed please check whether the kernel configuration enables can0 3 If transmitting is successfully but the opposite end do not receive Please check whether the two ends bitrate is r...

Страница 36: ...om 2012 Qiyangtech Copyright Play audio video through gplay command Please ensure the LCD and VGA be connected well and the earphone or amplifier be connected to J33 well Test Process Test Result 1 Ex...

Страница 37: ...ww qiytech com 2012 Qiyangtech Copyright 2 There is audio test file shinian mp3 in current directory usr test you can play this audio file directly to test gplay shinian mp3 You can hear music from au...

Страница 38: ...sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright p Play s Stop e Seek a Pause when playing play when paused v Volume m Switch to mute or not Play next file Play previous fi...

Страница 39: ...tp www qiytech com 2012 Qiyangtech Copyright x eXit Here we take example by adjusting the volume Execute gplay bbb_short_1080p avi or gplay shinian mp3 command Input v it hints Set volume 0 1 0 range...

Страница 40: ...record gplay test wav Test Code Test Code video bbb_short_1080p avi Tool gplay FAQ If there is issues on display part please refer to the LCD Charter to check In default please use the LCD which the r...

Страница 41: ...t could access the network 2 Set board network Configure automatically input udhcpc i eth0 Configure manually input ifconfig eth0 192 168 1 71 Default setting echo nameserver 114 114 114 114 etc resol...

Страница 42: ...ht FAQ If there is issue please check the below items Check whether Network LAN is working Check whether the router is working 2 10 USB Test Supports 3 formats fat32 exFAT NTFS There are 5 ch USB on Q...

Страница 43: ...it generates device node dev sda and partition node dev sda1 in dev directory If there are several partitions then the number will be increased Finally the system will mount all of the partitions to t...

Страница 44: ...t 1 Check USB Flash Disk through fdisk command fdisk l dev sda Here the USB Flash Disk has been mounted into media sda4 directory 1 Check contents in USB Flash Disk ls media sda4 2 Test USB Flash Disk...

Страница 45: ...the dev sdan Test Code Test Command fdisk Test Code linux 3 0 101 drivers usb host ehci hcd c The Kernel Options Device Drivers USB support EHCI HCD USB 2 0 support Support for Freescale controller Su...

Страница 46: ...nize SD card and print the relative information of SD Card Generate device node and partition node in dev directory Then system will automatically mount all partition to media directory Through read a...

Страница 47: ...above picture shows it will show some SD card basic information here the device node is mmcblk1 partition is pl 2 You can also use fdisk command to check SD information fdisk 1 dev mmcblk1 Here automa...

Страница 48: ...rs per block device Use bounce buffer for simple hosts SDHCI support on the platform specific bus SDHCI platform support for the Freescale eSDHC i MX contr FAQ After plugging in SD Card without any pr...

Страница 49: ...es qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright connector on J28 12V and 5V 2 Power on use command to check hardware disk s content fdisk l df Here we mount the hardware disk...

Страница 50: ...read speed it means the SATA works normally 2 13 HDMI Test J15 is HDMI interface on board it supports two kinds of resolutions 1920x1080 and 1280x720 Powering on input in the u boot command line If us...

Страница 51: ...nd boot system saveenv boot Test Principle Set frame buffer in uboot and start HDMI driver set resolution Booting development board video output is HDMI Test Process Result Connect HDMI cable to J15 o...

Страница 52: ...following command in u boot set bootargs_mmc setenv bootargs bootargs root dev mmcblk0p1 rootwait rw video mxcfb0 dev lcd QY LCD 640x480 if RGB24 7 Inch LCD Touch Panel resolution is 800x480 model no...

Страница 53: ...ommand in u boot set bootargs_mmc setenv bootargs bootargs root dev mmcblk0p1 rootwait rw video mxcfb0 dev lcd 1280x1024M 60 if RGB24 Save and boot system saveenv boot Test Principle System boots LCD...

Страница 54: ...os To check whether the logo picture is distortion or jitter to confirm whether display normal or not You can also run qt program to test LCD and VGA according to this chapter 2 9 Test Code None Drive...

Страница 55: ...not please confirm whether current kernel resolution is the same as current using LCD monitor data 2 15 LVDS Test 2 CH LVDS interface J16 J17 QY HJ070NA 7 inch LCD resolution 1024x600 After powering...

Страница 56: ...board Please make sure that the configured kernel resolution and current connected LCD or VGA required resolution are same Power on mainboard after system boots LCD or VGA will display the following p...

Страница 57: ...ary this program will take you to QT world System supports usb mouser and touch panel operation Test Principle Execute Imx6_qt_test program on the LCD monitor it shows QT Image Through touch panel or...

Страница 58: ...h com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright Operate QT image through touch panel or USB mouse Device Tree file None Driver Code None The Kernel Options None FAQ P...

Страница 59: ...esolution in uboot If using resistive touch panel please refer to Charter 2 14 to connect If using capacitive touch panel please refer above Charter 2 15 Test Principle Use Tslib touch panel test tool...

Страница 60: ...l prints the coordinate point base on current cross picture Click the cross picture this cross picture will skip to another corner It is finished after four corners and central point be calibrated 3 A...

Страница 61: ...image unnormal please confirm whether LCD resolution configuration match the current display After clicking touch panel cursor display position has a little error and jitter with clicking position thi...

Страница 62: ...isplay refer to Chart 2 13 2 14 2 15 3 Input command gst launch v mfw_v4lsrc mfw_v4lsink It shows captured image from camera on LCD Driver Code linux 3 0 101 drivers media video mxc capture mxc_v4l2_c...

Страница 63: ...on May 30 2013 12 26 32 MAX resolution 1024x768 MFW_GST_ISINK_PLUGIERROR v4l2 capture slave not found N 3 0 5 build on May 30 2013 12 27 13 Setting pipeline to PAUSED ERROR Pipeline doesn t want to pa...

Страница 64: ...Website http www qiytech com 2012 Qiyangtech Copyright J30 can connect to other 3G cards It supports module SIM7100CE SIM7600CE It supports China mobile 3G Unicom 3G UC15 Inserting SIM card on SIM so...

Страница 65: ...ny question please send E mail supports qiyangtech com Page 65 of 72 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright Visit Internet press...

Страница 66: ...72 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright 2 20 Wifi Test QY I MX6S brings J12 or J11 It can be connected to WIFI The module suppo...

Страница 67: ...sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright Modify configuration file etc wpa_supplicant conf modify the below ssid and psk to the corresponding user name and password...

Страница 68: ...on please send E mail supports qiyangtech com Page 68 of 72 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright ping www baidu com I wlan0 The...

Страница 69: ...older RS485 circuit RS485 and Hardware Relation Chart UART Hardware Location Device Node COM1 J31 A B TO Pin11 Pin13 dev ttymxc1 COM2 J31 A B TO Pin12 Pin14 dev ttymxc2 Test Principle Test program can...

Страница 70: ...targs root mmcroot rootwait rw rs485 1 2 saveenv boot 3 System boots Board 1 as RS485 receiving end input command usr test rs485_test dev ttymxc1 115200 0 4 Board 2 as RS485 transmitting end input com...

Страница 71: ...qiyangtech com Page 71 of 72 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2012 Qiyangtech Copyright Test Summary QY I MX6S development board function tests are f...

Страница 72: ...tp www qiytech com 2012 Qiyangtech Copyright Zhejiang Qiyang Intelligent Technology Co Ltd Tel 86 571 87858811 87858822 Fax 86 571 89935912 Technology Support 86 571 89935913 E MAIL supports qiyangtec...

Отзывы: