background image

Chapter

4

4

Android OS

This chapter introduces how to
build an Android system and 
development based our Android 
system.

Summary of Contents for RSB-6410

Page 1: ...User Manual RSB 6410 NXP ARM Cortex A9 i MX6 Dual Quad Mini ITX Motherboard...

Page 2: ...liability under the terms of this warranty as a consequence of such events Because of Advantech s high quality control standards and rigorous testing most of our customers never need to use our repair...

Page 3: ...e harmful interference in which case the user will be required to correct the interference at his own expense Packing List Before installation please ensure the following items have been shipped 1 x R...

Page 4: ...dual channel LVDS with up to 1920x1080 resolution 2 x 24bit single channel LVDS with up to 1366x768 resolution option HDMI 1920 x 1080 VGA 1920 x 1080 USB 6 6 Giga LAN 1 1 I2C 3 3 GPIO 20 20 RS232 4...

Page 5: ...not used for a long time disconnect it from the power source to avoid damage by transient overvoltage 12 Never pour any liquid into an opening This may cause fire or electrical shock 13 Never open the...

Page 6: ...RSB 6410 Android User Manual vi...

Page 7: ...mper and Connector Locations 31 2 4 2 Board Dimensions 33 2 5 Quick Start of RSB 6410 34 2 5 1 Debug Port Connection 34 2 5 2 Debug Port setting 34 Figure 2 1 Hyper Terminal Settings for Terminal Setu...

Page 8: ...SD card 51 4 6 3 Transfer the whole system to onboard eMMC 52 4 7 Customization 52 4 7 1 Config Android Kernel 52 4 7 2 Put source code to system 53 4 8 Serial Port Test 54 4 8 1 Setup Serial Port 54...

Page 9: ...Chapter 1 1 General Introduction This chapter gives background information on the RSB 6410 Sections include Introduction Specifications...

Page 10: ...the BSP to help customers build their own applications RSB 6410 is not only the best hardware solution for the industrial market but also be flexible enough to be applied to various applications such...

Page 11: ...ernel V3 0 35 Linux Yocto1 7 Kernel V3 14 28 Dimensions W x L x T 170 x 170mm x 1 6mm Power DC In 12V DC In Environment Operational Temperature 0 60 C Operating Humidity 5 95 relative humidity non con...

Page 12: ...RSB 6410 Android User Manual 4...

Page 13: ...Chapter 2 2 H W Installation This chapter gives mechanical and connector information on the RSB 6410 Sections include Jumper Information Connector Information Mechanical Drawing Quick Start Guide...

Page 14: ...s may be helpful when working with jumpers If you have any doubts about the best hardware configuration for your application contact your local distributor or sales representative before you make any...

Page 15: ...on PIN HEADER 3x1P 2 0mm 180D M DIP 2000 13 WS Setting Function 1 2 5V for GPIO level 2 3 3 3V for GPIO level default J2 AT ATX mode select Part number 1653003101 Footprint HD_3x1P_79_D Description PI...

Page 16: ...6 COM3 RS232 and RS485mode detect Part Number 1653003101 Footprint HD_3x1P_79_D Description PIN HEADER 3x1P 2 0mm 180D M DIP 2000 13 WS Setting function 1 2 RS232 mode default 2 3 RS485 mode JSETCCOM1...

Page 17: ...ct Part Number 1653003201 01 Footprint HD_3x2P_79_D_PRX Description PIN HEADER 2X3P 2 00mm 180D M DIP 1140 010 06SN Setting Function 1 3 2 4 Impedance on default 3 5 4 6 Impedance off J485t1 COM3 RS 4...

Page 18: ...2P 2 00mm 180D M DIP 1140 000 02SN Setting Function 1 2 Impedance On default CN9 COM5 Power select Part Number 1653003101 Footprint HD_3x1P_79_D Description PIN HEADER 3x1P 2 0mm 180D M DIP 2000 13 WS...

Page 19: ...power Part Number 1653002100 1653003100 Footprint HD_2x1P_100_D HD_3x1P_100_D Description PIN HEADER 2x1P 2 54mm 180D M DIP 21N12564 PIN HEADER 3x1P 2 54mm 180D M DIP 1130 000 03Sc Setting Function C...

Page 20: ...M3 UART3 COM port Pin Connector COM1 UART4 UART5 COM port Pin Connector CN6 CAN Connector CN14 SATA CN15 SATA POWER CN19 I2C1 CN24 I2C2 CN16 I2C3 CN28B CN28C USB Type A Connector CN29 USB Type A Conne...

Page 21: ..._PCIe 7 3 3V_PCIe 8 UIM_PWR 9 GND 10 UIM_DATA 11 NC 12 UIM_CLK 13 NC 14 UIM_RESET 15 GND 16 NC 17 NC 18 GND 19 NC 20 W_DISABLE 21 GND 22 PCIE_DIS_B 23 NC 24 3 3V_PCIe 25 NC 26 GND 27 GND 28 1 5V_PCIe...

Page 22: ...3 USB_P8L_P 4 3 3V_M2 5 USB_P8L_N 6 WLAN_LED 7 GND 8 NC 9 M2_SD1_CLK 10 NC 11 M2_SD1_CMD 12 NC 13 M2_SD1_DAT0 14 NC 15 M2_SD1_DAT1 16 BT_LED 17 M2_SD1_DAT2 18 GND 19 M2_SD1_DAT3 20 NC 21 M2_SDIO_WAKE...

Page 23: ...er 2 H W Installation M 2 CONNECTOR 47 NC 48 NC 49 NC 50 SUS_CLK 51 GND 52 NC 53 NC 54 W_DISABLE2 55 NC 56 W_DISABLE1 57 GND 58 NC 59 NC 60 NC 61 NC 62 NC 63 GND 64 NC 65 NC 66 NC 67 NC 68 NC 69 GND 7...

Page 24: ...pin connector for GPIO supports 3 3V level 5V level V_GPIO GPIO pin header Pin Description 1 GPIO0 2 GPIO10 3 GPIO1 4 GPIO11 5 GPIO2 6 GPIO12 7 GPIO3 8 GPIO13 9 GPIO4 10 GPIO14 11 GPIO5 12 GPIO15 13...

Page 25: ...st server Windows or Linux by using debug cable Advantech number 1700021565 11 COM port 2 2 3 UART2 COM port COM2 RSB 6410 provides a standard DB9 connector supporting four wire RS232 COM port Pin Des...

Page 26: ...ART4 and UART5 COM port Pin Connector COM1 RSB 6410 provides a 7 x 2 pin connectors which contain 2 four wire COM ports RS232 level Pin Description 1 COM3_DCD RS485 D 2 COM3_RX RS485 D 3 COM3_TX 4 COM...

Page 27: ...ORT Pin Connector CN6 RSB 6410 provides a 1 x 4 pin connector for CAN port CAN port Connector 2 2 3 4 SATA PORT Pin Connector CN14 RSB 6410 provides one standard SATA CONN SATA port Connector Pin Desc...

Page 28: ...es a 4 pin power connector for SATA devices SATA Power Connector 2 2 3 6 I2C1 Pin Connector CN19 RSB 6410 provides a 5 pin wafer box power connector for I2C interface I2C1 Connector Pin Description 1...

Page 29: ...des a 5 pin wafer box connector for I2C2 interface I2C2 Connector 2 2 3 8 I2C3 Pin Connector CN16 RSB 6410 provides a 5 pin wafer box connector for I2C3 interface I2C3 Connector Pin Description 1 3 3V...

Page 30: ...B 2 0 Type A connector in the coastline via CN29 Pin Description 15 5V_USB_P56_B 16 USB_P6L_N 17 USB_P6L_P 18 USBV56_GND 19 5V_USB_P56_B 20 USB_P5L_N 21 USB_P5L_P 22 USBV56_GND Pin Description A1 5V_U...

Page 31: ...apter 2 H W Installation USB port connector 2 2 3 11 JTAG CN11 JTAG connector is used for internal debugging only JTAG Pin header Pin Description 1 3 3V 2 GND 3 JTAG_TCK_R 4 NC 5 JTAG_TMS 6 NC 7 JTAG_...

Page 32: ...IEEE 802 u 10 base t IEEE 802 3 The Ethernet ports provide standard RJ 45 jack connector with LED indicators on the front side to show active link status and speed status Ethernet Connector Pin Descri...

Page 33: ...LVDS or one port dual channel 24 bit LVDS To avoid to damaging the LCD panel please make sure set the right voltage level before powering on while connecting an LVDS panel refer to jumper setting desc...

Page 34: ...LVDS1_TX1_P 17 GND 18 GND 19 LVDS0_TX2_N 20 LVDS1_TX2_N 21 LVDS0_TX2_P 22 LVDS1_TX2_P 23 GND 24 GND 25 LVDS0_CLK_N 26 LVDS1_CLK_N 27 LVDS0_CLK_P 28 LVDS1_CLK_P 29 GND 30 GND 31 LVDS0_EDID_SCL 32 LVDS...

Page 35: ...umper setting descrip tion for CN2 and the LCD datasheet that you will use LVDS Inverter Power Connector 2 2 3 16 DC Jack DCIN1 RSB 6410 supports a DC Jack that can be connected to a 12V DC external p...

Page 36: ...rough front cable panel attachment 2 2 3 19 Reset Button CN3 RSB 6410 supports reset button by CN3 through front cable panel attachment 2 2 3 20 Amplifier Connector AMP1 RSB 6410 supports 6W Amplifier...

Page 37: ...0 supports 1 Line out and 1 Mic in 2 2 3 22 SIM Card Slot CN32 RSB 6410 reserves a SIM slot for 3G 4G module support Pin Description 1 GND 2 MIC 3 NC 4 NC 5 NV 22 HPOUT_L 23 lLINEOUT_DETECT 24 GND 25...

Page 38: ..._CRT 2 VGA_b_G 10 GND 3 VGA_b_B 11 NC 4 NC 12 VGA_b_DDC_DAT 5 GND 13 VGA_b_HSYNC 6 GND 14 VGA_b_VSYNC 7 GND 15 VGA_b_DDC_CLK 8 GND Pin Description Pin Description 1 HDMI_Z_TD2_P 11 GND 2 GND 12 HDMI_Z...

Page 39: ...nd Connector Locations Name Description D75 ATX_LED D3 PCIE Mini Card LED_WPAN D4 PCIE Mini Card LED_WLAN D5 PCIE Mini Card LED_WWAN Mini PCIE COM4 COM5 M5 GPIOs M 2 2 SATA SATA Power LVDS I2Cx3 CAN V...

Page 40: ...r Manual 32 JUMPER1 JUMPER1 CN26 J422T1 J485T1 CN27 CN17 CN18 CN4 CN3 J1 J2 CN1 CN7 CN11 CN14 CN15 CN5 COM1 CN10 JUMPER1 CN9 CN13 LVDS1 I2C x3 CN23 CN21 CN25 CN20 AMP1 CN30 CN39 CN28 COM3 CN31 COM4 HD...

Page 41: ...33 RSB 6410 Android User Manual Chapter 2 H W Installation 2 4 2 Board Dimensions 2 4 2 1 Board Drawing unit mm...

Page 42: ...ms such as HyperTerminal Tera Term or PuTTY can be used in this case The example as below describes the serial terminal setup using HyperTerminal on a Windows host 1 Connect RSB 6410 with your PC by u...

Page 43: ...Chapter 3 3 Software Functionality This chapter details the software programs on the RSB 6410 plat form...

Page 44: ...00 00 00 echo n 0123456789ABCDEF dd of dev block mmcblk0 bs 1024 count 1 seek 1 0 1 records in 0 1 records out busybox hexdump C dev block mmcblk0 s 1024 n 16 00000400 30 31 32 33 34 35 36 37 38 39 41...

Page 45: ...blk0p3 dev block mmcblk0p4 dev block mmcblk0p5 dev block mmcblk0p6 dev block mmcblk0p7 dev block mmcblk0p8 ls dev block mmcblk dev block mmcblk0 dev block mmcblk0boot0 dev block mmcblk0boot1 dev block...

Page 46: ...efault direction GPIO0 gpio2 in GPIO1 gpio3 in GPIO2 gpio4 in GPIO3 gpio 5 in GPIO4 gpio6 in GPIO5 gpio7 in GPIO6 gpio8 in GPIO7 gpio9 in GPIO8 gpio10 in GPIO9 gpio11 in GPIO10 gpio12 out GPIO11 gpio1...

Page 47: ...ive the same data from gpio2 3 6 I2C Test There is one I2C buses in RSB 6410 Please try below command to know if there is any device connected to i2c bus 1 cat gpio2 value 1 ls sys class i2c dev i2c 0...

Page 48: ...ff ff b0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff d0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff e0 ff ff ff ff ff ff ff ff ff ff ff ff ff...

Page 49: ...ig eth0 eth0 Link encap Ethernet HWaddr 00 04 9F 01 30 E0 inet addr 192 168 0 10 Bcast 192 168 0 255 Mask 255 255 255 0 UP BROADCAST RUNNING MULTICAST MTU 1500 Metric 1 RX packets 0 errors 0 dropped 0...

Page 50: ...S232 Test Pass Note Only UART2 supports RSB232 RSB422 RSB485 test rsb232 mode please jump rsb232 mode you can refer to detailed jump information from the 2 1 2 Jumper List AutoRun_uart422 p dev ttymxc...

Page 51: ...video mxcfb1 off video mxcfb2 off video mxcfb3 off fbmem 28M 28M androidboot hardware freescale pcie_testmode off 2 VGA out please set in u boot as below setenv bootargs console ttymxc0 115200 android...

Page 52: ...080M 60 bpp 32 video mxcfb2 off video mxcfb3 off fbmem 28M 28M androidboot hardware freescale pcie_testmode off 2 LVDS Single Channel 15inch 2pieces clone out please set in u boot as below setenv boot...

Page 53: ...ldb spl0 video mxcfb1 dev hdmi 1920x1080M 60 bpp 32 video mxcfb2 off video mxcfb3 off fbmem 28M 28M androidboot hardware freescale pcie_testmode off 7 LVDS Single Channel 7inch and HDMI clone out ple...

Page 54: ...RSB 6410 Android User Manual 46...

Page 55: ...Chapter 4 4 Android OS This chapter introduces how to build an Android system and development based our Android system...

Page 56: ...pports booting from SD card so you can extract the image to an SD card then dump the image file to the onboard eMMC to complete system recovery Some fold ers and files aredescribed below image This fo...

Page 57: ...libgl1 mesa dev libgtk2 0 dev liblzo2 2 liblzo2 dev libncurses5 dev liborbit2 dev libtool libx11 dev libxml2 utils libxml2 dev m4 mingw32 patch python markdown rpm tcl uboot mkimage uuid uuid dev tof...

Page 58: ...Perform the following command root PcName mk_bootimg sh product name where product name is RSB 6410 for RSB 6410 board 3 Then you can get the android kernel image file named boot img under image folde...

Page 59: ...410 supports boot from SD card or onboard flash This section will guide you how to build an image for RSB 6410 Android system boot media 4 6 1 The storages devices name as following 4 6 2 Create a boo...

Page 60: ...scripts root PcName mkmmc android sh dev block mmcblk0 3 Remove the SD card then RSB 6410 can boot up from the onboard eMMC 4 7 Customization 4 7 1 Config Android Kernel 1 Open a terminal console and...

Page 61: ...ate a file Android mk at package directory the contents look like below LOCAL_PATH call my dir include CLEAR_VARS LOCAL_MODULE_TAGS optional LOCAL_SRC_FILES call all java files under src LOCAL_PACKAGE...

Page 62: ...RSB 6410 Android User Manual 54 4 8 Serial Port Test 4 8 1 Setup Serial Port 1 Click on the Serial Port 2 Click Setup...

Page 63: ...onsole Test 1 Using serial cable to connec t ttymxc1 with PC NB s serial port that should be configured to 115200 8N1 and opening serial terminal AP like minicom putty or teraterm 2 Click Console Afte...

Page 64: ...Plug loopback device into ttymxc1 2 Click Loopback The loopback test result will show up as below 4 8 4 Send01010101 Test 1 Use a serial cable to connect ttymxc1 with PC NB s serial port that should b...

Page 65: ...57 RSB 6410 Android User Manual Chapter 4 Android OS 4 9 Network Setup 4 9 1 Wi Fi 1 Click Settings 2 Turn Wi Fi on...

Page 66: ...RSB 6410 Android User Manual 58 3 Choose ESSID for example Advantech for guest Testing 4 Input correct password...

Page 67: ...59 RSB 6410 Android User Manual Chapter 4 Android OS 5 Wi Fi Authenticating Connecting Obtaining IP address 6 Wi Fi connected...

Page 68: ...RSB 6410 Android User Manual 60 4 9 2 Bluetooth 1 Click Settings switch the Bluetooth switch to ON to Turn on Bluetooth 2 Click Settings Bluetooth for bluetooth main interface...

Page 69: ...Chapter 4 Android OS 3 Click iMX6 to let RSB 6410 bluetooth be visible to other Bluetooth devices 4 Click any available devices to pair with it 5 After pairing successfully with another Bluetooth dev...

Page 70: ...connect to the network please check the following settings A Settings More Mobile networks Data enabled then Enabled B Settings More Mobile networks Access Point Names then Correct 4 9 4 Ethernet 1 Cl...

Page 71: ...RSB 6410 Android User Manual Chapter 4 Android OS 3 Choose Connection Type DHCP or Static IP 4 10 Can Test 1 Click Flexcan 2 Edit interface ID and Data then click Send to send data through the Can po...

Page 72: ...er the CanDump area 4 11 System Update 1 Refer to section 4 4 5 to build OTA package 2 Insert your u disk 3 Click Settings About tablet Addition system updates Note Make sure your u disk is FAT32 and...

Page 73: ...hapter 4 Android OS 4 Wait for one moment system will reboot for updating 5 It will take some time to update 4 12 System Reset Factory data reset 1 Click settings backup reset then enter into main int...

Page 74: ...RSB 6410 Android User Manual 66 3 Click Reset to erase all data on the tablet 4 Click Erase everything 5 Wait for one moment system will reboot and erase all user data...

Page 75: ...er android_source _code device fsl RSB 6410 init rc find follow line Advantech Set watchdog timer to 30 seconds and pet it every 10 seconds to get a 20 seconds margin service watchdogd sbin watchdogd...

Page 76: ...RSB 6410 Android User Manual 68...

Page 77: ...Chapter 5 5 Advantech Services This chapter introduces Advan tech design in service technical support and warranty policy for RSB 6410...

Page 78: ...helps customers to easily develop their carrier board and differentiate their embed ded products and applications Full Range of RISC Product Offerings Comprehensive Document Support Design Assistance...

Page 79: ...possess the ability for vertical integration and have enough know how and core competitiveness in the application field the lack of expertise and experience in general power and I O design causes many...

Page 80: ...rt Package BSP for RISC COM so that cus tomers can define their product s specifications as well as verifying I O and performance at the same time We not only offer hardware planning and technology co...

Page 81: ...rob lems in the testing process and will give suggestions and tips as well Through an efficient verification process backed by our technical support customers are able to optimize their applications w...

Page 82: ...directly from ADVANTECH and the product is DOA Dead on Arrival The DOA Cross Shipment excludes any shipping damage cus tomized and or build to order products For those products which are not DOA the...

Page 83: ...is recommended to s end cards without accessories manuals cables etc Remove any unnecessary components from the card such as CPU DRAM and CF Card If you send all these parts back because you believe t...

Page 84: ...uch free repairs do not apply to products which have been misused abused or subjected to unauthorized disassembly modification placed in an unsuitable physical or operating environment improperly main...

Page 85: ...for RMA returns from ADVANTECH to customers is selected by ADVANTECH Per customer requirement other express services can be adopted such as UPS FedEx and etc The customer must bear the extra costs of...

Page 86: ...tions are subject to change without notice No part of this publication may be reproduced in any form or by any means electronic photocopying recording or otherwise without prior written permis sion of...

Reviews: