ROM-3420 User Manual
30
3.7.2
Boot up from the onboard eMMC
3.7.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
3.7.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
3.7.3
Boot up from SATA DOM
3.7.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
3.7.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
3.8
Linux Software AP and Testing on ROM-3420
This section will guide you how to develop your own application under Linux environ-
ment. First of all, an example “Hello World” will be shown. And then you will see
some pre-installed test programs on ROM-3420 will be introduced in this section.
3.8.1
“Hello World!” Application and Execution
This section will guide you how to write a simple sample “Hello World” program.
Refer to the following steps:
1.
Open "Terminal" on Ubuntu 10.04 LTS.
2.
$sudo
su
(Change to “root” authority)
3.
Type user password.
4.
Change directory to BSP's scripts folder
5.
#.
setenv.sh
(To configure the development 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)
Содержание ROM-3420CD-MDA1E
Страница 2: ...User Manual ROM 3420 RISC based RTX Module with Freescale i MX6 ARM Cortex A9 Processor...
Страница 18: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 3420 plat form...
Страница 45: ...ROM 3420 User Manual 36...
Страница 54: ...45 ROM 3420 User Manual Chapter 5 Advantech Services...