background image

ROM-3420 User Manual

38

4.1

Boot up from the SD card, onboard eMMC or 
SATA DOM

4.1.1

Boot up from the SD card

4.1.1.1

Create a bootable SD card

1.

Open one terminal console and change directory to BSP scripts folder

2.

Perform following command: (assume SD card's device name is /dev/sdf) 

        

sudo

 

./mksd

linux.sh

 

/dev/sdf

3.

Remove SD card from PC/NB

4.1.1.2

Set the DIP switch

1.

Open one debug console

2.

Turn off ROM-3420

3.

Plug a bootable SD card into ROM-DB3900's SD slot

4.

Set Dip switch to 1-OFF/2-ON/3-ON

5.

Turn on ROM-3420

4.1.2

Boot up from the onboard eMMC

4.1.2.1

Transfer whole system to onboard eMMC

1.

Boot up from SD card (refer to Chapter 3.6.1)

2.

Login as root and perform following commands:

        

$

 

cd

 

/mk_inand

        

$

 

./mkinand

linux.sh

 

/dev/mmcblk0

4.1.2.2

Set the DIP switch

1.

Open one debug console

2.

Turn off ROM-3420

3.

Set Dip switch to 1-ON/2-OFF/3-OFF

4.

Turn on ROM-3420

4.1.3

Boot up from SATA DOM

4.1.3.1

Transfer whole system to SATA DOM

1.

Turn off ROM-3420

2.

Plug SATA DOM into ROM-DB3900's SATA slot

3.

Boot up from SD card (refer to Chapter 3.6.1)

4.

Login as root and perform the following commands:(assume SATA DOM's 
device name is /dev/sdf) 

        

$

 

cd

 

/mk_inand

        

$

 

./mkinand

linux.sh

 

/dev/sdf

4.1.3.2

Set the DIP switch

1.

Open one debug console

2.

Turn off ROM-3420

3.

Set Dip switch to 1-ON/2-ON/3-ON

4.

Turn on ROM-3420

Содержание ROM-3420CD-MDA1E

Страница 1: ...rldwide with offices in Germany Austria Switzerland Great Britain and the USA For more information please contact FORTEC Elektronik AG Hauptniederlassung Lechwiesenstr 9 86899 Landsberg am Lech Telefo...

Страница 2: ...User Manual ROM 3420 RISC based RTX Module with Freescale i MX6 ARM Cortex A9 Processor...

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

Страница 4: ...ception which can be determined by turning the equip ment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receivi...

Страница 5: ...ale i mx6 Dual 1GHz w 1GB DDR3 RTX module 0 60 C ROM 3420WD MDA1E Freescale i mx6 Dual 1GHz w 1GB DDR3 RTX module 40 85 C ROM 3420CQ MDA1E Freescale i mx6 Quad 1GHz w 2GB DDR3 RTX module 0 60 C ROM 34...

Страница 6: ...e cannot step on it Do not place anything over the power cord 10 All cautions and warnings on the equipment should be noted 11 If the equipment is not used for a long time disconnect it from the power...

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

Страница 8: ...1 9 CAN Test 15 3 1 10 Audio Out and MIC In Test 16 3 1 11 OpenGL Test 16 3 1 12 LAN Test 17 3 1 13 RS232 Test 18 3 1 14 Watchdog Timer Test 19 3 1 15 Audio Test 19 3 1 16 Photo Demo Test 19 3 1 17 C...

Страница 9: ...Setting 32 3 8 4 RS232 Initial Code 33 3 8 5 Display Output Setting 33 3 8 6 Network Setup 35 3 8 7 Storage SATA eMMC SD Card 35 3 8 8 3G Sample Code 35 Chapter 4 System Recovery 37 4 1 Boot up from t...

Страница 10: ...Chapter 1 1 Product Overview This chapter briefly introduces ROM 3420 platform Sections include Introduction Specification...

Страница 11: ...Freescale i MX6 processors are ARM Cortex A9 high performance processor dual core 1 GHz Supports OpenGL ES 2 0 and OpenVG 1 1 hardware accelerators full HD 1080p video codec Freescale Smart Speed tec...

Страница 12: ...MJPEG BP HDMI 1 HDMI LVDS 1 single 24 bit LVDS TTL LCD 24 bit TTL LCD Ethernet Chipset Freescale i MX6 Dual integrated RGMII Speed 1 10 100 1000 Mbps Max 400Mbps Watch Dog Timer 256 Level timer interv...

Страница 13: ...0 5 mm L x W x H 1 4 Electrical Specifications Power supply Voltage Voltage requirements 5 24 V Power Consumption 1 5 Environmental Specifications Operating temperature 0 60 C 32 140 F The operating t...

Страница 14: ...Chapter 2 2 H W Installation This chapter gives mechanical and connector information on the ROM 3420 CPU Computer on Module Sections include Connector Information Mechanical Drawing...

Страница 15: ...he board has four connectors that allow you to configure your system to your appli cation 2 2 1 Connector List External IO Connector Position Description U1101 Flash ROM A SW1001 Boot selection B CN12...

Страница 16: ...bug connector Jumper Mode Jumper Mode 1 ON 2 OFF SPI ROM Default 1 OFF 2 ON SD Reserved for recovery Pin Signal Pin Signal 1 3 3 V 2 MCU_TXD 3 MCU_RXD 4 MCU_PROGRAM 5 GND Pin Signal Pin Signal 1 3 3 V...

Страница 17: ...NN D SATA UART x3 GIGA LAN USB2 0 HOST LVDS HDMI HDMI DDC CAN BUS x2 I2C2 ATHERO AR8033 AL1B x64 2 chip select address 26 bit data 16 bit x24 SPI1 CS0 1 SPI5 CS1 2 I I M G R I D M 4 lanes 1 lane Conso...

Страница 18: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 3420 plat form...

Страница 19: ...1024 count 1 seek 25118 0 1 records in 0 1 records out hexdump C dev mmcblk0 s 25720832 n 16 01887800 30 31 32 33 34 35 36 37 38 39 41 42 43 44 45 46 0123456789ABCDEF 3 1 2 SATA Test Step1 Erase and...

Страница 20: ...v mmcblk0p1 Step 2 Insert SD card to SD card slot and check your device again You should be able to see more devices dev mmcblk1 is the SD card storage ls dev mmcblk dev mmcblk0 dev mmcblk0boot1 dev m...

Страница 21: ...o1 direction in B Set gpio2 GPO out echo out gpio2 direction cat gpio2 direction out C Set gpio2 GPO value 0 echo 0 gpio2 value D Get gpio1 value cat gpio1 value 0 As you can see in above procedure A...

Страница 22: ...isplay please type as below gst launch playbin2 uri file tools Advantech avi video sink mfw_v4lsink device dev video16 Step2 Turn ON VGA display at the same time please type gst launch playbin2 uri fi...

Страница 23: ...20 30 40 50 UU 60 70 UU The 0x50 is the HDMI address Try the command below to know if the I2C bus is working or not i2cdump f y 5 0x50 No size specified using byte data access 0 1 2 3 4 5 6 7 8 9 a b...

Страница 24: ...XXXXXXXXXXXXXXXX 40 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 50 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX 60 XX XX XX XX XX XX XX XX XX XX XX XX XX XX X...

Страница 25: ...frames cantest can0 Send CAN frames cantest can1 12345678 123412341234 read 16 bytes 12345678 6 12 34 12 34 12 34 3 1 10 Audio Out and MIC In Test MIC IN command is as follows arecord t wav c 1 r 4410...

Страница 26: ...1 Open etc rc d rc conf 2 Modify IPADDR0 dhcp 3 reboot Then you will see ifconfig eth0 Link encap Ethernet HWaddr 00 04 9F 01 30 E0 inet addr 172 17 21 96 Bcast 172 17 21 255 Mask 255 255 254 0 UP BR...

Страница 27: ...407 284 5 KiB TX bytes 2000 1 9 KiB The target computer Client IP address is 172 17 20 192 so we can use below com mand to see if we can get any response from the client ping 172 17 20 192 PING 172 17...

Страница 28: ...as 10 seconds system will reboot after then unit_tests wdt_driver_test out 10 5 0 Starting wdt_driver timeout 10 sleep 5 test ioctl Trying to set timeout value 10 seconds The actual timeout was set to...

Страница 29: ...gdec imagefreeze mfw_isink 3 1 17 4 Record video gst launch mfw_v4lsrc queue vpuenc codec 6 matroskamux filesink location tools output avi sync false 3 1 17 5 Play video gst launch playbin2 uri file t...

Страница 30: ...code 11 0 Event code 12 Minus Event code 13 Equal Event code 14 Backspace Event code 15 Tab Event code 16 Q Event type 4 Misc Event code 4 ScanCode Event type 20 Repeat Testing interrupt to exit 3 1...

Страница 31: ...s are devel oped by open source community ROM 3420 source code package is composed of six main folders cross_compiler document image package scripts and source The description of 3420LBVxxxx package c...

Страница 32: ...resources More information about the meaning of the files in proc is obtained by entering the command man proc in a terminal window The file proc txt discusses the virtual file system in detail root T...

Страница 33: ...tar xvf 3420LBVxxxx tar bz2 Unzip file Advantech offer a script to help setup the development environment quickly You can refer to the following steps to setup your environment 1 Open Terminal on Ubu...

Страница 34: ...he folder paths for your system and you can also add modify the setenv sh by your self if you have added changed the folders and paths The major part of setenv sh is shown as follows export SRCROOT PW...

Страница 35: ...are being built and located in image 3 4 2 Build Linux Kernel Image Advantech offer you a script to build the uImage quickly You can build a uImage by following these steps 1 Open Terminal on Ubuntu...

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

Страница 37: ...nux 3 0 35 arch arm mach mx6 board mx6q_ROM 3420 h static struct i2c_board_info mxc_i2c6_board_info __initdata switch 3 rtc S35390A I2C_BOARD_INFO s35390a 0x30 Please add below codes to source linux 3...

Страница 38: ...Connect the 9 pin D SUB of the debug console cable with the host computer serial port and use a serial port terminal application like minicom putty or teraterm to con figure serial port as 115200 8N1...

Страница 39: ...1 Open one debug console 2 Turn off ROM 3420 3 Set Dip switch to 1 ON 2 ON 3 ON 4 Turn on ROM 3420 3 8 Linux Software AP and Testing on ROM 3420 This section will guide you how to develop your own app...

Страница 40: ...t it to ROM DB3900 then open debug console 16 On ROM 3420 platform type root Login 17 On ROM 3420 platform type cd tool 18 On ROM 3420 platform type helloworld 19 Now you should be able to see Hello W...

Страница 41: ...test 0 test count printf Ping Watchdog reset wdt n ioctl fd WDIOC_KEEPALIVE 0 test 0 count 0 sleep sleep_sec count sleep_sec return 0 void help_info void printf Usage wdt_driver_test timeout sleep tr...

Страница 42: ...The sys tem will accomplish the corresponding parameters automatically If the panel has problem to be activated you may need to check the panel datasheet to configure the panel related parameters The...

Страница 43: ...et in u boot as below setenv bootargs_base setenv bootargs console ttymxc0 115200 enable_wait_mode off video mxcfb0 dev lcd 1920x1080M 60 if RGB24 LVDS out please set in u boot as below setenv bootarg...

Страница 44: ...rc conf and set IPADDR0 to the IP to be used And the NETMASK0 should be changed to corre sponding netmask as well 3 8 7 Storage SATA eMMC SD Card The storages devices are named as follows 3 8 8 3G Sam...

Страница 45: ...ROM 3420 User Manual 36...

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

Страница 47: ...eMMC 4 1 2 1 Transfer whole system to onboard eMMC 1 Boot up from SD card refer to Chapter 3 6 1 2 Login as root and perform following commands cd mk_inand mkinand linux sh dev mmcblk0 4 1 2 2 Set the...

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

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

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

Страница 51: ...assess RISC modules and test peripheral hardware What s more Advantech pro vides standard software Board Support Package BSP for RISC COM so that cus tomers can define their product s specifications a...

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

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

Страница 54: ...45 ROM 3420 User Manual Chapter 5 Advantech Services...

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

Страница 56: ...ww fortecag de FORTEC Elektronik AG B ro West Hohenstaufenring 55 50674 K ln Telefon 49 0 221 272 273 0 Telefax 49 0 221 272 273 10 E Mail west fortecag de Internet www fortecag de FORTEC Elektronik A...

Отзывы: