background image

67

RSB-4411 User Manual

Chapter 5

A

dvantech

Services

Thermal Solution Services

In order to provide quicker and more flexible solutions for customer's thermal
designs. Advantech provides a thermal solution service including modularized ther-
mal solutions and customized thermal solutions.

Standard Thermal Solutions

Customized Thermal Solutions

Embedded Software Services

Supports driver, software integration or customized firmware, root file-system and
Linux image. Customer can save lot of time and focus on their core development.  

Embedded Linux/ Android OS

Advantech boot loader Customization

With the spread of industrial computing, a whole range of new applications have
been developed, resulting in a fundamental change in the IPC industry. In the past
System Integrators (SI) were used to completing projects without outside assistance
but now such working models have moved on. Due to diverse market demands and
intense competition, cooperation for (both upstream and downstream) vertical inte-
gration has become a much more effective way to create competitive advantages. As
a result, ARM-based CPU modules were born out of this trend. Concentrating all nec-
essary components on the CPU module and placing other parts on the carrier board
in response to market requirements for specialization, provides greater flexibility
while retaining its low power consumption credentials.
Advantech has been involved in the industrial computer industry for many years and
found that customers usually have the following questions when implementing modu-
lar designs.

General I/O design capability

Although customers possess the ability for vertical integration and have enough
know-how and core competitiveness in the professional application field, the lack of
expertise and experience in general power and I/O design causes many challenges
for them, especially integrating CPU modules into their carrier board.

The acquisition of information

Even if the individual client is able to obtain sufficient information to make the right
decision for the specialized vertical application, some customers encounter difficult
problems dealing with platform design in general and communicating with CPU or
chipset manufacturers, thereby increasing carrier board design difficulties and risk as
well as seriously impacting on Time-to-market and lost market opportunities.

Software development and modification

Compared to x86 architectures, RISC architectures use simpler instruction sets,
therefore the software support for x86 platforms cannot be used on RISC platforms.
System integrators need to develop software for their system and do the hardware
and software integration themselves. Unlike x86 platforms, RISC platforms have less
support for Board Support Packages (BSP) and drivers as well. Even though driver
support is provided, SI still have to make a lot of effort to integrate it into the system
core. Moreover, the BSP provided by CPU manufacturers are usually for carrier
board design, so it’s difficult for SI to have an environment for software development.
In view of this, Advantech proposed the concept of Streamlined Design-in Support
Services for RISC-based Computer On Modules (COM). With a dedicated profes-

Содержание RSB-4411

Страница 1: ... ftp emacinc com Tech_Info About_EMAC_Products_and_Services pdf Authorized Distributor Integrator and Value Added Reseller Manual downloaded from ftp emacinc com For purchase information please contact info emacinc com For technical support please submit a ticket at www emacinc com support ...

Страница 2: ...User Manual RSB 4411 3 5 SBC with NXP i MX6 Processor ARM Cortex A9 Architecture ...

Страница 3: ...tion Advantech assumes 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 repair service If an Advantech product is defec tive it will be repaired or replaced at no charge during the warranty period For out of warranty repairs you will be billed accordin...

Страница 4: ...ase the user will be required to correct the interference at his own expense FCC Class B Note This equipment has been tested and found to comply with the limits for a Class B digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installa tion This equipment generates uses and can radiate radio fr...

Страница 5: ...ing improvements to this manual we would welcome comments and constructive criticism Please send all such in writing to support advan tech com Packing List Before setting up the system check that the items listed below are included and in good condition If any item does not accord with the table please contact your dealer immediately Item XXXXXXXX Box XXXXXXXXX Warning Warnings indicate conditions...

Страница 6: ...our any liquid into an opening This may cause fire or electrical shock 13 Never open the equipment For safety reasons the equipment should be opened only by qualified service personnel 14 If one of the following situations arises get the equipment checked by service personnel The power cord or plug is damaged Liquid has penetrated into the equipment The equipment has been exposed to moisture The e...

Страница 7: ...amage To avoid electrical shock always disconnect the power from your PC chassis before you work on it Don t touch any components on the CPU card or other cards while the PC is on Disconnect power before making any configuration changes The sudden rush of power as you connect a jumper or install a card may damage sensitive elec tronic components ...

Страница 8: ...gure 2 8 LVDS Connector 13 Figure 2 9 LVDS Backlight Power Connector 14 Figure 2 10SATA Connector 14 Figure 2 11SATA Power Connector 15 Figure 2 12Debug Port 15 Figure 2 13USB Internal Pin Header 15 Figure 2 14USB Internal Pin Header 16 Figure 2 15MIC in Internal Pin Header 16 Figure 2 16Line our Internal Pin Header 16 Figure 2 17UART Pin Header 17 Figure 2 18GPIO Internal Pin Header 18 Figure 2 1...

Страница 9: ...rom built sdcard image 52 3 4 Customization 53 3 4 1 Package addition 53 3 4 2 Setting up SDK 53 3 4 3 Setting up cross compiling environment 53 3 4 4 Building updating u boot manually 53 3 4 5 Configure u boot 54 3 4 6 Start building u boot 54 3 4 7 To update u boot to target device 54 3 4 8 Building updating kernel modules dtb manually 54 3 4 9 Configure linux kernel 54 3 4 10 Start building lin...

Страница 10: ...ix RSB 4411 User Manual Chapter 5 Advantech Services 65 5 1 RISC Design in Services 66 5 2 Contact Information 69 5 3 Technical Support and Assistance 70 ...

Страница 11: ...RSB 4411 User Manual x ...

Страница 12: ...Chapter 1 1 General Introduction ...

Страница 13: ...mx6 Series ARM Cortex A9 high performance processor Dual core 1 GHz Supports 2 IPU OpenGL ES 2 0 for 3D BitBLT for 2D and OpenVG 1 1 Video decoder MPEG 4 ASP H 264 HP H 263 MPEG 2 MP MJPEG BP Video Encoder MPEG 4 SP H 264 BP H 263 MJPEG BP System Memory Support DDR3 1066 MHz Capacity on board DDR3 1 GB Gigabit Ethernet Chipset Freescale i MX6 integrated RGMII 1 x10 100 1000 Mbps Peripheral Interfa...

Страница 14: ...ctrical Specifications Power supply type DC in 12 V 19V 24V Power consumption Kernel Idle mode TBD Max mode TBD RTC Battery Typical voltage 3 0 V Normal discharge capacity TBD 1 3 Environmental Specifications Operating temperature 0 60 C 32 140 F Operating humidity 40 C 95 RH Non condensing Storage temperature 40 85 C 40 185 F Storage humidity 60 C 95 RH Non condensing 1 4 Block Diagram ...

Страница 15: ...RSB 4411 User Manual 4 ...

Страница 16: ...Chapter 2 2 H W Installation ...

Страница 17: ...ave three pins labeled 1 2 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 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 chang...

Страница 18: ...ot from SD 1 OFF 2 ON Boot from SPI SW3 RS 232 422 485 selection Part number 1600000084 Description DIP SW CHS 02TB 29 SMD 4P SPST P 1 27mm W 5 4mm Setting Function 1 OFF 2 OFF Loopback mode 1 OFF 2 ON RS 232 1 ON 2 OFF RS 485 Half Duplex 1 ON 2 ON RS 422 Full Duplex LVDS_VDD_SLT LVDS Power Part number 1653003101 Description PIN HEADER 3x1P 2 0mm 180D M DIP 2000 13 WS Setting Function 1 2 V3 3 2 3...

Страница 19: ...12 Table 2 2 Connector List CN1 RTC Battery CN10 DC Power Jack CRT1 VGA COM1 RS 232 422 485 CN8 Ethernet Connector CN11 HDMI CN28 USB port 0 1 CN30 USB OTG LVDS0 LVDS LVDS_BKLT_PWR Backlight CN27 SATA CN25 SATA Power CN5 Debug Port CN12 USB port 3 4 CN29 USB port 5 CN23 MIC in CN14 Line Out CN21 RS 232 CN31 GPIO CN32 CAN CN33 I2C_1 CN34 I2C_3 CN35 SPI CN3 MiniPCIe CN4 SIM socket SD1 SD socket CN22...

Страница 20: ... Jack CN10 RSB 4411 comes with a DC Jack header that carries 12V 19V 24V DC external power input Figure 2 1 DC Power Jack 2 2 2 3 VGA CRT1 RSB 4411 provides standard VGA connector VGA resolution supports up to 1920x1080 Figure 2 2 VGA Connector Pin Description 1 Inner DC_In 2 Outer GND Pin Description 1 RED 2 GREEN 3 BLUE 4 N C 5 GND 6 GND 7 GND 8 GND 9 5V 10 GND 11 N C 12 DDC DATA 13 HSYNC 14 VSY...

Страница 21: ...mpliant with IEEE802 3u 10 100 1000 Base T CSMA CD standards The Ethernet port provides standard RJ 45 jack connector with LED indicators on the front side to show Active Link status and Speed status Figure 2 4 Ethernet Connector Pin Description 1 N C RS 422 TX RS 485 2 COM 2_RXD RS 422 TX RS 485 3 COM2_TXD RS 422 RX 4 N C RS 422 RX 5 GND 6 N C 7 COM2_RTS 8 COM2_CTS 9 N C Pin Description 1 MIDI0 2...

Страница 22: ...d CEC compliant Connect the HDMI audio video device to this port HDMI technology can support a maximum resolution of 1920 x 1080p but the actual resolution sup ported depends on the monitor being used Figure 2 5 HDMI Pin Description 1 HDMI_TD2 2 GND 3 HDMI_TD2 4 HDMI_TD1 5 GND 6 HDMI_TD1 7 HDMI_TD0 8 GND 9 HDMI_TD0 10 HDMI_CLK 11 GND 12 HDMI_CLK 13 HDMI_CEC_A 14 GND 15 DDC_CLK_HDMI_A 16 DDC_DATA_H...

Страница 23: ...USB OTG Connector 2 2 2 9 LVDS Connector CN30 RSB 4411 provides a LVDS 20x2 pin board to board connector for dual channel 18 24 bit LVDS panel up to 1920 x 1080 Please also refer to jumper setting before con necting LVDS panel Pin Description 1 5V 2 USB1_D 3 USB1_D 4 GND 5 5V 6 USB2_D 7 USB2_D 8 GND Pin Description 1 5V 2 USB1_D 3 USB1_D 4 ID 5 GND Pin Description 1 VDD_LVDS 2 VDD_LVDS 3 GND 4 GND...

Страница 24: ... 14 LVDS0_TX1_N 15 LVDS0_TX1_P 16 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 I2C1_SCL_LVDS0 32 I2C1_SDA_LVDS0 33 GND 34 GND 35 LVDS0_TX3_N 36 LVDS1_TX3_N 37 LVDS0_TX3_P 38 LVDS1_TX3_P 39 GND 40 VDD_LVDS ...

Страница 25: ... in page before connecting LVDS panel Figure 2 9 LVDS Backlight Power Connector 2 2 2 11 SATA CN27 RSB 4411 supports one SATA connector Figure 2 10 SATA Connector Pin Description 1 VDD_BKLT_LVDS 2 GND 3 LCD_BKLT_EN 4 LCD_BKLT_PWM 5 V5 Pin Description 1 GND 2 SATA_TX 3 SATA_TX 4 GND 5 SATA_RX 6 SATA_RX 7 GND ...

Страница 26: ...mmunicate with a host server Windows or Linux by using serial cables Figure 2 12 Debug Port 2 2 2 14 USB Internal Pin Header CN12 RSB 4411 provides extra internal 2x USB2 0 pin headers Figure 2 13 USB Internal Pin Header Pin Description 1 5V 2 GND 3 GND 4 12V Pin Description 1 3 3V 2 Debug_TXD 3 Debug_RXD 4 GND Pin Description 1 5V 2 5V 3 USB4_D 4 USB3_D 5 USB4_D 6 USB3_D 7 GND 8 GND 9 GND ...

Страница 27: ... microphone can be connected to the MIC in pin header Figure 2 15 MIC in Internal Pin Header 2 2 2 17 Line out CN14 RSB 4411 offers Line out stereo speakers earphone can be connected to the lineout pin header Figure 2 16 Line our Internal Pin Header Pin Description 1 5V 2 5V 3 USB5_D 4 NC 5 USB5_D 6 NC 7 GND 8 GND 9 GND Pin Description 1 MIC IN 2 GND Pin Description 1 LINEOUT_L 2 LINEOUT_R 3 GND ...

Страница 28: ...4411 provides internal GPIO interface by 2x11 pin headers Pin Description 1 COM 3_RXD 2 GND 3 COM 3_TXD 4 COM 4_TXD 5 GND 6 COM 4_RXD Pin Description 1 3 3V 2 GND 3 GPIO_01 4 GPIO_02 5 GPIO_03 6 GPIO_04 7 GPIO_05 8 GPIO_06 9 GPIO_07 10 GPIO_08 11 GPIO_09 12 GPIO_10 13 GPIO_11 14 GPIO_12 15 GPIO_13 16 GPIO_14 17 GPIO_15 18 GPIO_16 19 GPIO_17 20 GPIO_18 21 GPIO_19 22 GPIO_20 ...

Страница 29: ...s by 2x3 pin headers Figure 2 19 CAN Pin Header 2 2 2 21 I2C CN33 CN34 RSB 4411 provides 2 I2C pin headers Figure 2 20 I2C Pin Headers Pin Description 1 CAN1_D 2 GND 3 CAN1_D 4 CAN2_D 5 GND 6 CAN2_D Pin CN33 Description 1 GND 2 I2C1_SDA 3 I2C1_SCL 4 V3 3 Pin CN34 Description 1 GND 2 I2C3_SDA 3 I2C3_SCL 4 V3 3 ...

Страница 30: ... Pin Description 1 V3 3 2 GND 3 SPI_CS 4 SPI_CLK 5 SPI_MISO 6 SPI_MOSI Pin Description Pin Description 1 NC 2 3 3V 3 NC 4 GND 5 NC 6 NC 7 NC 8 UIM_PWR 9 GND 10 UIM_DATA 11 REFCLK 12 UIM_CLK 13 REFCLK 14 UIM_RESET 15 GND 16 NC Mechanical Key 17 NC 18 GND 19 NC 20 3G_RF_OFF 21 GND 22 WIFI_RESET 23 PCIe_RXM 24 3 3V 25 PCIe_RXP 26 GND 27 GND 28 NC 29 GND 30 NC 31 PCIe_TXM 32 NC 33 PCIe_TXP 34 GND 35 G...

Страница 31: ...dial to 3G network Figure 2 23 SIM Socket 2 2 2 25 SD Socket SD1 RSB 4411 supports SD MMC card in Class2 4 6 8 10 Supported capacity is up to 32G SDHC Figure 2 24 SD Slot Pin Description Pin Description C1 UIM_PWR C2 UIM_RESET C3 UIM_CLK C5 GND C6 NC C7 UIM_DATA SW1 NC SW2 NC Pin Description Pin Description 1 DAT3 2 CMD 3 GND 4 3 3V 5 CLK 6 GND 7 DAT0 8 DAT1 9 DAT2 ...

Страница 32: ...D 12 NC 13 SD1_DATA0 14 NC 15 SD1_DATA1 16 M 2_BT_LED 17 SD1_DATA2 18 GND 19 SD1_DATA3 20 NC 21 M2_SDIO_WAKE 22 NC 23 SDIO_ RESET Mechanical Key 32 NC 33 GND 34 NC 35 NC 36 NC 37 NC 38 NC 39 GND 40 NC 41 NC 42 NC 43 NC 44 NC 45 GND 46 NC 47 NC 48 NC 49 NC 50 NC 51 GND 52 NC 53 NC 54 M 2_BT_X_OFF 55 NC 56 M 2_WLAN_X_OFF 57 GND 58 I2C1_SDA 59 NC 60 I2C1_SCL 61 NC 62 I2C1_ALERT 63 GND 64 NC 65 NC 66 ...

Страница 33: ...RSB 4411 User Manual 22 Figure 2 25 M 2 Connector ...

Страница 34: ...23 RSB 4411 User Manual Chapter 2 H W Installation 2 3 Mechanical 2 3 1 Jumper and Connector Location ...

Страница 35: ...RSB 4411 User Manual 24 2 3 2 Board Dimensions 2 3 2 1 Board Drawing Figure 2 26 Board Dimension Layout Top Side Figure 2 27 Board Dimension Layout Bottom Side ...

Страница 36: ...ver Windows or Linux by using serial cables Common serial communication programs such as Hyper Terminal Tera Term or PuTTY can be used in this case The example below describes the serial terminal setup using Hyper Terminal on a Windows host 1 Connect RSB 4411 with your Windows PC by using a serial cable 2 Open Hyper Terminal on your Windows PC and select the settings as shown in Figure 2 25 3 Afte...

Страница 37: ...RSB 4411 User Manual 26 ...

Страница 38: ...Chapter 3 3 Software Functionality This chapter details the software programs on the RSB 4411 plat form ...

Страница 39: ...class graphics fb0 fsl_disp_dev_property hdmi cat sys class graphics fb1 fsl_disp_dev_property overlay cat sys class graphics fb2 fsl_disp_dev_property ldb cat sys class graphics fb3 fsl_disp_dev_property overlay cat sys class graphics fb4 fsl_disp_dev_property ldb 2 Modify file vi usr share imx_6q_display_config original master device dev video17 Modify hdmi device dev video17 fmt RGBP width 1920...

Страница 40: ...ulti Display HDMI LVDS1 LVDS2 vi usr share imx_6q_display_config original master device dev video17 Modify hdmi device dev video17 fmt RGBP width 1920 height 1080 ldb device dev video19 fmt RGBP width 800 height 480 alpha 0 ldb1 device dev video20 fmt RGBP width 800 height 480 alpha 0 3 Multi display video gst launch 1 0 playbin uri file unit_tests akiyo mp4 video sink overlaysink display ldb true...

Страница 41: ...RSB 4411 User Manual 30 3 1 2 Audio Test audio codec module connected to I2S_CN1 dmesg grep sgtl cat proc asound cards amixer get Mic amixer set Mic 100 arecord t wav c 1 r 44100 d 5 2 wav aplay 2 wav ...

Страница 42: ...launch 1 0 imxv4l2src num buffers 1 jpegenc filesink location test jpeg Display VSALPHA 1 gst launch 1 0 filesrc location test jpeg jpegdec imagefreeze imxv4l2sink Record gst launch 1 0 imxv4l2src device dev video0 num buffers 300 video x raw format NV12 width 1920 height 1080 framerate 30 1 queue vpuenc_h264 matroskamux filesink location output avi Play Video gst launch 1 0 playbin uri file home ...

Страница 43: ...lan0 existing or not ifconfig wlan0 up ifconfig wpa_passphrase ESSD Testing adv27927818 tmp wpa conf wpa_supplicant BDwext iwlan0 c tmp wpa conf cat tmp wpa conf udhcpc b i wlan0 Check wlan0 working or not ifconfig wlan0 ping 8 8 8 8 ...

Страница 44: ...ed cat sys class power_supply battery uevent 3 1 5 2 AC power on battery connected cat sys class power_supply battery uevent 3 1 5 3 AC power off battery connected cat sys class power_supply battery uevent 3 1 6 RS 232 Test stty F dev ttymxc1 115200 stty F dev ttymxc1 echo cat dev ttymxc1 echo test dev ttymxc1 test ...

Страница 45: ...4411 User Manual 34 3 1 7 I2C Test i2cdetect l Test it by an audio codec module ROM ED51 dmesg grep sgtl i2cdetect y 4 i2cset f y 4 0x0a 0 0xff00 w i2cget f y 4 0x0a 0 w no module connected dmesg grep sgtl ...

Страница 46: ...scsi 2 0 0 0 Direct Access Generic SD MMC 1 00 PQ 0 ANSI 0 CCS sd 2 0 0 0 sda 3862528 512 byte logical blocks 1 97 GB 1 84 GiB sd 2 0 0 0 sda Write Protect is off sd 2 0 0 0 sda No Caching mode page found sd 2 0 0 0 sda Assuming drive cache write through sd 2 0 0 0 sda No Caching mode page found sd 2 0 0 0 sda Assuming drive cache write through sda sda1 sd 2 0 0 0 sda No Caching mode page found sd...

Страница 47: ...ntent we can know sda is our usb disk Generate random file dd if dev urandom of data bs 1 count 1024 Back up dd if dev sda of backup bs 1 count 1024 skip 4096 Write to usb disk dd if data of dev sda bs 1 seek 4096 Read and Verify dd if dev sda of data1 bs 1 count 1024 skip 4096 diff data data1 ...

Страница 48: ...ta1 and data differ Restore dd if backup of dev sda bs 1 seek 4096 3 1 9 RTC Test set system time to current then write to RTC date 021710452016 hwclock w date set one incorrect time then read time from RTC to verify date 010100002000 hwclock r date restore the RTC time to system time hwclock s date ...

Страница 49: ...4411 User Manual 38 3 1 10 MMC eMMC SD Test booting from MB EMMC Message from U Boot cat proc cmdline SD Boot from eMMC and insert a bootable SD card The mmcblk1p1 mmcblk1p2 should be mounting automatically ...

Страница 50: ... Generate random file dd if dev urandom of data bs 1 count 1024 Back up dd if dev mtdblock1 of backup bs 1 count 1024 skip 0xD3000 Write to mtdblock1 dd if data of dev mtdblock1 bs 1 seek 0xD3000 Read and Verify dd if dev mtdblock1 of data1 bs 1 count 1024 skip 0xD3000 diff data data1 If fail it shows as below Binary files data1 and data differ Restore dd if backup of dev mtdblock1 bs 1 seek 0xD30...

Страница 51: ...d if dev urandom of data bs 1 count 1024 Back up dd if dev sda of backup bs 1 count 1024 skip 4096 Write to SATA disk dd if data of dev sda bs 1 seek 4096 Read and Verify dd if dev sda of data1 bs 1 count 1024 skip 4096 diff data data1 If fail it shows as below Binary files data1 and data differ Restore dd if backup of dev sda bs 1 seek 4096 booting from CB SATA Message from U Boot cat proc cmdlin...

Страница 52: ...41 RSB 4411 User Manual Chapter 3 Software Functionality 3 1 12 Ethernet Test ifconfig ping 8 8 8 8 3 1 13 CAN Test Connect device with CAN0 CN8A ip link set can0 up type can bitrate 125000 ...

Страница 53: ... number 175 32 6 1 15 GPIO4 number 176 32 6 1 16 GPIO5 number 57 32 2 1 25 GPIO6 number 55 32 2 1 23 GPIO7 number 56 32 2 1 24 GPIO8 number 130 32 5 1 2 3 1 14 3 GPIO Test method 1 cd sys class gpio 2 Before setting root imx6qprom7421 sys class gpio ls export gpiochip128 gpiochip192 gpiochip32 gpiochip96 gpiochip0 gpiochip160 gpiochip247 gpiochip64 unexport 3 export 8 gpio pins export GPIO1 comman...

Страница 54: ...rt 4 See gpio1 gpio8 direction For example See gpio1 direction input in or output out command cat gpio1 direction Console log in 5 See gpio1 gpio8 value For example See gpio1 value low active 0 or high 1 command cat gpio1 value Console log 1 6 Set gpio1 gpio8 direction a1 For example Set gpio1 direction input in command echo in gpio1 direction a2 get direction command cat gpio1 direction Console l...

Страница 55: ...ve command echo 0 gpio1 value a2 get value command cat gpio1 value Console log 0 b1 For example See gpio1 value 1 high active command echo 1 gpio1 value b2 get value command cat gpio1 value Console log 1 Connect jumpers to DIO1 connector by follows jumper setting 3 1 15 Watchdog Test cd unit_tests wdt_driver_test out 10 5 0 ...

Страница 56: ...in to compile the uImage and related applica tions gcc version is 4 6 2 20110630 Toolchain directory structure is as follow bin toolchain with prefix such as arm none linux gnueabi gcc etc lib library files used for toolchain itself not for application arm fsl linux gnueabi bin toolchain without prefix such as gcc debug root all debug tools Note RSB 4411 source code package BSP is Advantech s Inte...

Страница 57: ...hose in the Control Panel in Windows home Home directories of the common users lib Library files includes files for all kinds of programs needed by the sys tem and the users mnt Standard mount point for external file systems opt Typically contains extra and third party software proc A virtual file system containing information about system resources More information about the meaning of the files ...

Страница 58: ...uestions There are also various README files in source linux 3 0 35 Documentation you can find the kernel specified installations and notes for drivers You can refer to source linux 3 0 35 Documentation 00 INDEX for a list of the purpose of each README note setenv sh A script to setup the developing environment quickly cfg_uboot sh A script to configure the u boot building setup quickly mk_uboot s...

Страница 59: ...gl1 mesa glx i386 libgl1 mesa dev g mul tilib mingw32 tofrodos python markdown libxml2 utils xsltproc zlib1g dev i386 gcc 4 6 g 4 6 cpp 4 6 gcc 4 6 multilib uuid dev liblzo2 dev uboot mkimage libarchive zip perl wget git core unzip texinfo gawk diffstat build essential chrpath sed cvs subversion coreutils texi2html docbook utils python pysqlite2 help2man make gcc g desktop file utils libgl1 mesa d...

Страница 60: ... 6 0_45 etc environment If you have some troubles on setting up build environment we recommend that you use Docker and it is more safely quickly Learn more about Docker at http ess wiki advantech com tw view IoTGateway Docker 3 3 1 Conventions Below is the Naming Conventions of the SW package we provide PREBUILT_IMAGE compressed prebuilt image img gz BSP_TARBALL BSP tarball tgz BSP_HOME home direc...

Страница 61: ...reescale enhanced features for i MX6 plus specific target board features from Advantech Inc 3 3 2 1 Naming Rule The tarball prebuilt image name is consist of the model name followed by LB or LI plus version number and released date For example 4410A1LBV6000_2016 03 07 tgz which 4410A1 stands for RSB 4410 A1 LB is acronym of Linux BSP V6000 stands for Version 6 000 For example 4410A1LIV6000_DualQua...

Страница 62: ...uilding process finished successfully 3 3 3 2 To build toolchain installer To create continue a build environment perform following command in terminal con sole bitbake meta toolchain qt5 The below installer will be located in the directory tmp deploy sdk fsl imx x11 glibc x86_64 meta toolchain qt5 cortexa9hf vfp neon toolchain KERNEL 1 1 0 sh 3 3 3 3 To build u boot To create continue a build env...

Страница 63: ...m built sdcard image 3 3 5 1 To create one boot up SD card perform following commands in terminal console pushd BSP_HOME BDIR tmp deploy images MC dd if SDCARD_IMAGE of SD_DEVICE bs 1M popd 3 3 5 2 To transfer whole system to on board flash First you need to boot up from SD card then insert USB stick that contains SDCARD_IMAGE USB stick will be auto mounted to run media sda1 Perform following comm...

Страница 64: ...o build toolchain installer then perform following commands in terminal console cd BSP_HOME BDIR tmp deploy sdk sudo fsl imx x11 glibc x86_64 meta toolchain qt5 cortexa9hf vfp neon toolchain KERNEL 1 1 0 sh Enter new installed directory or just press Enter to use default directory While Proceed y n shows up please enter the correct one y Waiting for the SDK installed 3 4 3 Setting up cross compili...

Страница 65: ...f u boot crc bin of dev mmcblk0 bs 512 seek 3 conv fsync 3 4 8 Building updating kernel modules dtb manually To build kernel modules dtb the cross compiling environment must have been set up ref 3 4 3 Setting up cross compiling environment Make one copy from Yocto working directory mkdir p code pushd BSP_HOME BDIR tmp work shared MC rm rf code linux imx cp a kernel source code linux imx popd 3 4 9...

Страница 66: ...covery Please refer to section 3 3 4 Creating boot up on board flash from prebuilt image sdcard image to create a boot up SD card and transfer whole system to on board flash 3 6 Debug Message RSB 4411 can connect to a host PC Linux or Windows by using a console cable and debug port adapter In order to communicate with a host PC a serial communi cation program such as HyperTerminal Tera Term or PuT...

Страница 67: ...s folder 5 setenv sh To configure the developing environment automatically 6 cd source 7 mkdir helloworld Create your own work directory on the Desktop 8 cd helloworld Enter the 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 helloworld helloworld c T...

Страница 68: ...ec 0 sleep_sec 1 printf correct 0 or negative sleep time to d seconds n sleep_sec test atoi argv 3 printf Starting wdt_driver timeout d sleep d test s n timeout sleep_sec test 0 ioctl write fd open dev watchdog O_WRONLY if fd 1 perror watchdog exit 1 printf Trying to set timeout value d seconds n timeout ioctl fd WDIOC_SETTIMEOUT timeout printf The actual timeout was set to d seconds n timeout ioc...

Страница 69: ...7 3 GPIO Setting Please see GPIO initial code listed below Below code is to assign the starting value to GPIO variable Enable GPIO gpio_request SABRESD_GPIO0 gpio 0 gpio_request SABRESD_GPIO1 gpio 1 gpio_request SABRESD_GPIO2 gpio 2 gpio_request SABRESD_GPIO3 gpio 3 gpio_request SABRESD_GPIO4 gpio 4 gpio_request SABRESD_GPIO5 gpio 5 gpio_request SABRESD_GPIO6 gpio 6 gpio_request SABRESD_GPIO7 gpio...

Страница 70: ...DS panel static struct fb_videomode ldb_modedb LDB XGA 60 1024 768 15385 220 40 21 7 60 10 0 FB_VMODE_NONINTERLACED FB_MODE_IS_DETAILED The definition of fb_videomode in linux 3 0 35 include linux fb h The name field is optional If you input this value it can be used in U Boot environ ment settings The refresh field is the screen refresh frame rate such as 60Hz 70Hz The resolution can be filled in...

Страница 71: ...dmi cat sys class graphics fb1 fsl_disp_dev_property overlay cat sys class graphics fb2 fsl_disp_dev_property ldb cat sys class graphics fb3 fsl_disp_dev_property overlay cat sys class graphics fb4 fsl_disp_dev_property ldb 2 Modify file vi usr share imx_6q_display_config original master device dev video17 Modify hdmi device dev video17 fmt RGBP width 1920 height 1080 ldb device dev video19 fmt RG...

Страница 72: ... interface This is usually a driver name fol lowed by a unit number for example eth0 for the first Ethernet interface If your kernel supports alias interfaces you can specify them with eth0 0 for the first alias of eth0 You can use them to assign a second address To delete an alias inter face use ifconfig eth0 0 down Note for every scope i e same net with address netmask combination all aliases ar...

Страница 73: ...rwise set or clear the IFF_BROADCAST flag for the interface del addr prefixlen Remove an IPv6 address from an interface 3 7 7 Storage SATA eMMC SD Card The storages devices are named as follows Device Name SATA dev sda eMMC dev mmcblk0 SD card dev mmcblk1 Onboard SD card dev mmcblk1 Carrier board SD card dev mmcblk2 ...

Страница 74: ...Chapter 4 4 System Recovery This chapter introduces how to recover Linux operating system if it is damaged accidentally ...

Страница 75: ...ne SD card to your developing computer 8 Check the SD card location like dev sdf 9 cd 7421LBVxxxx_prebuilt_image 10 dd if 7421LIVxxxx img of dev sdf 11 Please wait until dump disk is done 12 Connect console cable to debug port CONSOLE and open serial console pro gram on Ubuntu 12 04 LTS set baudrate to 115200 For detailed console set ting please refer to section 3 6 13 On RSB 4411 platform type ro...

Страница 76: ...Chapter 5 5 Advantech Services This chapter introduces Advantech design in serviceability technical support and warranty policy for RSB 4411 evaluation kit ...

Страница 77: ...rs to easy develop their carrier board and differentiate their embedded products and applications Full Range of RISC Product Offerings Comprehensive Document Support Design Assistance Service Advantech provides a check list for engineers to check their schematics and also review service based on customer carrier board schematics Those services are pre ventative and help to catch design errors befo...

Страница 78: ... following questions when implementing modu lar designs General I O design capability Although customers possess the ability for vertical integration and have enough know how and core competitiveness in the professional application field the lack of expertise and experience in general power and I O design causes many challenges for them especially integrating CPU modules into their carrier board T...

Страница 79: ...es standard software Board Support 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 consulting but also software evaluation and peripheral module recommendations such as WiFi 3G BT Resolving customer concerns is Advantech s main target at this stage Sinc...

Страница 80: ...C platforms As a supportive role Advantech primarily helps customers solve their problems in the testing process and will give suggestions and tips as well Through an efficient verifi cation process backed by our technical support customers are able to optimize their applications with less fuss Furthermore Advantech s team can provide professional consulting services about further testing and equi...

Страница 81: ...ech web site at www advantech com support where you can find the latest information about the product 2 Contact your distributor sales representative or Advantech s customer Service center for technical support if you need additional assistance Please have the following information ready before you call Product name and serial number Description of your peripheral attachments Description of your s...

Страница 82: ...71 RSB 4411 User Manual Chapter 5 Advantech Services ...

Страница 83: ...ations 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 the publisher All brand and product names are trademarks or registered trademarks of their respective companies Advantech Co Ltd 2017 ...

Отзывы: