Arcom Embedded Linux Technical Manual
Arcom Embedded Linux Technical Manual Development Kit CD contents Development Kit CD contents The Development Kit CD contains the following top-leve
Arcom Embedded Linux Technical Manual File system layout File system layout The exact layout of the file system on an AEL system depends on the targ
Arcom Embedded Linux Technical Manual File system layout RAM file system AEL systems make use of a RAM-based file system (tmpfs) mounted on /var/tmp
Arcom Embedded Linux Technical Manual Configuring AEL Configuring AEL Default passwords When AEL is supplied, it is configured with two users, the
Arcom Embedded Linux Technical Manual Configuring AEL Configuring serial ports using setserial You can configure serial ports using the setserial to
Arcom Embedded Linux Technical Manual Configuring AEL Configuring a port on an additional serial board You may have added further serial ports to yo
Arcom Embedded Linux Technical Manual Configuring AEL System startup scripts AEL uses a System V type init process. Scripts are placed in /etc/init.
Arcom Embedded Linux Technical Manual Configuring AEL Making an application run automatically at boot If you want an application to run automaticall
Arcom Embedded Linux Technical Manual Configuring AEL The parameters you can specify are explained in the following table: Parameter Description NAM
Arcom Embedded Linux Technical Manual Configuring AEL Statically configuring an interface The following options are valid for an IPV4 interface that
Arcom Embedded Linux Technical Manual Definitions Arcom is the trading name for Arcom Control Systems Inc and Arcom Control Systems Ltd. Disclaimer T
Arcom Embedded Linux Technical Manual Configuring AEL Wireless network configuration Wireless support under AEL has been tested using a Linksys Wire
Arcom Embedded Linux Technical Manual Configuring AEL Example configuration For a node that is connected to the ABC-Wireless-Network using encryptio
Arcom Embedded Linux Technical Manual Configuring AEL Configuring modprobe The modprobe utility (but not the insmod utility) can be configured to au
Arcom Embedded Linux Technical Manual Configuring AEL Calibrating touchscreens Touchscreen support is provided by tslib, which obtains the raw touch
Arcom Embedded Linux Technical Manual Secure Shell (SSH) Secure Shell (SSH) Introduction to SSH SSH (Secure SHell) is a secure replacement for sever
Arcom Embedded Linux Technical Manual Secure Shell (SSH) Using SSH commands The ssh command The ssh command enables you to remotely login to a machi
Arcom Embedded Linux Technical Manual Secure Shell (SSH) As well as logging in to a remote machine, ssh can run a command on a remote machine withou
Arcom Embedded Linux Technical Manual Secure Shell (SSH) Public key authentication methods In addition to regular password authentication, SSH also
Arcom Embedded Linux Technical Manual Secure Shell (SSH) Port forwarding SSH has the ability to tunnel TCP/IP connections from the local machine to
Arcom Embedded Linux Technical Manual Package management Package management A default installation of AEL can contain several optional packages, suc
Arcom Embedded Linux Technical Manual Contents Contents Introduction ...
Arcom Embedded Linux Technical Manual The X Window System The X Window System AEL makes use of the X.Org release of X11R7.0. This has numerous utili
Arcom Embedded Linux Technical Manual Developing software for AEL Developing software for AEL To ensure that an application is able to run correctly
Arcom Embedded Linux Technical Manual Developing software for AEL Host system requirements table The distributions confirmed as supporting the Arcom
Arcom Embedded Linux Technical Manual Developing software for AEL Notes on host system requirements table The numbers in the Notes column of the tab
Arcom Embedded Linux Technical Manual Developing software for AEL Newer versions of many distributions ship with LSB version > 1.3. In such case,
Arcom Embedded Linux Technical Manual Developing software for AEL Installing additional packages into the host environment When the host environment
Arcom Embedded Linux Technical Manual Developing software for AEL © 2006 Arcom Issue G 36 On distributions that use other package managers you mus
Arcom Embedded Linux Technical Manual Developing software for AEL © 2006 Arcom Issue G 37 The following cross compilation tools are provided: Tool
Arcom Embedded Linux Technical Manual Developing software for AEL Common open source build systems and cross compilation The majority of open source
Arcom Embedded Linux Technical Manual Developing software for AEL Fortunately, automake provides a variable called DESTDIR that is used as the base
Arcom Embedded Linux Technical Manual Contents Debugging applications on the target ...
Arcom Embedded Linux Technical Manual Developing software for AEL Cross compilation example A trivial example application that utilizes a shared lib
Arcom Embedded Linux Technical Manual Developing software for AEL 2 Configure the application: $ ./configure --prefix=/usr --host=arm-linux $ make
Arcom Embedded Linux Technical Manual Developing software for AEL Debugging applications on the target The AEL host environment includes the GNU Deb
Arcom Embedded Linux Technical Manual Developing software for AEL Starting GDB and GDB server Now that the binary has been compiled with debugging i
Arcom Embedded Linux Technical Manual Developing software for AEL Compiling a kernel Overview This section explains how to build a new Linux kernel,
Arcom Embedded Linux Technical Manual Developing software for AEL Building the kernel Once the kernel has been configured it can be built using the
Arcom Embedded Linux Technical Manual Developing software for AEL Building external modules External modules are kernel modules (typically device dr
Arcom Embedded Linux Technical Manual Developing software for AEL Common embedded software development tasks Accessing the physical address space Wh
Arcom Embedded Linux Technical Manual Developing software for AEL The following table explains the functions provided by libdevmem (which are also d
Arcom Embedded Linux Technical Manual Developing software for AEL Using an Arcom PC/104 I/O board AEL comes pre-installed with drivers for a selecti
Arcom Embedded Linux Technical Manual Introduction Introduction Arcom Embedded Linux (AEL) is a standard Linux distribution produced by Arcom. It is
Arcom Embedded Linux Technical Manual Developing software for AEL AIM104-RELAY8/IN8 The library libaim104 provides several functions on AIM104-RELAY
Arcom Embedded Linux Technical Manual Developing software for AEL The functions provided by libaim104 on AIM104-OUT16 are explained below: Function
Arcom Embedded Linux Technical Manual Developing software for AEL The functions provided by libaim104 on AIM104-MULTI-IO are explained below: Functi
Arcom Embedded Linux Technical Manual Developing software for AEL To receive files from the host system on the target system, use the rz, rb or rx u
Arcom Embedded Linux Technical Manual Developing software for AEL You can combine the images on the host using the following command: $ cat Flash0.i
Arcom Embedded Linux Technical Manual RedBoot RedBoot RedBoot is a complete bootstrap environment for embedded systems. Based on the eCos Hardware A
Arcom Embedded Linux Technical Manual RedBoot The following table explains the parameters you can specify when using fconfig: Parameter Action -i In
Arcom Embedded Linux Technical Manual RedBoot For example, to configure the static IP address 10.2.2.4 with a network mask of 255.255.0.0 (hence len
Arcom Embedded Linux Technical Manual RedBoot These parameters are explained in the following table: Parameter Action -r Loads a raw image. The defa
Arcom Embedded Linux Technical Manual RedBoot Download via Ethernet If you do not have either a web (HTTP) or a TFTP server on your network, refer t
Arcom Embedded Linux Technical Manual Introduction If you want to develop on the target board, it may be possible to install a host operating system
Arcom Embedded Linux Technical Manual RedBoot Managing images in Flash Flash is managed under RedBoot using the FIS (Flash Image System) command. Th
Arcom Embedded Linux Technical Manual RedBoot Creating a new FIS partition table entry Images are created in the FIS table using the fis create comm
Arcom Embedded Linux Technical Manual RedBoot For example, the following command creates an image table entry named ‘application’: RedBoot> fis c
Arcom Embedded Linux Technical Manual RedBoot Updating the entire Flash As well as updating individual portions of the Flash, it may also be desirab
Arcom Embedded Linux Technical Manual RedBoot These parameters are explained in the following table: Parameter Action -b <virtual address> The
Arcom Embedded Linux Technical Manual Appendix A - Contacting Arcom Appendix A - Contacting Arcom Arcom sales Arcom’s sales team is always available
Arcom Embedded Linux Technical Manual Appendix B - Software sources Appendix B - Software sources The source for a component consists of the followi
Arcom Embedded Linux Technical Manual Appendix C - Reference information Appendix C - Reference information Sources of further information are liste
Arcom Embedded Linux Technical Manual Appendix D - Acronyms and abbreviations Appendix D - Acronyms and abbreviations AEL Arcom Embedded Linux BASH
Arcom Embedded Linux Technical Manual Index Index configuration A IP · 56 abbreviations · 68 options · 56 acronyms · 68 contact details · 65 ports ·
Arcom Embedded Linux Technical Manual About this manual About this manual This manual provides detailed information about the AEL distribution. It e
Arcom Embedded Linux Technical Manual Index interface FIS · 60 bringing up at boot · 19 partition · 59 configure · 19 Flash · 55 configuring · 19 ad
Arcom Embedded Linux Technical Manual Index matchbox window manager · 30 recovery · 22 memory base · 60 RedBoot · 55, 63 modems · 52 aliases · 56 mo
Arcom Embedded Linux Technical Manual Index touchscreen, calibrating · 23 trademarks · 2 ts_calibrate · 23 tslib · 23 ttyS0 · 15 tunnel · 28 U UART
Arcom Embedded Linux Technical Manual About this manual Specific terms This manual uses a number of terms with specific meanings. These are explaine
Arcom Embedded Linux Technical Manual About this manual Typographical conventions This manual contains examples of commands that you can enter. Thes
Comentários a estes Manuais