background image

38 

AO-IBR117

 

User’s Manual 

I. 

Ethernet Test 

Ethernet FTP test

#intall ftp 

sudo chmod 777 /home/root/testscript/ethernet/lftp_library/lftp 

sudo cp /home/root/testscript/ethernet/lftp_library/lftp /usr/bin/ 

sudo mkdir /usr/lib/lftp 

sudo mkdir /usr/lib/lftp/4.6.3a 

sudo cp /home/root/testscript/ethernet/lftp_library/*.so /usr/lib/lftp/4.6.3a 

sudo cp /home/root/testscript/ethernet/lftp_library/* /lib/ 

#lftp server 192.168.1.123 

lftp 192.168.1.123 <<EOF 

#upload data to server  192.168.1.123 

put data1 

#download data from server  192.168.1.123 

get data1 

#exit lftp  

bye 

Ethernet Ping test

#ping server 192.168.1.123  

ping -c 20 192.168.1.123 >/tmp/ethernet_ping.txt 

Ethernet TCP test

#server 192.168.1.123 run command  “iperf3 -s” 
#communicate with server 192.168.1.123 in tcp mode by iperf3 

iperf3 -c 192.168.1.123 -i 1 -t 20 -w 32M -P 4 

Ethernet UDP test

#server 192.168.1.123 run command  “iperf3 -s” 
#communicate with server 192.168.1.123 in udp mode by iperf3 

iperf3 -c $SERVER_IP -u -i 1 -b 200M 

Summary of Contents for AO-IBR117

Page 1: ...AO IBR117 3 5 ARM based SBC With NXP Cortex A9 Dual Core i MX6 User s Manual Version 1 1 June 2018 i Tech Company LLC TOLL FREE 888 483 2418 EMAIL info itechlcd com WEB www iTechLCD com...

Page 2: ...to the products described in this document without prior notice Every effort has been made to ensure the information in the document is correct however i TECH does not guarantee this document is error...

Page 3: ...urer s instructions may cause harmful interference to radio communications WEEE This product must not be disposed of as normal household waste in accordance with the EU directive of for waste electric...

Page 4: ...WARNING Attention during use Do not use this product near water Do not spill water or any other liquids on this product Do not place heavy objects on the top of this product Anti static precautions W...

Page 5: ...ND CUSTOMERS SHALL BE BILLED FOR REPAIR AND SHIPPING CHARGES Technical Support Services 1 Visit the i TECH website at www techlcd com to find the latest information about the product 2 If you need any...

Page 6: ...o Set Jumpers 11 2 3 Jumper Connector Locations on AO IBR117 12 2 4 Jumpers Quick Reference 13 2 4 1 LVDS Power Setting P16 13 2 4 2 LVDS Backlight Power Setting P15 14 2 5 Connectors Quick Reference...

Page 7: ...ide 28 4 1 Preparation 29 4 2 Installing Toolchain 29 4 3 Building U Boot 29 4 4 Building Kernel 29 4 5 Building RAMdisk Image Optional 30 4 6 Install Linux to SD Card 30 4 7 Booting with Your SD Card...

Page 8: ...viii AO IBR117 User s Manual This page is intentionally left blank...

Page 9: ...1 Chapter 1 General Information The information provided in this chapter includes Features Packing List Specifications Block Diagram Board Overview Board Dimensions...

Page 10: ...he wireless connectivity it supports M 2 Key E type 2230 for the M 2 module and mini PCIe module expansion that are well suited for industrial applications Photo of AO IBR117 1 2 Features NXP ARM Cort...

Page 11: ...nal accessories as follows Please contact us or your dealer if you need any RF WiFi BT Combo M 2 card 3G LTE Module Mini PCIe card Display 7 TFT LCD LVDS 15 1024 x 768 TFT LCD LVDS 21 TFT LCD LVDS Cab...

Page 12: ...30 fps MPEG 4 ASP H 264 HP MPEG 2 MP MJPEG BP Touch USB headers for CPT RTC AnalogTEK AT8565S Wireless WiFi BT 3G LTE module Optional Power Supply 12V DC In Watchdog Timer Yes 256 segments 0 1 2 128...

Page 13: ...e In Line Out Digital IO 8 In Out Expansion Slots 1 x M 2 E2230 with USB SDIO and UART 1 x Mini PCIe with USB only interrelated with the SIM socket 2 x CAN bus 6 pin header Environment Operating Tempe...

Page 14: ...e are for reference only Some minor components may differ I O View No Name No Name 1 USB OTG Port 5 USB 2 0 Ports 2 COM RS 232 422 485 Port 6 DC Jack 3 HDMI Port 7 Reset Button 4 GbE LAN Port 8 LED In...

Page 15: ...General Information AO IBR117 User s Manual 7 1 1 7 Dimensions Unit mm...

Page 16: ...8 AO IBR117 User s Manual AO IBR117 Reference Heat Sink...

Page 17: ...section provides information on jumper settings and connectors on the AO IBR117 in order to set up a workable system The topics covered are M 2 card Installation Jumper and connector locations Jumper...

Page 18: ...and M 2 cards perform the following steps 1 Locate the mini PCIe slot align the key of the mini PCIe card to the interface and insert the card slantwise Insert the M 2 card in the same way 2 Push the...

Page 19: ...pins with a non conductive base mounted on the circuit board Jumper caps are used to have the functions and features enabled or disabled If a jumper has 3 pins you can connect either PIN1 to PIN2 or P...

Page 20: ...12 AO IBR117 User s Manual 2 3 Jumper Connector Locations on AO IBR117 Board diagram of AO IBR117...

Page 21: ...117 User s Manual 13 2 2 4 Jumpers Quick Reference Function Jumper Name Page LVDS Power Setting P16 13 LVDS Backlight Power Setting P15 14 2 4 1 LVDS Power Setting P16 Function Pin closed Illustration...

Page 22: ...14 AO IBR117 User s Manual 2 4 2 LVDS Backlight Power Setting P15 Function Pin closed Illustration 3 3V default 1 2 1 2 5 6 5V 3 4 1 2 5 6 12V 5 6 1 2 5 6...

Page 23: ...19 LVDS Backlight Control Connector P9 19 Audio Line In Line Out Connector P14 20 USB Hub Connector P13 20 Digital I O GPIO Connector P18 21 SATA Power Connector P21 21 CAN Bus Connector P25 22 I2 C...

Page 24: ...2 422 485 Selection SW3 Panel Type A B C D RS 422 Full Duplex NC ON ON ON Pure RS232 3T 5R NC OFF ON ON RS 485 Half Duplex TX Low Active NC ON OFF ON RS 485 Half Duplex TX High Active NC OFF OFF ON RS...

Page 25: ...Assigment Pin Assigment 1 DCD Data carrier detect 6 DSR Data set ready 2 RXD Receive data 7 RTS Request to send 3 TXD Transmit data 8 CTS Clear to send 4 DTR Data terminal ready 9 NC 5 Ground Pin Ass...

Page 26: ...in Assigment Pin Assigment 1 LCD1_TX0_P 2 LCD1_TX0_N 3 Ground 4 Ground 5 LCD1_TX1_P 6 LCD1_TX1_N 7 Ground 8 LCD_VDD 9 LCD1_TX3_P 10 LCD1_TX3_N 11 LCD1_TX2_P 12 LCD1_TX2_N 13 Ground 14 Ground 15 LCD1_C...

Page 27: ...l 19 2 2 5 5 UART Connector P17 Pin Assigment Pin Assigment 1 UART2_TXD 4 UART3_TXD 2 UART2_RXD 5 UART3_RXD 3 Ground 6 Ground 2 5 6 LVDS Backlight Control Connector P9 Pin Assigment Pin Assigment 1 BK...

Page 28: ...ssigment Pin Assigment 1 NC 2 Ground 3 LINE_IN_R 4 Ground 5 LINE_IN_L 6 Ground 7 Ground 8 LINE_OUT_L 9 Ground 10 LINE_OUT_R 2 5 8 USB Hub Connector P13 Pin Assigment Pin Assigment 1 Ground 2 NC 3 USB1...

Page 29: ...Manual 21 2 2 5 9 Digital I O GPIO Connector P18 Pin Assigment Pin Assigment 1 3 3V 2 DIO5 3 DIO1 4 DIO6 5 DIO2 6 DIO7 7 DIO3 8 DIO8 9 DIO4 10 Ground 2 5 10 SATA Power Connector P21 Pin Assigment Pin...

Page 30: ...5 11 CAN Bus Connector P25 Pin Assigment Pin Assigment 1 CAN1_TXD 4 CAN2_TXD 2 CAN1_RXD 5 CAN2_RXD 3 Ground 6 Ground 2 5 12 I2 C Connector P26 Pin Assigment Pin Assigment 1 VCC 4 I2C3_SCL 2 TP_INT_B...

Page 31: ...23 Chapter 3 Software Setup This chapter introduces installation of the following drivers Make a recovery SD card for advanced users only Display parameter setting in kernel...

Page 32: ...ionally provides 7 15 21 5 LVDS panel and HDMI display for you to prepare the software application pre development easily under Linux platform 3 1 1 Preparing the Recovery SD Card to Install Linux And...

Page 33: ...Driver Installation AO IBR117 User s Manual 25 3 3 Copy the image to the directory mfgtools 2 3 Profiles Linux OS Firmware files AO IBR117 4 Select the script of mfgtools sdcard recovery...

Page 34: ...rade Firmware through the Recovery SD Card 1 Copy the image files what you want to upgrade to U disk AO IBR117 recovery 2 Insert the recovery SD card and U disk to the board for upgrade 3 Power up the...

Page 35: ...and below home root display_config config_displag_mode sh 1 2 If you use LVDS 7 to display run the command below home root display_config config_displag_mode sh 2 3 If you use LVDS 15 to display run t...

Page 36: ...or advanced software engineers only to build BSP source The topics covered in this chapter are as follows Preparation Installing Toolchain Building U Boot Building Kernel Building RAMdisk Image Option...

Page 37: ...s the AO IBR117 source file AO IBR117 tar xz into home folder 4 2 Installing Toolchain Decompress Toolchain poky tar into directory opt 4 3 Building U Boot cd home AO IBR117 cd AO IBR117 x11 tmp work...

Page 38: ...h dev sdd 20150814 111827 3 The appearance of the sentence SD card for booting create done indicates the installation is successfully done 4 Pull out the SD card 4 7 Booting with Your SD Card Insert S...

Page 39: ...31 Appendix This section provides the information of reference code...

Page 40: ...le 2 Input echo 32 sys class gpio export echo in sys class gpio gpio40 direction cat sys class gpio gpio40 value B How to Use Watchdog in Linux create fd int fd open watchdog device fd open dev watchd...

Page 41: ...file dd if dev urandom of tmp data1 bs 1024k count 10 write data to emmc dd if tmp data1 of MOUNT_POINT_STR data2 bs 1024k count 10 read data2 and compare with data1 cmp MOUNT_POINT_STR data2 tmp dat...

Page 42: ...being used Read write and check USB_DIR run media mmcblk1p1 create data file dd if dev urandom of var data1 bs 1024k count 100 write data to usb flash disk dd if var data1 of USB_DIR data2 bs 1024k c...

Page 43: ...ta stored the SD card Before starting the test make sure there is no critical data in the eMMC flash being used Read write and check SD_DIR run media mmcblk1 create data file dd if dev urandom of var...

Page 44: ...speed tcgetattr fd opt speed cfgetispeed opt set_parity options c_cflag options c_cflag CSIZE options c_cflag CSIZE options c_lflag ICANON ECHO ECHOE ISIG Input options c_oflag OPOST Output options c_...

Page 45: ...s c_cflag CSIZE options c_cflag CSIZE options c_lflag ICANON ECHO ECHOE ISIG Input options c_oflag OPOST Output options c_cc options c_cc VTIME 150 options c_cc VMIN 0 set parity tcsetattr fd TCSANOW...

Page 46: ...brary lib lftp server 192 168 1 123 lftp 192 168 1 123 EOF upload data to server 192 168 1 123 put data1 download data from server 192 168 1 123 get data1 exit lftp bye Ethernet Ping test ping server...

Page 47: ...e out the size of the screen in bytes screensize vinfo xres vinfo yres vinfo bits_per_pixel 8 Map the device to memory fbp char mmap 0 screensize PROT_READ PROT_WRITE MAP_SHARED framebuffer_fd 0 Figur...

Page 48: ...vinfo bits_per_pixel 8 Map the device to memory fbp char mmap 0 screensize PROT_READ PROT_WRITE MAP_SHARED framebuffer_fd 0 Figure out where in memory to put the pixel memset fbp 0x00 screensize draw...

Page 49: ...ing used Reading writing test HD_DIR run media mmcblk1p1 create data file dd if dev urandom of var data1 bs 1024k count 100 write data to hard disk dd if var data1 of HD_DIR data2 bs 1024k count 100 r...

Page 50: ...t gpio to 1 echo 1 sys class gpio gpio106 value set gpio to 1 echo 0 sys class gpio gpio106 value config gpio to in mode echo in sys class gpio gpio106 direction get gpio value ret0_0 cat sys class gp...

Page 51: ...tate Check UC20 module state and sim state cat dev ttyUSB2 Testing 3G the command will connect 3g to network make sure that the simcard is inserted right and ANT connected pppd call wcdma echo ping ww...

Page 52: ...Connector P9 TechBest 1024041008 Molex 51021 0400 Audio Line In Line Out Connector P14 E Call 0110 01 53101100 JCTC 11002H00 1P Well Lin 1010H USB Hub Connector P13 Hirose DF13E 10DP 1 25V Hirose DF1...

Reviews: