background image

Chapter

3

3

Software Functionality

This chapter details the Linux 
operating system on the RSB-
4410 platform.

Summary of Contents for RSB-4410

Page 1: ...User Manual RSB 4410 3 5 SBC with Freescale i MX6 Dual Processor ARM Cortex A9 Architecture...

Page 2: ...no 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 rep...

Page 3: ...ser is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver Conn...

Page 4: ...Number Description RSB 4410CD MDA1E Freescale i MX6 Cortex A9 Dual core single board Model Number Description 1960051438N001 Heatsink 1757003553 Adaptor 100 240V 36W 12V 3A W O PFC 9NA0361603 17020318...

Page 5: ...adiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Opera tion of this device in a residential...

Page 6: ...RSB 4410 User Manual vi...

Page 7: ...Power Jack 12 Figure 2 9 HDMI 13 Figure 2 10USB Internal Pin Header 13 Figure 2 11UART Pin Header 14 Figure 2 12VGA Connector 14 Figure 2 13Reset Button 15 Figure 2 14IR Pin Header 15 Figure 2 15SD S...

Page 8: ...nel Configuration 35 Figure 3 2 Selecting Seiko Instruments S 35390A 36 3 5 2 Chang RSB 4410 Boot Logo 37 3 6 Create a Linux System Boot Media 37 3 6 1 Create a Linux System SD Card 37 3 6 2 Boot from...

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

Page 10: ...rs to develop their applications and products easily without considering system integration 1 2 Specifications 1 2 1 Functional Specifications Processor Freescale i mx6 Series ARM Cortex A9 high perfo...

Page 11: ...midity 60 C 95 RH Non condensing 1 4 Block Diagram RS232 Port ECSPI 1 Flash boot VGA PCT_PCT25 I2S I2S Audio DAC FSC STGL5000 Line IN USB 0 CY7C65630 SD Port 4 Watchdog TI_MAX3232IPW CH7055A VGA USB P...

Page 12: ...RSB 4410 User Manual 4...

Page 13: ...tup procedures of the RSB 4410 hardware including jumper setting and device integration It also introduces the setting of switches indicators and also shows the mechanical drawings Be sure to read all...

Page 14: ...and 3 In this case you would connect either pins 1 and 2 or 2 and 3 The jumper settings are schematically depicted in this manual as follows A pair of needle nose pliers may be helpful when working wi...

Page 15: ...02TB 29 SMD 4P SPST P 1 27mm W 5 4mm Setting Function 1 ON 2 OFF Boot from SD 1 OFF 2 ON Boot from SPI J2 LVDS Power Part Number 1653003100 Footprint HD_3x1P_100_D Description PIN HEADER 3x1P 2 54mm 1...

Page 16: ...N 1960047454N000 for WiFi card fixing BAT1 RTC battery CN3 MiniPCIe CN4 SIM socket CN5 UART1 debug port CN6 USB Type A Connector CN7 JTAG CN8 Ethernet Connector CN9 Audio phone jack CN10 DC power jack...

Page 17: ...GND 19 Reserved UIM_C4 20 W_DISABLE 21 GND 22 PERST 23 PERn0 24 3 3Vaux 25 PERp0 26 GND 27 GND 28 1 5V 29 GND 30 SMB_CLK 31 PETn0 32 SMB_DATA 33 PETp0 34 GND 35 GND 36 USB_D 37 GND 38 USB_D 39 3 3VAU...

Page 18: ...t server Windows or Linux by using serial cables Figure 2 3 Debug Port 2 2 2 5 USB Type A Connector CN6 RSB 4410 supports one standard USB2 0 Type A connector in the coastline Figure 2 4 USB Type A Co...

Page 19: ...802 3u 10 100 1000 Base T CSMA CD standards The Ethernet port provides stan dard RJ 45 jack connector with LED indicators on the front side to show Active Link status and Speed status Figure 2 6 Ethe...

Page 20: ...DMI interface connector which provides all digital audio video interfaces to transmit the uncompressed audio video signals and is HDCP and CEC compliant Connect the HDMI audio video device to this por...

Page 21: ...headers Figure 2 10 USB Internal Pin Header 2 2 2 12 Power Input Pin Header CN13 RSB 4410 also provides internal 12V Power input pin header 12 HDMI_CLK 13 HDMI_CEC_A 14 GND 15 DDC_CLK_HDMI_A 16 DDC_DA...

Page 22: ...Pin Header 2 2 2 14 VGA Connector CRT1 RSB 4410 provides standard VGA connector VGA resolution supports up to 1920x1080 Figure 2 12 VGA Connector Pin Description 1 COM3_RX 2 COM4_RX 3 COM3_TX 4 COM4_T...

Page 23: ...IR pin header for customer enabling IR remote control function Customer can connect with a IR receiver cable and define remote behavier by soft ware setting Figure 2 14 IR Pin Header 2 2 2 17 SD Slot...

Page 24: ...single channel 18 24 bit LVDS panel up to 1920x1080 Please also refer to jumper setting in page 10 before connecting LVDS panel Pin Description Pin Description 1 N C 2 COM2_RXD 3 COM2_TXD 4 N C 5 GND...

Page 25: ...ure 2 17 LVDS Connector 2 2 2 20 LVDS Inverter Power Connector Please also refer to jumper setting in page 10 before connecting LVDS panel Figure 2 18 LVDS Inverter Power Connector Pin Description 1 V...

Page 26: ...tor Locations Figure 2 19 Jumper and Connector Layout Top side Figure 2 20 Jumper and Connector Layout Bottom Side Figure 2 21 Coastline Layout LVDS Backlight JATG IR UART Power in Debug Port DC in Re...

Page 27: ...5 50 14 30 41 65 65 11 64 90 89 16 109 32 141 95 146 00 119 56 127 89 7 11 128 75 2 27 23 59 15 37 2 50 3 90 3 60 12 54 18 98 10 07 8 86 2 70 23 59 54 81 84 05 86 74 81 92 72 52 78 44 93 85 91 46 93 6...

Page 28: ...n programs such as HyperTerminal Tera Term or PuTTY can be used in this case The example as below describes the serial termi nal setup using HyperTerminal on a Windows host 1 Connect RSB 4410 with you...

Page 29: ...25118 1 0 records in 1 0 records out hexdump C dev mmcblk0 s 25720832 n 16 01887800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3 Write and check echo n 0123456789ABCDEF dd of dev mmcblk0 bs 1024...

Page 30: ...multiple display such as dual LVDS VGA and HDMI output you should set parameter in uboot first Please refer to section 3 7 5 3 for more detail Once the display method is set up please follow below ins...

Page 31: ...send ATDT 99 M expect CONNECT AT M M OK M ATDT 99 M M CONNECT got it The command used to test WIFI module is as following the supported module P N is EWM W142F01E ifconfig wlan0 up iwlist wlan0 scann...

Page 32: ...ects the scene surrounding it tutorial3_es20 2 5 8 LAN Test RSB 4410 sets DHCP as defaul network portocal ifconfig eth0 Link encap Ethernet HWaddr 00 04 9F 01 30 E0 inet addr 172 17 21 96 Bcast 172 17...

Page 33: ...response from the client ping 172 17 20 192 PING 172 17 20 192 172 17 20 192 56 data bytes 64 bytes from 172 17 20 192 seq 0 ttl 128 time 7 417 ms 64 bytes from 172 17 20 192 seq 1 ttl 128 time 0 203...

Page 34: ...e the wdt test 0 Service wdt with ioctl 1 with write 2 Please try below command to set timeout as 10 seconds system will reboot after then unit_tests wdt_driver_test out 10 5 0 Starting wdt_driver tim...

Page 35: ...27 RSB 4410 User Manual Chapter 2 H W Installation Then you can see the photo demo on the default display screen...

Page 36: ...RSB 4410 User Manual 28...

Page 37: ...Chapter 3 3 Software Functionality This chapter details the Linux operating system on the RSB 4410 platform...

Page 38: ...u 10 04 LTS installed to your host PC before start RSB 4410 evaluation development 3 2 Package Content We would offer you two different kinds of Linux package for RSB 4410 One is pre built system imag...

Page 39: ...Hierarchical File System HFS image rootfs is the Linux file system in highest level of the tree structure The main folders in rootfs are listed as follows bin Common programs shared by the system the...

Page 40: ...test tools are provided by Freescale i MX6 product usr Programs libraries documentation etc for all user related pro grams var Storage for all variable files and temporary files created by users such...

Page 41: ...080 tgz Unzip file Advantech offer you a script to setup the developing environment quickly You can refer following steps to setup your developing environment 1 Open Terminal on Ubuntu 10 04 LTS 2 sud...

Page 42: ...t and located in image 3 4 2 Build Linux Kernel Image Advantech offer you a script to build the uImage quickly You can build uImage by follow below steps 1 Open Terminal on Ubuntu 10 04 LTS 2 sudo su...

Page 43: ...l by menuconfig Here is an example to guide you how to add a RTC driver Seiko Instruments S 35390A to Linux kernel Please refer to the following steps 1 Open Terminal on Ubuntu 10 04 LTS 2 sudo su Cha...

Page 44: ...35 arch arm mach mx6 edit the board mx6q_rsb4410 h and board mx6q_advantech c Please add below codes to source linux 3 0 35 arch arm mach mx6 board mx6q_rsb4410 h static struct i2c_board_info mxc_i2c0...

Page 45: ...fer Chapter 3 3 1 to rebuild the kernel with your own boot logo 3 6 Create a Linux System Boot Media RSB 4410 supports boot from SD card and onboard flash This section will guide you how to build a im...

Page 46: ...y Start to copy files wait until it shows Done 7 Power off and remove this SD card Then you can boot from onboard flash without SD card 3 7 Debug Message RSB 4410 can connect to a host PC Linux or Wi...

Page 47: ...e work directory 9 gedit helloworld c Create a new C source file Edit the helloworld c with the following source code include stdio h void main printf Hello World n 10 Save the file and exit 11 CC o h...

Page 48: ...he actual timeout was set to d seconds n timeout ioctl fd WDIOC_GETTIMEOUT timeout printf Now reading back The timeout is d seconds n timeout while 1 printf WDT Time out counter d n count if test 0 te...

Page 49: ...parameters The LVDS video mode database is stored in linux 3 0 35 drivers video mxc ldb c You can add a new one for your LVDS panel static struct fb_videomode ldb_modedb LDB XGA 60 1024 768 15385 220...

Page 50: ...root dev mmcblk1p1 rootwait rw video mxcfb0 dev ldb 1920x1080M 60 if RGB24 3 8 4 3 Multi Display Settings When you want to display dual LVDS VGA and HDMI output please set parameter in U boot as foll...

Page 51: ...th0 You can use them to assign a second address To delete an alias interface use ifconfig eth0 0 down Note for every scope i e same net with address netmask combination all aliases are deleted if you...

Page 52: ...erdns defaultroute 3 8 8 IR remote control To get lirc 0 9 0 tar bz2 from www lirc com and place it to home directory To change working directory to BSP s sub directory scripts and import relevant env...

Page 53: ...og irexec config echo KEY_3 end begin remote IR_CONTROL button KEY_4 prog irexec config echo KEY_4 end begin remote IR_CONTROL button KEY_5 prog irexec config echo KEY_5 end begin remote IR_CONTROL bu...

Page 54: ...nd begin remote IR_CONTROL button KEY_B prog irexec config echo KEY_B end begin remote IR_CONTROL button KEY_C prog irexec config echo KEY_C end begin remote IR_CONTROL button KEY_D prog irexec config...

Page 55: ...To follow procedures described in chapter 3 6 to create new system SD card To make sure IR receiver is connected booting from the SD card and test IR func tion by lircd d dev lirc irexec etc lircrc W...

Page 56: ...RSB 4410 User Manual 48...

Page 57: ...Chapter 4 4 System Recovery This chapter introduces how to recover Linux operating system if it is damaged accidentally...

Page 58: ...ocation like dev sdf 6 Change directory to BSP s scripts folder 7 mksd linux sh dev sdf 8 Type y Start to copy files wait until it shows Done 9 Connect console cable to debug port CN1 and open serial...

Page 59: ...Chapter 5 5 Advantech Services This chapter introduces Advan tech design in serviceability tech nical support and warranty policy for RSB 4410...

Page 60: ...l application some customers encounter difficult problems dealing with platform design in general and communicating with CPU or chipset manufacturers thereby increasing carrier board design difficulti...

Page 61: ...C COM Design stage When a product moves into the design stage Advantech will supply a design guide of the carrier board for reference The carrier board design guide provides pin defini tions of the CO...

Page 62: ...al consulting services about further testing and equipment usage so customers can find the right tools to efficiently identify and solve problems to further enhance their products quality and performa...

Page 63: ...NTECH repair facility will be at the customers expense The shipping fee for reconstructive products from ADVANTECH back to customers sites will be at ADVANTECH s expense 5 3 1 3 Exclusions from Warran...

Page 64: ...ist to all shipments Please prepare a shipment invoice according to the following guide lines to decrease goods clearance time 1 Give a low value to the product on the invoice or additional charges wi...

Page 65: ...o forma invoice P I with the repair charges When you remit the funds please reference the P I number listed under Our Ref ADVANTECH reserves the right to deny repair services to customers that do not...

Page 66: ...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: