Advantech UBC-220 Скачать руководство пользователя страница 29

21

UBC-220 User Manual

Chapter 2

H

/W Installation

2.

Create a file and copy to USB flash disk

#echo 123456789ABCDEF > test.txt

#dd if=./test.txt of=/dev/sda bs=1024 count=1 seek=25118

0+1 records in

0+1 records out

16 bytes (16 B) copied, 0.000109331 s, 146 kB/s

3.

Check the data copied to USB flash disk

#hexdump -C /dev/sda -s 25720832 -s 32

01887800  31 32 33 34 35 36 37 38  39 41 42 43 44 45 46 0a  

|123456789ABCDEF.|

 01887810  1d 4f e2 19 d3 05 8b df  ab 4a 40 5a c5 23 3c f2  

|................| 

2.5.3

SD Test

1.

When booting from eMMC, you would see only below directories:

#ls /dev/mmcblk*

/dev/mmcblk0  /dev/mmcblk0boot0  /dev/mmcblk0boot1  /dev/

mmcblk0p1

2.

Insert SD card to SD card slot (SD1) and check your device again. You should 
be able to see more directories. /dev/mmcblk1 is the SD card storage.

#ls /dev/mmcblk*

     

/dev/mmcblk0       /dev/mmcblk0boot1  /dev/mmcblk1    /dev/

mmcblk1p2

/dev/mmcblk0boot0  /dev/mmcblk0p1     /dev/mmcblk1p1

3.

Create a file and copy to SD

#echo 123456789ABCDEF > test.txt

#dd if=./test.txt of=/dev/mmcblk1 bs=1024 count=1 

seek=25118

0+1 records in

0+1 records out

16 bytes (16 B) copied, 0.000109331 s, 146 kB/s

4.

Check if the file is created successfully.

#hexdump -C /dev/mmcblk1 -s 25720832 -s 32

01887800  31 32 33 34 35 36 37 38  39 41 42 43 44 45 46 0a  

|123456789ABCDEF.|

 01887810  1d 4f e2 19 d3 05 8b df  ab 4a 40 5a c5 23 3c f2  

Note!

This operation may damage the data stored in USB flash disk. Please 
make sure there is no critical data in the USB flash disk being used for 
this test.

Содержание UBC-220

Страница 1: ...User Manual UBC 220 RISC IoT Box Computer Powered by Freescale i MX6 Dual Lite Processor ARM Cortex A9 Architecture...

Страница 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...

Страница 3: ...er 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 Conne...

Страница 4: ...te Compact Box Com puter Model Number Description 1960069533S001 Heatsink 96PSA A36W12R1 Adaptor 100 240V 36W 12V 3A W O PFC 9NA0361603 170203183C Power cord 3P Europe WS 010 WS 083 183cm 170203180A P...

Страница 5: ...diate 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 a...

Страница 6: ...UBC 220 User Manual vi...

Страница 7: ...ector 12 Figure 2 7 DC Power Jack 12 Figure 2 8 HDMI 13 Figure 2 9 USB OTG 14 Figure 2 10SD Slot 14 Figure 2 11COM Port 14 Figure 2 12LVDS Connector 15 Figure 2 13LVDS Backlight Connector 16 2 3 Mecha...

Страница 8: ...Seiko Instruments S 35390A 34 3 5 2 Chang UBC 220 Boot Logo 35 3 6 Create a Linux System Boot Media 35 3 6 1 Create a Linux System SD Card 35 3 6 2 Boot from Onboard Flash 35 3 7 Debug Message 36 Figu...

Страница 9: ...Chapter 1 1 General Introduction This chapter gives background information on the UBC 220 Sections include Introduction Product Features Specifications...

Страница 10: ...ce For more information of Advantech RISC products please visit RISC Mini Site http risc advantech com 1 2 Specifications 1 2 1 Functional Specifications Processor Freescale i mx6 Series ARM Cortex A9...

Страница 11: ...mption Kernel Idle mode 2 3 W Max mode 4 08 W RTC Battery Typical voltage 3 0 V Normal discharge capacity 3 uA 1 3 Environmental Specifications Operating temperature 0 40 C 32 140 F Operating humidity...

Страница 12: ...UBC 220 User Manual 4...

Страница 13: ...rtup procedures of the UBC 220 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...

Страница 14: ...s 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 I...

Страница 15: ...29 SMD 4P SPST P 1 27mm W 5 4mm Setting Function 1 ON Boot from SD 1 OFF Boot from SPI LVDS_VDD_SLT LVDS Power Part Number 1653003100 Footprint HD_3x1P_100_D Description PIN HEADER 3x1P 2 54mm 180D M...

Страница 16: ...ttery MINI_PCIE_HALF Half size MiniPCIe MINI_PCIE_FULL Full size Mini PCIe SIM_SLOT SIM socket DEBUG_CONSOLE UART1 debug port USB_HOST USB Type A Connector USB_OTG USB OTG Connector LAN Ethernet Conne...

Страница 17: ..._D 37 GND 38 USB_D 39 3 3VAUX 40 GND 41 3 3VAUX 42 LED_WWAN 43 GND 44 LED_WLAN 45 Reserved 46 47 Reserved 48 49 Reserved 50 GND 51 Reserved 52 3 3VAUX Table 2 2 Full size miniPCIE Pin Description Pin...

Страница 18: ...Full size miniPCIE 15 GND 41 Reserved 16 UIM_VPP 42 LED_WWAN 17 Reserved 43 Reserved 18 GND 44 LED_WLAN 19 Reserved 45 Reserved 20 Reserved 46 LED_WPAN 21 GND 47 Reserved 22 PERST 48 NA 23 NA 49 Rese...

Страница 19: ...icate with a host server Windows or Linux by using serial cables Figure 2 4 Debug Port 2 2 2 6 USB Type A Connector USB_HOST UBC 220 supports one standard USB2 0 Type A connector in the coastline Figu...

Страница 20: ...d RJ 45 jack connector with LED indicators on the front side to show Active Link status and Speed status Figure 2 6 Ethernet Connector 2 2 2 8 DC power Jack DCIN UBC 220 comes with a DC Jack header th...

Страница 21: ...n support a maximum resolution of 1920 x 1080p but the actual resolutions sup ported depends on the monitor being used Figure 2 8 HDMI 2 2 2 10 USB OTG USB_OTG UBC 220 supports USB OTG mode that can b...

Страница 22: ...o 32G SDHC Figure 2 10 SD Slot 2 2 2 12 COM Port UBC 220 provides one 6 pin terminal block connector as serial communication inter face port The port can support RS 232 mode communication Figure 2 11...

Страница 23: ...panel up to 1366x768 Please also refer to jumper setting in page 7 before connecting LVDS panel Figure 2 12 LVDS Connector Pin Description 1 GND 2 GND 3 LVDS0_TX0_P 4 I2C1_SCL_LVDS0 5 LVDS0_TX0_N 6 I2...

Страница 24: ...DS panel Figure 2 13 LVDS Backlight Connector 2 3 Mechanical 2 3 1 Jumper and Connector Locations Figure 2 14 Jumper and Connector Layout Top side Pin Description 1 VDD_BKLT_LVDS 2 GND 3 LCD_BKLT_A 4...

Страница 25: ...W Installation Figure 2 15 Jumper and Connector Layout Bottom Side Figure 2 16 Coastline Layout 2 3 2 System Dimensions 2 3 2 1 System Drawing Figure 2 17 System Dimension Layout Top Side LVDS Backlig...

Страница 26: ...UBC 220 User Manual 18 Figure 2 18 System Dimension Layout Bottom Side Figure 2 19 System Dimension Layout Coastline Figure 2 20 Mounting Method of UBC 220...

Страница 27: ...ing UBC 220 can communicate with a host server 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 examp...

Страница 28: ...if test txt of dev mmcblk0 bs 1024 count 1 seek 25118 0 1 records in 0 1 records out 16 bytes 16 B copied 0 000109331 s 146 kB s 2 Check the data copied to eMMC hexdump C dev mmcblk0 s 25720832 s 32...

Страница 29: ...ert SD card to SD card slot SD1 and check your device again You should be able to see more directories dev mmcblk1 is the SD card storage ls dev mmcblk dev mmcblk0 dev mmcblk0boot1 dev mmcblk1 dev mmc...

Страница 30: ...ch avi video sink mfw_v4lsink device dev video16 You can see display independent both show Advantech avi at the same time If you d like to set the output audio as HDMI out please add the parameter of...

Страница 31: ...o1 LED on echo 0 value LED off echo 1 value 2 5 7 OpenGL Test Please follow below instructions to test OpenGL on UBC 220 platform 1 Change path to opt viv_samples vdk cd opt viv_samples vdk ls tutoria...

Страница 32: ...UBC 220 User Manual 24 3 Run tutorial3_es20 for OpenGL ES 2 0 A ball made of a mirroring material and centered at the origin spins about its Y axis and reflects the scene surrounding it tutorial3_es20...

Страница 33: ...x up Here is a real case for your reference The hosts UBC 220 IP is 172 17 21 97 the target A desktop computer IP is 172 17 20 192 ifconfig eth0 172 17 21 97 up ifconfig eth0 eth0 Link encap Ethernet...

Страница 34: ...t wdt_driver_test out 5 10 0 Usage wdt_driver_test timeout sleep test timeout value in seconds to cause wdt timeout reset sleep value in seconds to service the wdt test 0 Service wdt with ioctl 1 with...

Страница 35: ...UBC 220 User Manual Chapter 2 H W Installation 2 5 12 LED Test Below is the test script for system LED2 cd sys class gpio echo 1 export cd sys class gpio gpio1 LED on echo 0 value LED off echo 1 valu...

Страница 36: ...UBC 220 User Manual 28...

Страница 37: ...Chapter 3 3 Software Functionality This chapter details the Linux operating system on the UBC 220 platform...

Страница 38: ...before start UBC 220 evaluation development 3 2 Package Content We can offer you two different kinds of Linux package for UBC 220 One is a pre built system image for system recovery another is source...

Страница 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...

Страница 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...

Страница 41: ...60 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 sudo...

Страница 42: ...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 Ch...

Страница 43: ...nel by menuconfig Here is an example to guide you how to add a RTC driver Seiko Instruments S 35390A to Linux kernel Please use the following steps 1 Open Terminal on Ubuntu 10 04 LTS 2 sudo su Change...

Страница 44: ...urce linux 3 0 35 arch arm mach mx6 board mx6dl_ubc220 h static struct i2c_board_info mxc_i2c0_board_info __initdata I2C_BOARD_INFO adv wdt i2c 0x29 I2C_BOARD_INFO s35390a 0x30 Please add below codes...

Страница 45: ...ld a image for UBC 220 Linux system boot media 3 6 1 Create a Linux System SD Card 3 6 1 1 From Source Code Package When you receive the UBC 220 Linux source code package you can refer following steps...

Страница 46: ...ch as HyperTerminal Tera Term or PuTTY is must required Below is the detail instruction of how to set up serial console a HyperTerminal on a Windows host 1 Connect UBC 220 to your Windows PC by using...

Страница 47: ...e file and exit 11 CC o helloworld helloworld c To compile helloworld c 12 Then you can see helloworld in current directory 13 Insert the Linux system SD card to your developing computer 14 cp hellowo...

Страница 48: ...ds 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 test count printf Ping Watchdog reset...

Страница 49: ..._mode display3 pcie_testmode off 3 8 4 2 Dual Display Settings When you want to display LVDS and HDMI output please set parameter in U boot as following This is the default settings in U boot setenv b...

Страница 50: ...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 delete...

Страница 51: ...ng 3 8 7 3 G Sample Code The code of 3glink we have tried this command in 3 G test Section 1 8 bin bash echo Send AT commands pppd connect chat v s t 10 AT ATDT 99 CON NECT user username password pass...

Страница 52: ...UBC 220 User Manual 44...

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

Страница 54: ...D card location 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...

Страница 55: ...Chapter 5 5 Advantech Services This chapter introduces Advan tech design in serviceability tech nical support and warranty policy for UBC 220...

Страница 56: ...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 m...

Страница 57: ...d design guide provides pin defini tions of the COM connector with limitations and recommendations for carrier board design so customers can have a clear guideline to follow during their carrier board...

Страница 58: ...find the right tools to efficiently identify and solve problems to further enhance their products quality and performance 5 2 Contact Information Below is the contact information for Advantech custom...

Страница 59: ...rs 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 Warranty The product is excluded from warranty if...

Страница 60: ...ce time 1 Give a low value to the product on the invoice or additional charges will be lev ied by customs that will be borne by the sender 2 Add information Invoice for customs purposes only with no c...

Страница 61: ...se reference the P I number listed under Our Ref ADVANTECH reserves the right to deny repair services to customers that do not return the DOA unit or sign the P I Meanwhile ADVANTECH will scrap defect...

Страница 62: ...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...

Отзывы: