background image

   

IAC-IMX6-Kit Linux Function and Test Manual 

 

Any question, please send E-mail

 :

supports@qiyangtech.com

                                     

Page 5 of 66

   

Sales E-mail

 :trade@qiyangtech.com

 

sales@qiyangtech.com 

Website

:http://www.qiytech.com 

©2014 Qiyangtech 

Copyright

 

 

. Preparation 

Before  testing, please  read

  QY-IMX6-KIT  Linux  User Manual. pdf

and connect to the mainboard according to that manual. 

Power  on  mainboard,  after  system  starts,  then  input  [root]  user  to 

enter into file system of the board, as the following picture shown: 

 

Mainboard test program is in [/usr/test] directory, please switch to this 

directory, the following testing operations will be done in this directory. 

#

 cd /usr/test/       

ls   

 

Summary of Contents for IAC-IMX6-Kit

Page 1: ...IAC IMX6 Kit Linux Function And Test Manual Version V 1 0 2017 04 QIYANG INTELLIGENT TECHNOLOGY Co Ltd Copyright Reserved...

Page 2: ...n Illustration 3 Preparation 5 Mainboard Test 6 2 1 Buzzer Test 6 2 2 RTC Test 7 2 3 Watchdog Test 13 2 4 GPIO Test 14 2 5 Serial Port Test 18 2 6 SPI Test 26 2 7 CAN Test 28 2 8 Audio Video Test 32 2...

Page 3: ...gtech com Page 3 of 66 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright Version Illustration Version Hardware Platform Description Date Rev...

Page 4: ...4 of 66 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright Preface This Manual mainly introduce different interface function and testing met...

Page 5: ...ght Preparation Before testing please read QY IMX6 KIT Linux User Manual pdf and connect to the mainboard according to that manual Power on mainboard after system starts then input root user to enter...

Page 6: ...uzzer on the board When set to low level buzzer does not work when set to high level buzzer works Test Principle This test is to realize the buzzer to work Test Process Result Run buzzer test program...

Page 7: ...st buzzer_test c Driver Code linux 3 0 101 drivers misc buzzer c The Kernel Options Device Drivers Misc devices BUZZER FOR QIYANG IMX6 BOARD FAQ Debug UART prints information Please check the followin...

Page 8: ...inciple Set system time through date system command and then write system time into hardware clock through hwclock command Through rtc_test test program to read hardware clock and print it After power...

Page 9: ...iyangtech com Page 9 of 66 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright hwclock w 4 Check system and hardware clock by date and hwclock...

Page 10: ...ime then exit If you want to exit early please press Ctrl C to check whether the RTC clock works accurately no losing seconds 6 Power off then power on to check system and hardware clock again To chec...

Page 11: ...r aging test for more than 24 hours and time error does not exceed 1S Device Node dev rtc dev rtc0 Test Code CD Source Code Test Code rtc_test rtc_test c Driver Code ds1338 Driver linux 3 0 101 driver...

Page 12: ...debug support RTC interfaces sys class rtc rtcN sysfs proc driver rtc procfs for rtc0 dev rtcN character devices RTC UIE emulation on dev interface Dallas Maxim DS1307 37 38 39 40 ST M41T00 EPSON RX...

Page 13: ...ons Test Process Result 1 Boot Watchdog and execute feeding dog operations You can see the system will not reboot Press Ctrl C to exit the program watchdog_feed_test dev qy_watchdog 2 Boot Watchdog bu...

Page 14: ...e following 16 channel GPIO Definition J16 GPIO1_4 GPIO1_7 GPIO1_8 GPIO1_9 GPIO7_11 GPIO7_12 GPIO7_13 GPIO4_5 J31 GPIO4_24 GPIO4_26 GPIO4_28 GPIO4_30 GPIO5_5 GPIO5_7 GPIO5_9 GPIO5_11 Test Principle Gp...

Page 15: ...ttp www qiytech com 2014 Qiyangtech Copyright 1 Run gpio test program gpio_test gpio_test It shows the following print information Illustration gpio_test device 0 set gpio high level and low level gpi...

Page 16: ...www qiytech com 2014 Qiyangtech Copyright multimeter to measure each gpio s actual level value to confirm whether the gpio is normal or not press Enter then set all gpio to high level to measure gpio...

Page 17: ...ht As above picture shown obtain each gpio s level status users can change the actual connected gpio signal to confirm whether gpio signal is normal or not Device Node dev qiyang_imx6_gpio Test Code C...

Page 18: ...Port Test There are 3 ch serial ports on IAC IMX6 KIT mainboard 1 ch serial port is used for debug port J6 other 2 ch serial port are regarded as common RS232 port or RS485 This test program only aims...

Page 19: ...ed to use 2 ch serial port on PC 1 1 ch is used for connecting the debugging serial port it is used for interaction 2 1 ch is to connect to the serial port which is under test it is used for the date...

Page 20: ...upports qiyangtech com Page 20 of 66 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright picture 1 Input telent 192 168 1 71 in running window...

Page 21: ...s E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright According to the relation between serial port and hardware select the serial port which needs...

Page 22: ...es E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright If it hints as follows picture 2 It means defaulted COM on the PC is occupied by terminal clo...

Page 23: ...tech com Website http www qiytech com 2014 Qiyangtech Copyright number on PC here it is COM3 Baud Rate is 115200 Data Bit 8 Stop Bit 1 Parity Bit NONE After the serial port is connected and set well t...

Page 24: ...Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright You can receive the date after running serial assistant tool Click Send Ev on serial assi...

Page 25: ...ports Device Node dev ttymxc3 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 Options Device Drivers Character devices Seria...

Page 26: ...rnel configuration options are selected or not 2 6 SPI Test Test Principle There is 1 ch SPI on IAC I MX6 KIT mainboard connect to nor flash N25Q032 chipset and ADS7846 chipset which can be exchanged...

Page 27: ...t umount mnt 5 Partition 1 operation process follows above steps Device Node dev mtd0 dev mtd1 dev mtdblock0 dev mtdblock1 Driver Code linux 3 0 101 drivers mtd devices m25p80 c The Kernel Options Dev...

Page 28: ...ctory 2 Whether the kernel configuration option is selected 2 7 CAN Test Test Principle IAC IMX6 Kit mainboard has 2 ch CAN here we provide the CAN testing method use CAN tool to test can0 H L Pin1 Pi...

Page 29: ...com 2014 Qiyangtech Copyright 3 Use CAN test program to test can_test Illustration can_test device 0 set CAN to receive data can_test device 1 set CAN to transmit date Here we take the CAN on the mai...

Page 30: ...ansmitting CAN data which sent from the mainboard 2 Then exchange them to test take the CAN on mainboard 2 as receiving terminal take the CAN on mainboard1 as transmitting terminal The test method is...

Page 31: ...ual Local CAN Interface vcan Platform CAN drivers with Netlink support CAN bit timing calculation Support for Freescale FLEXCAN based chips FAQ The Debug UART prints the following information read can...

Page 32: ...ease check whether the 2 CAN hardware connection is right 2 8 Audio Video Test IAC IMX6 Kit mianboard supports video display function by software decoding The file system provides GPLAY tool to suppor...

Page 33: ...ngtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright After executing we can see 1080P HD demo displaying on LCD displayer Video play format supports avi mp4 flv 3gp m...

Page 34: ...iyangtech com Website http www qiytech com 2014 Qiyangtech Copyright You will hear the MP3 music from the audio output interface GPLAY support mp2 mp3 m4a aac wav ogg amr audio formats GPLAY integrate...

Page 35: ...ebsite http www qiytech com 2014 Qiyangtech Copyright m Switch to mute or not Play next file Play previous file r Switch to repeated mode or not f Set full screen or not z resize the width and height...

Page 36: ...t from the audio port Audio Record Test Use microphone to connect J17 then input the following command in terminal for recording arecord d 10 D plughw 1 test wav It generates a test wav in terminal th...

Page 37: ...ess Result Network eth0 is J8 1 Connect J8 to Router Switcher by a network cable use another network cable to connect computer and Router Switcher ensure it could access the network 2 Set board networ...

Page 38: ...qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright 4 Test Internet input ping www baidu com I eth0 If it prints the below correct information please input Ctrl...

Page 39: ...external wifi module 3 1 ch integrate into miniPCIe port U19 4 2 ch J15 are as host port this test aims at host port Test Principle Mainboard USB HOST supports hot plug insert USB Flash Disk system wi...

Page 40: ...mple of USB Flash Disk which has only 1 partition 1 Insert USB Flash Disk to J15 Debug port prints the following information As the above picture shown it shows some information of USB Flash Disk USB...

Page 41: ...da4 4 Can test USB Flash Disk read write by creating copying and deleting file 5 Use the same method to test 2 Host USB ports after finishing test pull out USB Flash Disk print information as follows...

Page 42: ...slators USB OTG pin detect support FAQ After inserting USB Flash Disk without any print information or can recognize but shows read and write error it may because of USB Flash Disk damaged You can try...

Page 43: ...irectory files you can judge whether interface is normal or not Test Process Result The following test procedures will take example of SD card with only one partition If several partitions please use...

Page 44: ...SD card information directly ls media mmcblk1p1 It can test SD card read and write through creating copying deleting files Pull out the SD Card it prints information as shown Test Code Test Tool fdisk...

Page 45: ...information or can recognize but shows read and write error it may because of SD Card damage You can try again after formatting on PC and also you can change a SD Card to try testing again 2 After plu...

Page 46: ...qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright df Here we have mounted the hardware disk to media sda1 directory you can check the content from the hardware...

Page 47: ...lutions 1920x1080 and 1280x720 Powering on input in the u boot command line If using 1920x1080 resolution power on then input the following command in u boot command line set bootargs_mmc setenv boota...

Page 48: ...HDMI driver set resolution Booting development board video output is HDMI Test Process Result Connect HDMI cable to J23 on board Show output information on HDMI displayer users can modify the resoluti...

Page 49: ...output is HDMI System boots it shows penguin picture which kernel owns Test Process Result Connect LVDS cable to J9 onboard touch panel cable to J12 onboard backlight powering cable to J11 onboard Ple...

Page 50: ...his chapter 2 9 After executing you will see the demo with 1080P video on LCD or VGA 2 15 QT Test QY IMX6S mainboard standard configuration file system has 4 8 4 qt library this program will take you...

Page 51: ...http www qiytech com 2014 Qiyangtech Copyright If using touch panel operation please use ts_calibrate to calibrate the touch panel before running QT program After calibration then execute Imx6_qt_tes...

Page 52: ...nel Test Touch panel supports resistive touch panel and capacitive touch panel resistive touch panel pairs with LCD screen The capacitive touch panel pairs with LVDS screen The resolution must be same...

Page 53: ...istive touch panel please modify vi etc QtEnv Change event2 to event1 Take environment variables effect source etc QtEnv 2 Execute touch panel calibration program ts_calibrate ts_calibrate It shows th...

Page 54: ...Relative tool source CD Test Code tslib Driver Code linux 3 0 101 drivers input touchscreen ads7846 c The kernel options Device Drivers Input device support Touchscreens ADS7846 TSC2046 AD7873 and AD...

Page 55: ...st Principle The board supports OV5640 camera run command test camera The board has camera interface J25 We use the OV5640 camera Connect OV5640 to J25 Test Principle Result 1 J25 connect OV5640 2 Dis...

Page 56: ...elect Overlay Rounting Queue ipu device for overlay library Pre processor Encoder library IPU CSI Encoder library FAQ The debug UART prints following information gst launch v mfw_v4lsrc mfw_isink MFW_...

Page 57: ...please send E mail supports qiyangtech com Page 57 of 66 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright Whether kernel configuration opti...

Page 58: ...ght 2 18 3G 4G Test IAC IMX6 Kit U30 miniPCI 3G 3G u20 SIM7100CE SIM7600CE 3G 3G UC15 IAC I MX6 KIT brings U30 miniPCI interface It can connect to other 3G cards It supports module SIM7100CE SIM7600CE...

Page 59: ...uestion please send E mail supports qiyangtech com Page 59 of 66 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright successfully Visit Intern...

Page 60: ...ech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright 2 19 Wifi Test IAC I MX6 brings J14 connector or J15 connector to connect wifi the module supports RTL8188CUS Insert...

Page 61: ...mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright psk to the corresponding user name and password Input sync power on the board wait for seconds in...

Page 62: ...y question please send E mail supports qiyangtech com Page 62 of 66 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright If it shows the above...

Page 63: ...2 exists at same time Relation Chart Between RS485 and Hardware UART Hardware Location Device Node COM1 J6 A B TO Pin7 Pin8 dev ttymxc3 COM2 J6 A B TO Pin9 Pin10 dev ttymxc4 Test Principle Test progra...

Page 64: ...se setenv bootargs console ttymxc0 115200 imx6_feature rs485 2 saveenv boot 3 After system boots Board 1 as RS485 receiving end input usr test rs485_test dev ttymxc3 115200 0 4 Board 2 as RS485 transm...

Page 65: ...mail supports qiyangtech com Page 65 of 66 Sales E mail trade qiyangtech com sales qiyangtech com Website http www qiytech com 2014 Qiyangtech Copyright Test Summary IAC IMX6 Kit mainboard s function...

Page 66: ...iyangtech com Website http www qiytech com 2014 Qiyangtech Copyright Zhejiang Qiyang Intelligent Technology Co Ltd Tel 86 571 87858811 87858822 Fax 86 571 89935912 Technology Support 86 571 89935913 E...

Reviews: