background image

BSP Source Guide

 

 

 

IBR117 

User’s Manual 

29 

 

 

4.1  Preparation 

The suggested Host platform is Ubuntu 12.04 and 14.04 in 32-bit and 64-bit 
versions. 

 

1. 

Install necessary packages before building: 

sudo apt-get install gawk wget Git-core diffstat unzip texinfo  

sudo apt-get install gcc-multilib build-essential chrpath socat 

sudo add-apt-repository ppa:git-core/ppa 

sudo apt-get update 

sudo apt-get install git 

sudo apt-get install texinfo 

 

2. 

Decompress the IBR117 source file 

ibr117.tar.xz

 into "/home/" folder. 

 
 

4.2  Installing Toolchain 

Decompress Toolchain 

poky.tar

 into directory "/opt". 

 
 

4.3  Building U-Boot 

 

cd /home/ibr117 

cd  ibr117-x11/tmp/work/imx6dlsabresd-poky-linux-gnueabi/u-boot-imx/2016.03-r0/git 

source /opt/poky/1.8/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 

make mx6dlsabresd_defconfig 

make 

 
 

4.4  Building Kernel 

 

cd /home/ibr117 

cd ibr117-x11/tmp/work/imx6dlsabresd-poky-linux-gnueabi/linux-imx/4.1.15-r0/git 

source /opt/poky/1.8/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 

make imx_v7_defconfig  

make zImage LOADADDR=0x10008000 

make imx6dl-sabresd.dtb 

 

Summary of Contents for IBR117

Page 1: ...IBR117 3 5 ARM based SBC With NXP Cortex A9 Dual Core i MX6 User s Manual Version 1 0 May 2018...

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 IBASE does not guarantee this document is error...

Page 3: ...rer 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 electrica...

Page 4: ...ARNING 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 Wea...

Page 5: ...ERS SHALL BE BILLED FOR REPAIR AND SHIPPING CHARGES Technical Support Services 1 Visit the IBASE website at www ibase com tw to find the latest information about the product 2 If you need any further...

Page 6: ...o Set Jumpers 11 2 3 Jumper Connector Locations on 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 15...

Page 7: ...e 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 3...

Page 8: ...viii 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: ...Dual LVDS for the 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 IBR117 1 2 Features...

Page 11: ...ccessories 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 Cable De...

Page 12: ...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 sec...

Page 13: ...Line Out Digital IO 8 In Out Expansion Slots 1 x M 2 E key 2230 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 Temp...

Page 14: ...Overview Top View The photos above 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 Re...

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

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

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

Page 18: ...nd NGFF 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...

Page 19: ...s 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 PIN2...

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

Page 21: ...17 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 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: ...9 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 Co...

Page 24: ...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 4...

Page 25: ...ssigment 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 Assig...

Page 26: ...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_CLK...

Page 27: ...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 BKL...

Page 28: ...sigment 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: ...anual 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 A...

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 5...

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: ...ly 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 Android...

Page 33: ...Driver Installation IBR117 User s Manual 25 3 3 Copy the image to the directory mfgtools 2 3 Profiles Linux OS Firmware files 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 IBR117 recovery 2 Insert the recovery SD card and U disk to the board for upgrade 3 Power up the bo...

Page 35: ...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 the...

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: ...compress the IBR117 source file ibr117 tar xz into home folder 4 2 Installing Toolchain Decompress Toolchain poky tar into directory opt 4 3 Building U Boot cd home ibr117 cd ibr117 x11 tmp work imx6d...

Page 38: ...d 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 SD card t...

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

Page 40: ...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 watchdog...

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 data...

Page 42: ...ing 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 coun...

Page 43: ...ored 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 data1...

Page 44: ...eed 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_cc...

Page 45: ...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 o...

Page 46: ...ary 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 19...

Page 47: ...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 Figure...

Page 48: ...info 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 p...

Page 49: ...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 read...

Page 50: ...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 gpi...

Page 51: ...call wcdma echo ping www baidu com to make sure the network ok ping www baidu com Testing 3G 3g sh testscript code make sure that the simcard is inserted right and ANT connected check_sim if 0 then e...

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 DF13...

Reviews: