Atmark Techno Armadillo-420 User guide

Armadillo-420 Basic Model
Development Set
Startup Guide
A4200-D00Z
Version 1.0.1
2010/11/05
Atmark Techno, Inc.
Armadillo Developers Site

Armadillo-420 Basic Model Development Set Startup Guide
Atmark Techno, Inc.
060-0035 AFT Bldg. 6F, N5E2, Chuo-ku, Sapporo
TEL 011-207-6550 FAX 011-207-6570
製製製製 © 2010 Atmark Techno, Inc.
Version 1.0.1
2010/11/05

1. Preface ................................................................................................................................................. 8
1.1. Who Should Read This Document ................................................................................................... 8
1.2. Document Structure ...................................................................................................................... 8
1.3. Typographical Conventions ............................................................................................................ 8
1.3.1. Fonts ............................................................................................................................... 8
1.3.2. Command Entry Examples .................................................................................................. 9
1.3.3. Icons ............................................................................................................................... 9
1.4. Acknowledgements ...................................................................................................................... 9
1.5. Safety Precautions ...................................................................................................................... 10
1.6. Handling Precautions .................................................................................................................. 10
1.7. Software Usage Precautions ......................................................................................................... 10
1.8. Trademarks ............................................................................................................................... 11
2. Before Getting Started ........................................................................................................................... 12
2.1. Layout Diagram ......................................................................................................................... 12
2.2. Preparation ............................................................................................................................... 13
2.3. Connections .............................................................................................................................. 13
2.3.1. microSD Insertion ............................................................................................................ 13
2.4. Jumper Pin Configuration ............................................................................................................ 14
2.5. Serial Console Software Configuration ........................................................................................... 14
3. Startup and Shutdown ............................................................................................................................ 15
3.1. Startup ..................................................................................................................................... 15
3.2. Login ....................................................................................................................................... 18
3.3. Shutdown Method ...................................................................................................................... 18
4. Network .............................................................................................................................................. 20
4.1. Default Network Connection Mechanisms ...................................................................................... 20
4.1.1. DHCP Connections .......................................................................................................... 20
4.1.2. Zeroconf Connections ....................................................................................................... 20
4.2. Changing Network Configuration .................................................................................................. 20
4.2.1. Using a Web Browser to Change Network Configuration ........................................................ 21
4.2.2. Logging In to Change Network Configuration ....................................................................... 21
4.2.3. Checking The Connection ................................................................................................. 22
4.3. Firewall .................................................................................................................................... 22
4.4. Network Applications ................................................................................................................. 22
4.4.1. Telnet ............................................................................................................................ 22
4.4.2. FTP ............................................................................................................................... 23
4.4.3. SSH .............................................................................................................................. 23
4.4.4. Web Server ..................................................................................................................... 24
4.4.5. NTP Client ..................................................................................................................... 24
4.4.6. SMTP Client ................................................................................................................... 24
4.4.7. at-cgi ............................................................................................................................. 25
4.5. Using Bonjour ........................................................................................................................... 39
4.5.1. Installing Bonjour ............................................................................................................ 39
4.5.2. Operational Check ........................................................................................................... 41
4.5.3. Bonjour Hostnames .......................................................................................................... 42
5. Storage ............................................................................................................................................... 43
5.1. Devices Which Can Be Used As Storage ........................................................................................ 43
5.2. Storage Initialization and Mounting ............................................................................................... 43
5.2.1. Disk Initialization ............................................................................................................ 43
5.2.2. Filesystem Creation .......................................................................................................... 44
5.2.3. Mounting ....................................................................................................................... 44
5.3. Storage Operational Check ........................................................................................................... 44
5.3.1. Writing Data ................................................................................................................... 44
5.3.2. Checking Data ................................................................................................................ 45
Armadillo-420 Basic Model Development Set Startup Guide Startup Guide
3

6. Input Devices ....................................................................................................................................... 46
6.1. evtest ....................................................................................................................................... 46
6.2. swmgr ...................................................................................................................................... 46
6.3. swmgr Example ......................................................................................................................... 47
7. Other Devices ...................................................................................................................................... 48
7.1. LED ........................................................................................................................................ 48
7.1.1. Activating and Deactivating LEDs ...................................................................................... 48
7.1.2. Using Triggers ................................................................................................................ 48
7.2. GPIO ....................................................................................................................................... 49
7.2.1. Changing I/O Direction ..................................................................................................... 50
7.2.2. Obtaining Input Level ....................................................................................................... 50
7.2.3. Configuring Output Level .................................................................................................. 50
7.3. RTC ........................................................................................................................................ 50
7.3.1. Setting System Clock With date .......................................................................................... 51
7.3.2. Setting System Clock With NTP Client ................................................................................ 51
7.3.3. Setting Hardware Clock .................................................................................................... 51
7.4. UVC Compatible Web Cameras .................................................................................................... 51
8. Boot Modes and Bootloader Functions ...................................................................................................... 53
8.1. Boot Mode Selection ................................................................................................................... 53
8.2. Linux Kernel Boot Option Configuration ........................................................................................ 53
8.2.1. Console Configuration ...................................................................................................... 53
8.2.2. Specifying Image File To Boot ........................................................................................... 54
8.2.3. Other Boot Options .......................................................................................................... 54
8.2.4. Boot Option Configuration Examples .................................................................................. 54
9. Config Region - Configuration File Storage ............................................................................................... 55
9.1. Reading From The Config Region ................................................................................................. 55
9.2. Saving To The Config Region ...................................................................................................... 55
9.3. Initializing The Config Region ...................................................................................................... 55
10. Troubleshooting .................................................................................................................................. 56
10.1. The Armadillo Will Not Boot ...................................................................................................... 56
10.2. The Armadillo Cannot Be Found With Bonjour .............................................................................. 56
10.3. The Screen Does Not Display After Changing The Network Configuration .......................................... 56
Armadillo-420 Basic Model Development Set Startup Guide Startup Guide
4

2.1. Layout Diagram ................................................................................................................................. 12
2.2. Connection Diagram ........................................................................................................................... 13
2.3. microSD Insertion Diagram .................................................................................................................. 14
3.1. Boot Log .......................................................................................................................................... 15
3.2. Shutdown Method .............................................................................................................................. 18
4.1. Static IP Address Configuration ............................................................................................................ 21
4.2. DHCP Configuration .......................................................................................................................... 21
4.3. DNS Server Configuration ................................................................................................................... 21
4.4. Enabling Configuration ....................................................................................................................... 22
4.5. Ping Confirmation .............................................................................................................................. 22
4.6. iptables ............................................................................................................................................ 22
4.7. telnet ............................................................................................................................................... 22
4.8. ftp ................................................................................................................................................... 23
4.9. Starting sshd ...................................................................................................................................... 23
4.10. ssh ................................................................................................................................................. 23
4.11. ntpclient .......................................................................................................................................... 24
4.12. mail ............................................................................................................................................... 24
4.13. Hostname Configuration Confirmation ................................................................................................. 24
4.14. AT Admin: Overview ........................................................................................................................ 25
4.15. AT Admin: System Username / Password Authorization .......................................................................... 26
4.16. AT Admin: System - System Overview ................................................................................................ 28
4.17. AT Admin: System - Network ............................................................................................................. 30
4.18. AT Admin: System - Network Update .................................................................................................. 32
4.19. AT Admin: System - Password ............................................................................................................ 33
4.20. AT Admin: System - Firmware ........................................................................................................... 34
4.21. AT Admin: System - Updating Firmware .............................................................................................. 36
4.22. AT Admin: System - Save & Load ....................................................................................................... 37
4.23. AT Admin: System - Reload ............................................................................................................... 38
4.24. AT Admin: System - Reboot ............................................................................................................... 39
4.25. Internet Explorer Explorer Bar Configuration ......................................................................................... 41
4.26. "Bonjour" Explorer Bar ..................................................................................................................... 41
4.27. Web Server Top Page ........................................................................................................................ 42
5.1. Disk Initialization Method ................................................................................................................... 43
5.2. Filesystem Creation ............................................................................................................................ 44
5.3. Mount Method ................................................................................................................................... 44
5.4. Writing Data To Storage ...................................................................................................................... 45
5.5. Writing Data To Storage ...................................................................................................................... 45
5.6. Storage Data Check ............................................................................................................................ 45
6.1. evtest Command Format ...................................................................................................................... 46
6.2. swmgr Command Format ..................................................................................................................... 46
6.3. swmgr Example 1 ............................................................................................................................... 47
7.1. Turning LED5 On .............................................................................................................................. 48
7.2. Turning LED5 Off .............................................................................................................................. 48
7.3. Displaying LED5 State ........................................................................................................................ 48
7.4. Specifying timer As Trigger For LED3 ................................................................................................... 49
7.5. Displaying LED3 Timer ...................................................................................................................... 49
7.6. Obtaining CON9_1 Input Level ............................................................................................................ 50
7.7. Configuring CON9_2 Output Level ....................................................................................................... 50
7.8. MJPG-Streamer Demo Page ................................................................................................................. 52
8.1. Linux Kernel Boot Option Clear ............................................................................................................ 53
8.2. Console Designation ........................................................................................................................... 53
8.3. Boot Option Configuration Example 1 .................................................................................................... 54
9.1. Reading From The Config Region ......................................................................................................... 55
Armadillo-420 Basic Model Development Set Startup Guide Startup Guide
5

9.2. Saving To The Config Region .............................................................................................................. 55
9.3. Config Region Initialization ................................................................................................................. 55
Armadillo-420 Basic Model Development Set Startup Guide Startup Guide
6

1.1. Fonts ................................................................................................................................................. 9
1.2. Relationship Between Prompt and Execution Environment ........................................................................... 9
1.3. Abbreviations Used In Command Entry Examples ...................................................................................... 9
2.1. Serial Communication Configuration ..................................................................................................... 14
3.1. Serial Console Login Username and Password ......................................................................................... 18
4.1. Static IP Address Configuration Example ............................................................................................... 21
4.2. Username for Telnet Login .................................................................................................................. 22
4.3. Username for FTP Login ..................................................................................................................... 23
4.4. Username for ssh Login ....................................................................................................................... 23
4.5. Armadillo-420 Bonjour Links ............................................................................................................... 41
5.1. Storage Devices ................................................................................................................................. 43
6.1. Input Device Files .............................................................................................................................. 46
6.2. Buttons Supported By swmgr ............................................................................................................... 46
7.1. LEDs and LED Class Directories .......................................................................................................... 48
7.2. trigger Configuration .......................................................................................................................... 49
7.3. GPIO and GPIO Class Directories ......................................................................................................... 49
7.4. direction Configuration ....................................................................................................................... 50
8.1. Boot Modes ...................................................................................................................................... 53
8.2. Console Configuration Effect On Output Destination ................................................................................ 54
Armadillo-420 Basic Model Development Set Startup Guide Startup Guide
7

1. Preface
Thank you for purchasing the Armadillo-420 Basic Model Development Set.
The Armadillo-420 Basic Model is comprised of the Armadillo-420 CPU board and the Armadillo-400 RTC Option
Module.
The Armadillo-420 is a small form factor general purpose CPU board which along with the Freescale ARM9 processor
"i.MX257", LPDDR SDRAM and flash memory, also incorporates interfaces which are often required for embedded
devices, such as serial, LAN, USB 2.0, microSD and GPIO. Armadillo-420 keeps pin compatibility with the existing
Armadillo-220 model while at the same time also offering improved performance and even lower power consumption.
The Armadillo-400 RTC Option Module can be connected to Armadillo-420 or Armadillo-440 to add RTC functionality.
Linux is employed as the standard operating system on Armadillo-420, providing access to a rich array of software
resources. It is also possible to create and run original programs with C and other programming languages. For information
on how to customize software, please refer to the "Armadillo-400 Series Software Manual."
This document contains precautions for use and explanations on how to use the software functionality available in the
default state as at time of purchase. On obtaining the Armadillo-420 Basic Model Development Set, please check the
operation of all hardware and the use of the default software.
The product name "Armadillo" will be used in descriptions that apply to the whole Armadillo Series for the remainder
of this document.
1.1. Who Should Read This Document
• Those undertaking a hardware operation check
• Those seeking to understand basic software use
We hope that this document will prove to be useful to others as well.
1.2. Document Structure
This document describes the basic usage of Armadillo.
The main areas covered are listed below.
• Connections
• Startup and Shutdown
• Configuration
• Application usage
1.3. Typographical Conventions
1.3.1. Fonts
Fonts are used in the following ways in this document.
Armadillo-420 Basic Model Development Set Startup Guide Preface
8

1.1 Fonts
Font Example Description
Plain text font Used for standard text
[PC ~]$ ls Shell prompt and user input text
text Text that is either displayed, is to be edited, or is a comment
1.3.2. Command Entry Examples
The command entry examples in this document all have an assumed execution environment which is reflected in the
displayed prompt. The directory part “/”will differ depending on the current directory. The home directory of each user is
represented by “~”.
1.2 Relationship Between Prompt and Execution Environment
Prompt Command Execution Environment
[PC /]# To be executed by a privileged user on the work PC
[PC /]$ To be executed by a general user on the work PC
[armadillo /]# To be executed by a privileged user on Armadillo
[armadillo /]$ To be executed by a general user on Armadillo
hermit> To be executed on Armadillo in maintenance mode
Commands that may change or vary depending on the relevant environment are written as shown below. Please adjust
the commands as necessary.
1.3 Abbreviations Used In Command Entry Examples
Notation Description
[version] File version number
1.3.3. Icons
Icons are used in the following way in this document.
This is used for precautions.
This is used for helpful information.
1.4. Acknowledgements
The software used on Armadillo is composed from Free Software / Open Source Software. This Free Software / Open
Source Software is the result of efforts from developers from all over the world. We would like to take this opportunity to
express our gratitude.
Armadillo-420 Basic Model Development Set Startup Guide Preface
9

1.5. Safety Precautions
In order to use this product safely, please take special note of the following precaution.
This product uses semiconductor components designed for generic electronics
equipment such as office automation equipment, communications equipment,
measurement equipment and machine tools. Do not incorporate the product into
devices such as medical equipment, traffic control systems, combustion control
systems, safety equipment and so on which can directly threaten human life or pose
a hazard to the body or property due to malfunction or failure. Moreover, products
incorporating semiconductor components can be caused to malfunction or fail due
to foreign noise or surge. To ensure there will be no risk to life, the body or property
even in the event of malfunction or failure, be sure to take all possible measures in
safety system design, such as using protection circuits like limit switches or fuse
breakers, or system redundancy.
1.6. Handling Precautions
Please pay attention to the following points when handling the product in order to avoid causing any irreversible damage.
Areas Easily Damaged The microSD connector and its cover can be easily damaged. Please be careful
not to damage them by handling them with too much force.
Modifications To This Product Please take note that any modifications[1] made to this product are not covered
under warranty. Also, please ensure to undertake a full operational check of this
product before carrying out any modifications or mounting connectors[2].
Mounting and Dismounting of
Connectors While Powered On Apart from hot-pluggable interfaces (LAN, USB), do not under any
circumstances add or remove connectors while power is supplied to this product
or peripheral circuits.
Static Electricity As CMOS devices are used in this product, please store it in antistatic packaging
(such as that it was shipped in) until time of use.
Latchup Excessivenoiseorasurgefromthepowersupplyorinput/output,orsharpvoltage
fluctuations can lead to the CMOS devices incorporated in the board causing a
latch-up.Once thelatch-up occurs,this situationcontinues untilthe powersupply
is disconnected, and therefore can damage the devices. Measures such as adding
a protection circuit to noise-susceptible input/output lines or not sharing the
powersupplywithdevicesthatcanbethecauseofnoisearehighlyrecommended.
Physical Stress Please avoid strong physical stress such as drops or other impacts.
1.7. Software Usage Precautions
About Software Contained In This
Product The software and documentation contained in this product is provided “AS IS”
without warranty of any kind including warranty of merchantability or fitness for
a particular purpose, reliability, correctness or accuracy. Furthermore, no
guaranteeismadeinregardtoanyoutcomesresultingfromtheuseofthisproduct.
[1]With the exception of adding connectors to unmounted interfaces.
[2]Whenmountingconnectors,pleaseensuretoapplymasking, avoidsolderresiduecomingincontact withsurroundingpartsandavoidcreating solderballs.
Armadillo-420 Basic Model Development Set Startup Guide Preface
10

1.8. Trademarks
Armadillo is a registered trademark of Atmark Techno, Inc. All other company names, product names and related
trademarks are the property of their respective owners.
Armadillo-420 Basic Model Development Set Startup Guide Preface
11

2. Before Getting Started
2.1. Layout Diagram
The position of each interface is shown in 製製 2.1. Layout Diagram製.
2.1 Layout Diagram
Serial Interfaces 2 and 3 have +3.3V I/O levels. They can be used at RS232C levels
by connecting the RS232C level conversion adapter included in the Development
Set.
When using the RS232C level conversion adapter, please connect pin 1 (the yellow
or green wire) to CON9 1 for Serial Interface 2 and to CON9 2 for Serial Interface
3.
Armadillo-420 Basic Model Development Set Startup Guide Before Getting Started
12

2.2. Preparation
Please prepare the following items before using the Armadillo.
Work PC and Serial Cross Cable A PC that runs either Linux or Windows and has at least one serial port, and a D-
Sub 9 pin (female-to-female) serial cross connection cable. Please install a serial
console program[1] on the work PC (software for Linux is contained in the tool
directory on the included DVD).
Network Environment Please connect the Armadillo and Work PC so that they can communicate via a
network.
2.3. Connections
An example of the connections between the Armadillo and Work PC is shown in 製製 2.2. Connection Diagram製.
2.2 Connection Diagram
2.3.1. microSD Insertion
CON1 is a hinge type connector. The cover on the connector must be opened in order to insert and remove the card. When
opening, the cover should first be unlocked by sliding the upper part of the connector horizontally in the direction shown
by the OPEN arrow.
[1]For example, "minicom" for Linux and "Tera Term" for Windows.
Armadillo-420 Basic Model Development Set Startup Guide Before Getting Started
13

2.3 microSD Insertion Diagram
Please be aware that the connector may be damaged if excessive force is applied.
2.4. Jumper Pin Configuration
There will be no need to change jumper pins other than JP2 in this document. Please leave JP1 in an open state. It will
be noted when any change to JP2 is required. Set it to an open state now.
The position of the jumper pins can be seen in 製製 2.1. Layout Diagram製.
2.5. Serial Console Software Configuration
Start the serial console program and configure the connection as shown in 製製 2.1. Serial Communication Configuration製.
2.1 Serial Communication Configuration
Item Configuration
Transmission Rate 115,200bps
Data Length 8bit
Stop Bit 1bit
Parity None
Flow Control None
Armadillo-420 Basic Model Development Set Startup Guide Before Getting Started
14

3. Startup and Shutdown
3.1. Startup
Connect the power supply to the Armadillo. The boot log shown below will be displayed in the serial console program.
Hermit-At v2.0.0 (armadillo4x0) compiled at 23:03:08, Mar 08 2010
Uncompressing
kernel...........................................................................
...................................done.
Uncompressing
ramdisk..........................................................................
.................................................................................
............................................................
.................................................................................
.................................................................................
...........................................done.
Linux version 2.6.26-at8 (2.6.26) (atmark@atde3) (gcc version 4.3.2 (Debian
4.3.2-1.1) ) #1 PREEMPT Mon Apr 26 18:11:22 JST 2010
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
Machine: Armadillo-420
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttymxc1,115200
MXC IRQ initialized
PID hash table entries: 256 (order: 8, 1024 bytes)
MXC GPT timer initialized, rate = 12000000
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 47892KB available (3248K code, 223K data, 128K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 480 bytes
NET: Registered protocol family 16
MXC WDOG1 Enabled
CPU is i.MX25 Revision 1.0
Clock input source is 24000000
MXC GPIO hardware
Using SDMA I.API
MXC DMA API initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
MXC I2C driver
MXC I2C driver
MXC I2C driver
MC34704 regulator successfully probed
Armadillo-420 Basic Model Development Set Startup Guide Startup and Shutdown
15

mc34704 0-0054: Loaded
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an
initrd
Freeing initrd memory: 13410K
usb: Host 2 host (serial) registered
usb: DR host (utmi) registered
msgmni has been set to 119
io scheduler noop registered
io scheduler cfq registered (default)
Serial: MXC Internal UART driver
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
console [ttymxc1] enabled
mxcintuart.2: ttymxc2 at MMIO 0x5000c000 (irq = 18) is a Freescale MXC
mxcintuart.4: ttymxc4 at MMIO 0x5002c000 (irq = 40) is a Freescale MXC
brd: module loaded
loop: module loaded
FEC Ethernet Driver
PPP generic driver version 2.4.2
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
Driver 'sd' needs updating - please use bus_type methods
armadillo-nor: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Using auto-unlock on power-up/resume
cfi_cmdset_0001: Erase suspend on write enabled
armadillo-nor: use default partitions(4)
Creating 4 MTD partitions on "armadillo-nor":
0x00000000-0x00020000 : "nor.bootloader"
0x00020000-0x00220000 : "nor.kernel"
0x00220000-0x00fe0000 : "nor.userland"
0x00fe0000-0x01000000 : "nor.config"
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 35, io mem 0x53ff4400
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 37, io mem 0x53ff4000
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Armadillo-420 Basic Model Development Set Startup Guide Startup and Shutdown
16

Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
input: gpio-keys as /devices/platform/gpio-keys.0/input/input0
rtc-s353xxa 1-0030: rtc core: registered rtc-s353xxa as rtc0
rtc-s353xxa: S-353XXA Real Time Clock class driver, (C) 2008 Atmark Techno, Inc.
i2c /dev entries driver
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 159 irq 9 INTERNAL DMA
Registered led device: red
Registered led device: green
Registered led device: yellow
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.16.
usbcore: registered new interface driver snd-usb-audio
usbcore: registered new interface driver snd-usb-caiaq
ASoC version 0.13.2
ALSA device list:
No soundcards found.
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Static Power Management for Freescale i.MX25
rtc-s353xxa 1-0030: setting system clock to 2010-04-26 12:16:26 UTC (1272284186)
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 13410KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 128K
init started: BusyBox v1.00 (2010.04.26-09:15+0000) multi-call binary
Starting fsck for root filesystem.
fsck 1.25 (20-Sep-2001)
ext2fs_check_if_mount: No such file or directory while determining whether /dev/
ram0 is mounted.
/dev/ram0: clean, 938/1136 files, 12225/13410 blocks
Checking root filesystem: done
Remounting root rw: done
Mounting proc: done
Mounting usbfs: done
Mounting sysfs: done
Cleaning up system: done
Running local start scripts.
Starting udevd: done
Loading /etc/config: done
Changing file permissions: done
Configure /home/ftp: done
Starting syslogd: done
Starting klogd: done
Starting basic firewall: done
Setting hostname: done
Configuring network interfaces: udhcpc (v0.9.9-pre) started
fec: PHY @ 0x0, ID 0x0007c0f1 -- LAN8720
Sending discover...
eth0: link down
eth0: link up, 100Mbps, full-duplex
Sending discover...
Armadillo-420 Basic Model Development Set Startup Guide Startup and Shutdown
17

Sending select for 172.16.2.130...
Lease of 172.16.2.130 obtained, lease time 86400
done
Starting inetd: done
Setting at-cgi: done
Starting lighttpd: done
Creating avahi.services: done
Starting avahi.daemon: done
Mounting ramfs /home/ftp/pub: done
atmark-dist v1.26.0 (AtmarkTechno/Armadillo-420)
Linux 2.6.26-at8 [armv5tejl arch]
armadillo420-0 login:
3.1 Boot Log
3.2. Login
The login prompt will be displayed once the boot has completed. The usernames shown in 製製 3.1. Serial Console Login
Username and Password製 can be used to login.
3.1 Serial Console Login Username and Password
Username Password Permissions
root root root user
guest None general user
3.3. Shutdown Method
To perform a safe shutdown, execute the command shown below, wait until the "The system is halted." message is
displayed and then disconnect the power supply.
[armadillo ~]# halt
[armadillo ~]#
System is going down for system reboot now.
Starting local stop scripts.
Exiting Syslogd!
Syncing all filesystems: done
Unmounting all filesystems: done
The system is going down NOW !!
Sending SIGTERM to all processes.
The system is halted. Press Reset or turn off power
3.2 Shutdown Method
When not using removable storage, it is possible to perform a shutdown by just disconnecting the power supply.
Armadillo-420 Basic Model Development Set Startup Guide Startup and Shutdown
18

Disconnecting the power supply while data is being written to removable storage
may result in the filesystem or the data being damaged. Be sure to unmount
removable storage first before disconnecting the power supply.
Armadillo-420 Basic Model Development Set Startup Guide Startup and Shutdown
19

4. Network
This chapter explains the default network configuration and how to change this configuration, and also explains how to
use the included network applications.
4.1. Default Network Connection Mechanisms
In its default state, the Armadillo is configured to have an IP address assigned to it automatically with either DHCP or
Zeroconf so that it can connect to the network. The PC side network connection must also be configured so that it too
correctly connects to the same network as the Armadillo.
4.1.1. DHCP Connections
When the Armadillo automatically connects to the network, it first attempts to use DHCP. When a DHCP server is present
on the network, an IP address is assigned to the Armadillo by the DHCP server.
If the PC also uses DHCP in the same way, it will by default connect to the same network as the Armadillo.
4.1.2. Zeroconf Connections
If no DHCP server is found, the Armadillo uses a mechanism called Zeroconf (IPv4LL)[1] to obtain an IP address.
Zeroconf uses an address from a specific range (169.254.0.1 - 169.254.255.254) with a subnet mask of 255.255.0.0. This
IP address block is reserved by IANA (Internet Assigned Numbers Authority).
To connect with an Armadillo configured this way, the PC must connect to the same network. If Zeroconf is also used
on the PC side, it of course can do so without problem.
If Zeroconf cannot be used on the PC side, it is also possible to perform the configuration required to connect to the
Zeroconf network by using a static IP address. The PC can be made to connect to the same Zeroconf network by using an
IP address from the 169.254.0.1 - 169.254.255.254 range with a subnet mask of 255.255.0.0.
While it is possible that a static IP address selected at random will overlap with the one selected by the Armadillo, this
willnot bea problem.As theZeroconf on theArmadillo willdetect transmissionfrom anotherhost usingthe sameIP address
and quickly change its own IP address, the Armadillo and PC will be able to differentiate each other after a brief period of
time.
4.2. Changing Network Configuration
The following explains how to change the network settings on the Armadillo.
Please consult a network administrator for help with network connections.
[1]Zeroconf is called Automatic Private IP Addressing (APIPA) in Windows.
Armadillo-420 Basic Model Development Set Startup Guide Network
20
Table of contents
Other Atmark Techno Microcontroller manuals
Popular Microcontroller manuals by other brands

Joy-it
Joy-it ARD_Mega2560R3 manual

Silicon Laboratories
Silicon Laboratories C8051F12 Series manual

Texas Instruments
Texas Instruments CDT370 user guide

Digi
Digi ConnectCore 8X Hardware Design Guidelines and Checklist

Cmsemicon
Cmsemicon BAT32A2 9 Series user manual

NXP Semiconductors
NXP Semiconductors MPC5777M Safety manual