Atmark Techno Armadillo-440 User guide

Armadillo-440 LCD Model Development
Set
Startup Guide
A4400-D00Z
Version 1.1.5
2012/02/29
Atmark Techno, Inc.
Armadillo Site

Armadillo-440 LCD Model Development Set Startup Guide
Atmark Techno, Inc.
060-0035 AFT Bldg., N5E2, Chuo-ku, Sapporo
TEL 011-207-6550 FAX 011-207-6570
Copyright © 2010-2012 Atmark Techno, Inc.
Version 1.1.5
2012/02/29

Table of Contents
1. Preface ................................................................................................................................................. 8
1.1. Document and Related Files Versions .............................................................................................. 8
1.2. Who Should Read This Document ................................................................................................... 8
1.3. Document Structure ...................................................................................................................... 8
1.4. Typographical Conventions ............................................................................................................ 9
1.4.1. Fonts ............................................................................................................................... 9
1.4.2. Command Entry Examples .................................................................................................. 9
1.4.3. Icons ............................................................................................................................... 9
1.5. Acknowledgements .................................................................................................................... 10
2. Precautions .......................................................................................................................................... 11
2.1. Safety Precautions ...................................................................................................................... 11
2.2. Handling Precautions .................................................................................................................. 12
2.3. Software Usage Precautions ......................................................................................................... 12
2.4. Write Prohibited Regions ............................................................................................................. 13
2.5. Electromagnetic Interference ........................................................................................................ 13
2.6. Warranty .................................................................................................................................. 13
2.7. Exporting .................................................................................................................................. 14
2.8. Trademarks ............................................................................................................................... 14
3. Before Getting Started ........................................................................................................................... 15
3.1. Layout Diagram ......................................................................................................................... 15
3.2. Preparation ............................................................................................................................... 17
3.3. Connections .............................................................................................................................. 17
3.3.1. microSD Insertion ............................................................................................................ 18
3.4. Jumper Pin Configuration ............................................................................................................ 18
3.5. Serial Console Software Configuration ........................................................................................... 18
4. Startup and Shutdown ............................................................................................................................ 19
4.1. Startup ..................................................................................................................................... 19
4.2. Login ....................................................................................................................................... 22
4.3. Shutdown Method ...................................................................................................................... 22
5. Function Tests ...................................................................................................................................... 24
5.1. LED ........................................................................................................................................ 24
5.2. Buttons .................................................................................................................................... 25
5.3. Touch Screen ............................................................................................................................ 25
5.4. Backlight .................................................................................................................................. 26
5.5. Sound ...................................................................................................................................... 26
5.5.1. Playing Back Sound ......................................................................................................... 27
5.5.2. Recording Sound ............................................................................................................. 27
5.6. RTC (Real-Time Clock) .............................................................................................................. 27
5.7. Stopping the Function Test Application from Starting ....................................................................... 28
6. Network .............................................................................................................................................. 29
6.1. Default Network Connection Mechanisms ...................................................................................... 29
6.1.1. DHCP Connections .......................................................................................................... 29
6.1.2. Zeroconf Connections ....................................................................................................... 29
6.2. Changing Network Configuration .................................................................................................. 29
6.2.1. Using a Web Browser to Change Network Configuration ........................................................ 29
6.2.2. Logging In to Change Network Configuration ....................................................................... 30
6.2.3. Checking the Connection .................................................................................................. 30
6.3. Firewall .................................................................................................................................... 31
6.4. Network Applications ................................................................................................................. 31
6.4.1. Telnet ............................................................................................................................ 31
6.4.2. FTP ............................................................................................................................... 32
6.4.3. SSH .............................................................................................................................. 32
6.4.4. Web Server ..................................................................................................................... 33
Armadillo-440 LCD Model Development Set Startup Guide Startup Guide
3

6.4.5. NTP Client ..................................................................................................................... 33
6.4.6. SMTP Client ................................................................................................................... 33
6.4.7. at-cgi ............................................................................................................................. 34
6.5. Using Bonjour ........................................................................................................................... 48
6.5.1. Installing Bonjour ............................................................................................................ 49
6.5.2. Operational Check ........................................................................................................... 50
6.5.3. Bonjour Hostnames .......................................................................................................... 51
7. Storage ............................................................................................................................................... 52
7.1. Devices Which Can Be Used as Storage ......................................................................................... 52
7.2. Using Storage ............................................................................................................................ 52
7.3. Changing and Formatting Storage Partitions .................................................................................... 53
8. Sound ................................................................................................................................................. 55
8.1. Sound Functionality with ALSA ................................................................................................... 55
8.1.1. Playing Back Sound ......................................................................................................... 55
8.1.2. Recording ...................................................................................................................... 56
8.1.3. Changing Volume ............................................................................................................ 56
9. Input Devices ....................................................................................................................................... 57
9.1. evtest ....................................................................................................................................... 57
9.2. swmgr ...................................................................................................................................... 57
9.3. swmgr Example ......................................................................................................................... 58
10. Other Devices ..................................................................................................................................... 59
10.1. LED ....................................................................................................................................... 59
10.1.1. Activating and Deactivating LEDs .................................................................................... 59
10.1.2. Using Triggers ............................................................................................................... 59
10.2. GPIO ..................................................................................................................................... 60
10.2.1. Changing I/O Direction ................................................................................................... 61
10.2.2. Obtaining Input Level ..................................................................................................... 61
10.2.3. Configuring Input Level .................................................................................................. 61
10.3. RTC ....................................................................................................................................... 61
10.3.1. Setting System Clock with date ......................................................................................... 61
10.3.2. Setting System Clock with NTP Client ............................................................................... 62
10.3.3. Setting Hardware Clock .................................................................................................. 62
11. Boot Modes and Bootloader Functions .................................................................................................... 63
11.1. Boot Mode Selection ................................................................................................................. 63
11.2. Linux Kernel Boot Option Configuration ...................................................................................... 63
11.2.1. Console Configuration .................................................................................................... 64
11.2.2. Specifying Image File to Boot .......................................................................................... 65
11.2.3. Other Boot Options ........................................................................................................ 65
11.2.4. Boot Option Configuration Examples ................................................................................. 65
11.3. Note on Bootloader Versions ...................................................................................................... 65
12. Config Region - Configuration File Storage ............................................................................................. 66
12.1. Reading from the Config Region ................................................................................................. 66
12.2. Saving to the Config Region ....................................................................................................... 66
12.3. Initializing the Config Region ..................................................................................................... 66
13. Troubleshooting .................................................................................................................................. 68
13.1. The Armadillo Will Not Boot ...................................................................................................... 68
13.2. The Armadillo Cannot Be Found with Bonjour ............................................................................... 68
13.3. The Screen Does Not Display After Changing the Network Configuration ........................................... 68
Armadillo-440 LCD Model Development Set Startup Guide Startup Guide
4

List of Figures
3.1. Layout Diagram ................................................................................................................................. 16
3.2. Connection Diagram ........................................................................................................................... 17
3.3. microSD Insertion Diagram .................................................................................................................. 18
4.1. Boot Log .......................................................................................................................................... 19
4.2. Shutdown Method .............................................................................................................................. 23
5.1. Function Tests - Menu ......................................................................................................................... 24
5.2. Function Tests - LEDs ......................................................................................................................... 25
5.3. Function Tests - Buttons ...................................................................................................................... 25
5.4. Function Tests - Touch Screen .............................................................................................................. 26
5.5. Function Tests - Backlight ................................................................................................................... 26
5.6. Function Tests - Sound ........................................................................................................................ 27
5.7. Function Tests - RTC .......................................................................................................................... 27
5.8. Stopping Automatic Startup ................................................................................................................. 28
5.9. Starting Automatic Startup ................................................................................................................... 28
6.1. Static IP Address Configuration ............................................................................................................ 30
6.2. DHCP Configuration .......................................................................................................................... 30
6.3. DNS Server Configuration ................................................................................................................... 30
6.4. Enabling Configuration ....................................................................................................................... 31
6.5. Ping Confirmation .............................................................................................................................. 31
6.6. iptables ............................................................................................................................................ 31
6.7. telnet ............................................................................................................................................... 31
6.8. ftp ................................................................................................................................................... 32
6.9. Starting sshd ...................................................................................................................................... 32
6.10. ssh ................................................................................................................................................. 32
6.11. ntpclient .......................................................................................................................................... 33
6.12. mail ............................................................................................................................................... 33
6.13. AT Admin: Overview ........................................................................................................................ 34
6.14. AT Admin: System Username / Password Authorization .......................................................................... 35
6.15. AT Admin: System - System Overview ................................................................................................ 37
6.16. AT Admin: System - Network ............................................................................................................. 39
6.17. AT Admin: System - Network Update .................................................................................................. 41
6.18. AT Admin: System - Password ............................................................................................................ 42
6.19. AT Admin: System - Firmware ........................................................................................................... 43
6.20. AT Admin: System - Updating Firmware .............................................................................................. 45
6.21. AT Admin: System - Save & Load ....................................................................................................... 46
6.22. AT Admin: System - Reload ............................................................................................................... 47
6.23. AT Admin: System - Reboot ............................................................................................................... 48
6.24. Internet Explorer Explorer Bar Configuration ......................................................................................... 50
6.25. "Bonjour" Explorer Bar ..................................................................................................................... 50
6.26. Web Server Top Page ........................................................................................................................ 51
7.1. mount Command Format ..................................................................................................................... 52
7.2. Mounting Storage ............................................................................................................................... 52
7.3. Unmounting Storage ........................................................................................................................... 53
7.4. Altering Partitions with the fdisk Command ............................................................................................ 53
7.5. EXT3 Filesystem Creation ................................................................................................................... 54
8.1. Playing Back Sound ............................................................................................................................ 56
8.2. Recording Sound ................................................................................................................................ 56
8.3. Checking Volumes ............................................................................................................................. 56
8.4. Changing Volume .............................................................................................................................. 56
9.1. evtest Command Format ...................................................................................................................... 57
9.2. swmgr Command Format ..................................................................................................................... 57
9.3. swmgr Example 1 ............................................................................................................................... 58
9.4. swmgr Example 2 ............................................................................................................................... 58
Armadillo-440 LCD Model Development Set Startup Guide Startup Guide
5

10.1. Turning LED5 On ............................................................................................................................. 59
10.2. Turning LED5 Off ............................................................................................................................ 59
10.3. Displaying LED5 State ...................................................................................................................... 59
10.4. Specifying timer as Trigger for LED3 ................................................................................................... 60
10.5. Displaying LED3 Timer ..................................................................................................................... 60
10.6. Obtaining CON9_1 Input Level ........................................................................................................... 61
10.7. Configuring CON9_2 Input Level ........................................................................................................ 61
11.1. Linux Kernel Boot Option Clear .......................................................................................................... 63
11.2. Console Designation ......................................................................................................................... 64
11.3. Boot Option Configuration Example 1 .................................................................................................. 65
11.4. Boot Option Configuration Example 2 .................................................................................................. 65
12.1. Reading from the Config Region ......................................................................................................... 66
12.2. Saving to the Config Region ............................................................................................................... 66
12.3. Config Region Initialization ................................................................................................................ 67
Armadillo-440 LCD Model Development Set Startup Guide Startup Guide
6

List of Tables
1.1. Fonts ................................................................................................................................................. 9
1.2. Relationship Between Prompt and Execution Environment ........................................................................... 9
1.3. Abbreviations Used in Command Entry Examples ...................................................................................... 9
3.1. Serial Communication Configuration ..................................................................................................... 18
4.1. Serial Console Login Username and Password ......................................................................................... 22
6.1. Static IP Address Configuration Example ............................................................................................... 30
6.2. Username for Telnet Login .................................................................................................................. 31
6.3. Username for FTP Login ..................................................................................................................... 32
6.4. Username for ssh Login ....................................................................................................................... 32
7.1. Storage Devices ................................................................................................................................. 52
8.1. Control Names ................................................................................................................................... 56
9.1. Input Device Files .............................................................................................................................. 57
9.2. Buttons Supported By swmgr ............................................................................................................... 58
10.1. LEDs and LED Class Directories ......................................................................................................... 59
10.2. trigger Configuration ......................................................................................................................... 60
10.3. GPIO and GPIO Class Directories ....................................................................................................... 60
10.4. direction Configuration ...................................................................................................................... 61
11.1. Boot Mode ...................................................................................................................................... 63
11.2. Console Configuration Effect on Output Destination ............................................................................... 64
Armadillo-440 LCD Model Development Set Startup Guide Startup Guide
7

Chapter 1. Preface
Thank you for purchasing the Armadillo-440 LCD Model Development Set.
The Armadillo-440 LCD Model Development Set is comprised of the "Armadillo-440" which as a CPU board pro-
vides the core functionality, and the "Armadillo-400 Series LCD Expansion Board" which incorporates LCD, touch
screen and audio functionality.
The Armadillo-440 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 de-
vices, such as serial, LAN, USB 2.0, microSD and GPIO. Armadillo-440 keeps pin compatibility with the existing Arma-
dillo-220 model while at the same time also offering improved performance and even lower power consumption.
The Armadillo-400 Series LCD Expansion Board is designed to be connected to the Armadillo-440 and incorporates
the functionality required to create a touch screen computer, including LCD and touch screen interfaces, audio in and out
and button input. As the circuit diagrams for the Armadillo-400 Series LCD Expansion board have been made available,
it is possible to quickly meet various hardware requirements when developing a panel computer by using Armadillo-440
as is and just customizing the expansion board.
Linux is employed as the standard operating system on Armadillo-440, 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 informa-
tion 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-440 LCD Model Development Set, please check the op-
eration 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. Document and Related Files Versions
Forallmanualsincludingthisdocumentandalsoallotherrelatedfilessuchassourcefilesandimagefiles,werecommend
using the newest version available. Before continuing with this document, please check the Armadillo Site (http://armadil-
lo.atmark-techno.com) for information on the latest versions.
1.2. 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.3. Document Structure
This document describes the basic usage of Armadillo.
The main areas covered are listed below.
• Connections
• Startup and Shutdown
Armadillo-440 LCD Model Development Set Startup Guide Preface
8

• Checking hardware operation with the function test application
• Configuration
• Application usage
1.4. Typographical Conventions
1.4.1. Fonts
Fonts are used in the following ways in this document.
Table 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.4.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 “~”.
Table 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.
Table 1.3. Abbreviations Used in Command Entry Examples
Notation Description
[version] File version number
1.4.3. Icons
Icons are used in the following way in this document.
This is used for precautions.
Armadillo-440 LCD Model Development Set Startup Guide Preface
9

This is used for helpful information.
1.5. 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-440 LCD Model Development Set Startup Guide Preface
10

Chapter 2. Precautions
2.1. Safety Precautions
In order to use this product safely, please take special note of the following precautions.
•Be sure to read all product manuals and related documentation before using
thisproduct.Pleaseusethisproductcorrectlyandsafelymakingsuretofollow
all usage precautions.
•Whenoperatingorextendingthisproductinawaynotdescribedintheproduct
manuals, please do so safely and on your own responsibility after having fully
understood the materials on our web site and any other technical information.
•Please do not install this product in a place with a lot of water, moisture, dust
or soot. This could cause a fire, product failure or electric shock.
•Some parts of this product generate heat and can reach high temperatures.
Depending on the surrounding temperature and on how this product is han-
dled, this may cause burns. Please do not touch the electronic components or
the surrounding area while the product is powered on or before it has cooled
down after being powered off.
•When using this product in the development of devices or systems to original
specifications, please carry out the design and development after having thor-
oughly read and fully understood the product manuals and related materials,
the technical information offered on our web site and related device data
sheets. Also, please carry out full tests beforehand in order to provide and
maintain reliability and safety.
•This product is not intended for uses that require extremely high reliability
and safety in terms of functionality and accuracy (such as medical equipment,
traffic control systems, combustion control systems, safety equipment and so
on). If this product is used in these kinds of equipment, devices or systems,
thiscompanywillnotbeheldresponsibleinanywayforanyaccidentresulting
in injury or death, fire or damage and so on.
•Thisproductusessemiconductorcomponentsdesignedforgenericelectronics
equipmentsuch asoffice automationequipment, communicationsequipment,
measurement equipment and machine tools. It is possible that a foreign noise
or surge may cause this product to malfunction or fail. To ensure there will
be no risk to life, the body or property in the event of malfunction or failure,
be sure to take all possible measures in regard to device safety design, such
as using protection circuits like limit switches or fuse breakers, or system
redundancy, and to only use the device after taking measures to ensure suf-
ficient reliability and safety.
Armadillo-440 LCD Model Development Set Startup Guide Precautions
11

•Please do not use products with Wireless LAN functionality in places near
medical devices such as heart pacemakers and hearing aids, automatic control
equipment such as fire alarms and automatic doors, microwave ovens, ad-
vanced electronic equipment or televisions and radios, or near "Premises Ra-
dio Stations" for "Mobile Body Identification" or "Specified Low Power Ra-
dio Stations". The radio waves emitted by this product may cause these types
of devices to malfunction.
2.2. Handling Precautions
Please pay attention to the following points when handling this product in order to avoid causing any irreversible damage.
Areas Easily Damaged The microSD connector and its cover and the connectors of the flat cable from
Armadillo-440 and Armadillo-460 to the LCD Expansion Board 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 Con-
nectors While Powered On Apart from hot-pluggable interfaces (LAN, USB, SD, Mic, Headphone), do not
under any circumstances insert 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 the latch-up occurs,thissituation continues until the 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.
Touch Panel Operation The touch panel LCD module on the LCD expansion board is fixed with flexible
double sided tape. If a strong force is applied to the LCD screen the double sided
tape may give and the LCD frame may touch the board wiring. Please take care
not to push the LCD screen stronger than necessary.
2.3. Software Usage Precautions
About Software Contained In This
Product The software and documentation contained in this product is provided “AS IS”.
The customer is required to assume the responsibility of only using this product
after having fully considered and tested its suitability to the intended purpose and
use. There is no guarantee of fitness for a particular purpose, reliability, correct-
ness and no guarantee of any outcomes resulting from the use of this product.
[1]With the exception of any methods of modification introduced in this and related product manuals, and the mounting of connectors to unmounted
interfaces.
[2]When making modifications or mounting connectors, please ensure to apply masking and avoid solder residue or solder balls coming in contact with
surrounding parts.
Armadillo-440 LCD Model Development Set Startup Guide Precautions
12

2.4. Write Prohibited Regions
The data stored by the EEPROM, CPLD and i.MX257 electrical fuse (e-Fuse) is
used by the software contained in this product. Please do not write to these regions
as the product may stop operating correctly. Purposefully writing to these regions
voids the product warranty.
2.5. Electromagnetic Interference
The Armadillo-400 Series are Class A Information Technology Equipment[3] as
defined under VCCI Council standards. There are cases where this type of equip-
ment can cause electromagnetic interference when used in home environments. In
this situation, the user may be required to take appropriate measures to alleviate the
problem.
The Armadillo-440 LCD Model (Armadillo-440 together with the Armadillo-400
Series LCD Expansion Board fixed on an acrylic board) does not meet the VCCI
standard and can cause electromagnetic interference.
In order to clear Class A when using the Armadillo-400 Series LCD Expansion
Board included in the Armadillo-440 LCD Model, it is necessary to strengthen the
ground of the expansion board. For example, by using a metal instead of acrylic
board or connecting the fixing holes of the Armadillo-440 and the LCD Expansion
Board with a wide conducting line.
Please be aware of the following points when newly designing an expansion board which connects to the LCD interface
on Armadillo-440 or Armadillo-460.
Withanexpansionboardthatincludesadevicethathaslargepowerusefluctuations,
such as with an audio amp, when only the GND line of the flexible flat cable (FCC)
is connected the expansion board may produce electromagnetic noise. To mitigate
the noise, strengthening of the expansion board's ground is recommended. For ex-
ample, by connecting the fixing holes of the Armadillo-440 or Armadillo-460 and
the expansion board GND by metal plate or wide conducting line.
2.6. Warranty
As laid out in the Product Warranty Policy which is provided with this product or available on our web site, the main
boardofthisproductiscoveredbyaone yearreplacementwarranty fromtimeof purchase.Pleasenote thattheotherincluded
goods and software are not covered by the warranty.
[3]Armadillo-420, Armadillo-440 and Armadillo-460 have cleared Class A when tested with the AC adapter included in the Development Set
(UNIFIVE US300520).
Armadillo-440 LCD Model Development Set Startup Guide Precautions
13

Product Warranty Policy http://www.atmark-techno.com/support/warranty-policy
2.7. Exporting
This product has as a general rule been developed and manufactured with the assumption that it will be used within Japan.
When exporting this product, it is the responsibility of the exporter to follow all export related law and carry out all required
procedures. No guarantee is made in regards to whether or not this product conforms to any overseas laws or regulations.
This product and related technology may not be used for the purpose of development of weapons of mass destruction, for
the purpose of military use or other military related uses, or in devices which have had their production, use, sale or pro-
curement prohibited by national or overseas law or regulations.
2.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. ™ and ® marks are omitted.
• The SD, SDHC, microSD, microSDHC and SDIO logos are trademarks of SD-3C, LLC.
Armadillo-440 LCD Model Development Set Startup Guide Precautions
14

Chapter 3. Before Getting Started
3.1. Layout Diagram
The layout diagram of the Armadillo-440 is shown below. Please make sure to confirm the position of each interface.
Armadillo-440 LCD Model Development Set Startup Guide Before Getting Started
15

Figure 3.1. Layout Diagram
Armadillo-440 LCD Model Development Set Startup Guide Before Getting Started
16

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.
3.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.
3.3. Connections
The following is an example of the Armadillo fully connected.
Figure 3.2. Connection Diagram
[1]For example, "minicom" for Linux and "Tera Term" for Windows.
Armadillo-440 LCD Model Development Set Startup Guide Before Getting Started
17

3.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.
Figure 3.3. microSD Insertion Diagram
Please be aware that the connector may be damaged if excessive force is applied.
3.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 Figure 3.1, “Layout Diagram”.
3.5. Serial Console Software Configuration
Start the serial console program and configure the connection as shown in Table 3.1, “Serial Communication Configu-
ration”. Also, please keep the width of the serial communication software to more than 80 characters. The display may
become disordered when entering commands if the width is less than 80 characters.
Table 3.1. Serial Communication Configuration
Item Configuration
Transmission Rate 115,200bps
Data Length 8bit
Stop Bit 1bit
Parity None
Flow Control None
Armadillo-440 LCD Model Development Set Startup Guide Before Getting Started
18

Chapter 4. Startup and Shutdown
4.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-at7 (2.6.26) (atmark@atde3) (gcc version 4.3.2 (Debian ⏎
4.3.2-1.1) ) #2 PREEMPT Wed Mar 10 16:50:52 JST 2010
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
Machine: Armadillo-440
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: 32512
Kernel command line: console=ttymxc1,115200
MXC IRQ initialized
PID hash table entries: 512 (order: 9, 2048 bytes)
MXC GPT timer initialized, rate = 12000000
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 99596KB available (3096K code, 207K 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
Armadillo-440 LCD Model Development Set Startup Guide Startup and Shutdown
19

usbcore: registered new device driver usb
MXC I2C driver
MXC I2C driver
MC34704 regulator successfully probed
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: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
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: 26797K
usb: Host 2 host (serial) registered
usb: DR host (utmi) registered
NetWinder Floating Point Emulator V0.97 (double precision)
msgmni has been set to 247
io scheduler noop registered
io scheduler cfq registered (default)
mx2fb: Unable to set clock to 0
Console: switching to colour frame buffer device 60x17
mxc_sdc_fb mxc_sdc_fb.0: fb0: DISP0 BG fb device registered successfully.
mxc_sdc_fb mxc_sdc_fb.0: fb1: DISP0 FG fb device registered successfully.
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
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-0x01fe0000 : "nor.userland"
0x01fe0000-0x02000000 : "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
Armadillo-440 LCD Model Development Set Startup Guide Startup and Shutdown
20
This manual suits for next models
1
Table of contents
Other Atmark Techno Microcontroller manuals