Home

DNP/2110 Linux Starter Kit: First Steps

image

Contents

1. V8 95 c 1998 1999 Rebel com RAMDISK Compressed image found at block Verbunden 00 02 14 115200 8 N 1 Figure 7 Watch the Linux booting process with HyperTerminal Please note The U Boot environment variable bootdelay doesn t influence the DNP 2110 boot process with RCM Remote Console Mode disabled The DNP 2110 Linux supports a serial console It allows running a system in a headless configuration without a monitor or keyboard Wait until the Linux boot process finish Linux based s Then enter the user name root This user name needs no password Just hit the Enter key if the DNP 2110 Linux ask for a password bootdelay is a U Boot environment variable The value defines a wait time before U Boot starts the Linux operating system SSV EMBEDDED SYSTEMS DIL NetPC DNP 2110 Linux Starter Kit First Steps 6 Step Power up the DNP 2110 with RCM Jumper RCM enabled The DIL NetPC DNP 2110 boot sequence with RCM enabled is similar to the boot procedure with RCM disabled Only the first step is different 1 The DNP 2110 runs the U Boot boot loader program This software shows a wait message over the DNP 2110 COMI serial interface if RCM is enabled please see the DIL NetPC DNP 2110 Hardware Reference Manual for details It is possible to interrupt the boot process and switch to the U Boot command line interface Just hit a key of your terminal emulation program 2 Without interruption the U Boot bo
2. load binary file over serial line ymodem g mode l p mtest protect enable or disable FLASH write protection rarpboot reset saveenv set environment variables o setenv set environment variables delay execution for some time tftpboot boot image via network using TFTP protocol and env variables ipaddr and serverip version print monitor version alias for help Table 2 U Boot Command Overview SSV EMBEDDED SYSTEMS 18 DIL NetPC DNP 2110 Linux Starter Kit First Steps Helpful Literature Contact Intel PXA255 Processor Developer s Manual Intel Order Number 278693 001 Intel PXA255 Processor Data Sheet Intel Order Number 278780 Intel PXA255 Processor User s Manual Intel Order Number 278796 DIL NetPC DNP 2110 Hardware Reference Manual SSV Starter Kit Item SSV Embedded Systems Heisterbergallee 72 D 30453 Hannover Tel 49 0 511 40000 0 Fax 49 0 511 40000 40 E Mail sales stl de Web www ssv embedded de Web www dilnetpc com Notes to this Document DNPSK17 FirstStepsE Doc Revision Date Name m SSV Software Systems GmbH and Klaus Dieter Walter 1999 2004 All rights reserved No part of th s documentation may be copied or reproduced in any form or by any means without the prior written consent of SSV Software Systems GmbH and Klaus Dieter Walter Trademarks brands or names included in this documentation are for identification purposes only and may be the property of others S
3. DIL NetPC DNP 2110 Linux Starter Kit First Steps DNP 2110 Linux Starter Kit First Steps The DIL NetPC DNP 2110 starter kit contains everything you need to get started with your Intel PXA255 Xscale based embedded networking application The starter kit includes a DNP 2110 module with a pre installed U Boot boot loader and a embedded Linux the evaluation board DNP EVA2 SV special version without ST16C2550 dual UART and the UART support chips the DNP EVA2 without additional UARTs is the DNP EVAI successor power supply serial interface null modem cable a CD ROM with software and documentation and a printed user manual for the first steps with the starter kit Figure 1 The DIL NetPC DNP 2110 Linux Starter Kit The starter kit CD ROM comes with a full GNU cross tool chain for C C software development The binary files of this pre build tool chain runs on a x86 Linux based host SuSE Red Hat or other and builds executable files for the Intel PXA255 Xscale 32 bit RISC microcontroller For using the DIL NetPC DNP 2110 Embedded Linux Starter Kit you need a development system The minimal configuration for this system is a Windows based PC with the HyperTerminal terminal emulation program and a free COM port COMI COM2 or USB based COMx for the RS232 serial link between the DIL NetPC DNP 2110 and HyperTerminal For using the Ethernet link your PC needs an Ethernet adapter with 10 Mbps or 10 100 Mbps LAN interface This environmen
4. DNP 2110 Linux Starter Kit First Steps 10 Step Check the DNP 2110 Embedded Web server The DIL NetPC DNP 2110 default Linux configuration comes with a pre installed embedded Web server The object storage space HTML pages pictures CGI programs Java Applets for this Web server is located within the DIL NetPC DNP 2110 flash memory Setup a Telnet session with root user rights from your PC to the DIL NetPC DNP 2110 see 9 Step Using a Telnet Connection if necessary Enter the following command lines within this Telnet session cd flash mkdir www cd www cat gt test html lt html gt lt head gt lt title gt Hallo Welt lt title gt lt head gt lt body gt lt hi gt Hallo Welt lt h1 gt lt body gt lt html gt CTRL D CTRL D stops the Linux cat command This command lines create a HTML file flash www test html within the DIL NetPC DNP 2110 flash memory with the German version of Hello World cti Telnet 192 168 0 126 Ol x SSY Embedded Linux Version 20 emblinux login root root cd f lash flashl mkdir www flashi cd www wwwl cat gt test html r 1 ro test html root emblinux www Figure 14 Create a HTML file within a Telnet session Run your PC Web browser and access the HTML file test html with your browser Use the URL http 192 168 0 126 test html This URL assumes that your DNP 2110 is using the IP address 192 168 0 126 for the Eth
5. SV Software Systems GmbH makes no warranty for the use of its products and assumes no responsibility for any errors which may appear in this documents nor does it make a commitment to update the information contained herein SSV Software Systems GmbH retains the right to make changes to these specifications at any time without notice Contact the SSV Software Systems GmbH sales office to obtain the latest specifications before placing your order SSV EMBEDDED SYSTEMS 19
6. Serial console with ipaddree command line SSV EMBEDDED SYSTEMS 16 DIL NetPC DNP 2110 Linux Starter Kit First Steps Reboot the DNP 2110 The new IP address and network mask s val d after the next boot process if no DHCP server available or if DHCP doesn t work Check the new IP address with a ping c Eingabeaufforderung C gt ping 192 168 2 126 Ping wird ausgef hrt f r 192 168 2 126 mit 32 Bytes Daten von 192 168 2 126 Bytes 32 Zeit lt ims von 192 168 2 126 Bytes 32 Zeit lt ims von 192 168 2 126 Bytes 32 Zeit lt 1ims von 192 168 2 126 Bytes 32 Zeit lt 1ims Ping Statistik f r 192 168 2 126 Pakete Gesendet 4 Empfangen 4 Verloren Verlust Ca Zeitangaben in Millisek Minimum ms Maximum Wms Mittelwert ms C N Figure 21 Check the new IP address with ping Please note Don t forget to change the IP address of your PC to 192 168 2 1 or similar SSV EMBEDDED SYSTEMS 17 DIL NetPC DNP 2110 Linux Starter Kit First Steps m Appendix 1 U Boot Boot Loader Command Overview The user interface to U Boot consists of a command line interpreter CLI much like a Linux shell prompt When connected via a serial line you can interactively enter commands and see the results The following table shows the available U Boot commands for the DIL NetPC DNP 2110 m memory compare p ep memory copy o O go start application at address addr SSS C C l l l l l l
7. arter Kit First Steps 1 Step Cable for the Serial Link between the DNP 2110 and a PC Set up the serial link between the DIL NetPC DNP 2110 Evaluation Board and your PC Use a Null modem cable for th s connection Null Modemkabel RS232 Serial Link Figure 2 Serial Link between the DIL NetPC Evaluation Board and the PC Connect one end of the Null modem cable with a unused COM port of your PC Make sure that this PC COM port supports 115 200 bps SSV EMBEDDED SYSTEMS 3 DIL NetPC DNP 2110 Linux Starter Kit First Steps 2 Step Cable for the Ethernet Link between the DNP 2110 and a PC Set up the Ethernet LAN link between the DIL NetPC DNP 2110 Evaluation Board and your PC Use an Ethernet cross over cable for the first LAN connection ci Figure 3 Ethernet Link between the DIL NetPC Evaluation Board and the PC Please note The DNP 2110 comes with a default IP address of 192 168 0 126 Please make sure that your PC can work with the IP address range 192 168 0 x SSV EMBEDDED SYSTEMS 4 DIL NetPC DNP 2110 Linux Starter Kit First Steps 3 Step Connect the Power Supply and Power up the Starter Kit Connect a5 VDC power supply to DIL NetPC Evaluat on Board Make sure that the voltage is within the center of power supply connector er ee ane ET u g l stecker netzteil Figure 4 Power Supply for the DIL NetPC Evaluat on Board Plea
8. d please see the DIL NetPC DNP 2110 Hardware Reference Manual for details there is no U Boot text message output over the DNP 2110 COMI serial interface and no bootdelay based wait period Direct after the hardware init the U Boot boot loader starts the Linux O S image Linux takes control over the DIL NetPC DNP 2110 hardware and runs all necessary processes for coming up to l ve DIL NetPC HyperTerminal Datei Bearbeiten Ansicht Anrufen bertragung Buffer cache hash table entries 1024 order 0 4096 bytes Page cache hash table entries 4896 order 2 16384 bytes POSIX conformance testing by UNIFIX Linux NET4 8 for Linux 2 4 Based upon Swansea University Computer Society NET3 839 Initializing RT netlink socket Using PKA255 frequency points Registering CPU frequency change support CPU clock 398 131 MHz 99 000 400 600 MHz Starting kswapd pty 206 Unix98 ptys aus Serial driver version 9 5c 2001 97 88 with no serial options enabled ttyS00 at BxBBBB irq 15 is a PXA UART ttyS 1 at x 000 irq 14 is a PXA UART ttyS92 at 0x0000 irq 13 is a PXA UART RAMDISK driver initialized 16 RAM disks of 8192K size 1024 blocksize NET amp 4 Linux TCP IP 1 8 for NET4 IP Protocols ICMP UDP TCP IP routing cache hash table of 512 buckets 4Kbytes TCP Hash tables configured established 1024 bind 1024 NET amp Unix domain sockets 1 0 SMP for Linux NETA NetWinder Floating Point Emulator
9. ernet LAN interface LAN1 Change this IP address 1f necessary SSV EMBEDDED SYSTEMS 12 DIL NetPC DNP 2110 Linux Starter Kit First Steps Hallo Welt Microsoft Internet Explorer Datei Bearbeiten Ansicht Favoriten Extras x R GD Pre Ze ravon rein O Z Mi Adresse http 192 168 0 126 test html Figure 15 Check the Embedded Webserver with Internet Explorer Please note flash www is the default directory for the DNP 2110 embedded Web server Please restart the DNP 2110 Linux after the creation of flash www test html and before the first access with a Web browser The DNP 2110 embedded Web server look out for flash www at boot time If this the directory flash www at boot time does not exist the DIL NetPC DNP 2110 embedded Web server works with the RAM disk based directory usr local www SSV EMBEDDED SYSTEMS 13 DIL NetPC DNP 2110 Linux Starter Kit First Steps 11 Step Check the DNP 2110 FTP server The DIL NetPC DNP 2110 Linux comes with a pre installed FTP server This server allows the file transfer between a PC and the DNP 2110 Run a FTP client program on your PC system Set the session parameters for your FTP client to IP address 192 168 0 126 user name guest password guest The DNP 2110 default directory for the FTP user name guest is home guest This directory is located within the DNP 2110 RAM disk s FTP Explorer Fie Edit View Tools Window Help ar o aalala Co
10. ght 1985 2001 Microsoft Corp C Dokumente und Einstellungen kdw gt ping 192 168 0 126 Ping wird ausgef hrt f r 192 168 0 126 mit 32 Bytes Daten 192 168 0 126 Bytes 32 Zeit 1ims TTL 255 192 168 0 126 Bytes 32 Zeit lt ims TTL 255 192 168 0 126 Bytes 32 Zeit lt ims TTL 255 Antwort von 192 168 0 126 Bytes 32 Zeit lt ims TTL 255 Pings Stat ist ik fur 192 168 0 126 akete Gesendet 4 Empfangen 4 Verloren 8X Verlust Ca Zeitangaben in Millisek Minimum ms Maximum ms Mittelwert Ums C Dokumente und Einstellungen kdw gt Figure 11 Windows PC TCP IP communication check with ping First check the cable connections and then the IP addresses f your ping doesn t work SSV EMBEDDED SYSTEMS 10 DIL NetPC DNP 2110 Linux Starter Kit First Steps 9 Step Using a Telnet Connection Run a Telnet client program on your PC with the IP address of the DNP 2110 You can use a Telnet session for remote entering Linux commands Eingabeaufforderung ET Windows XP LVersion 5 1 2600 C Copyright 1985 2001 Microsoft Corp C Dokumente und Einstellungen kdw gt telnet 192 168 0 126 Figure 12 Run the Windows telnet client program Wait until the DNP 2110 Linux ask you for a user name Please enter the user name root This user name needs no password Just hit the Enter key if the DNP 2110 Linux ask for a password Please note The DNP 2110 Linux comes with BusyBox All Linux command lines command
11. help of program called ipaddree Terminal Program RS232 Serial Link f an DILINetPC Figure 19 Environment for ipaddree usage Use a serial console and enter the user name root This user name needs no password Just hit the Enter key if the DNP 2110 Linux ask for a password Then execute the following command ipaddree w 192 168 2 126 m 255 255 255 0 ipaddree is the name of a command line IP setup tool 192 168 2 126 is a IP address Use the IP address of your choice for your set up on this position 255 255 255 0 is a network mask Use a valid network mask for your IP address amp DIL NetPC COM15 HyperTerminal Datei Bearbeiten Ansicht Anrufen bertragung 0x00400000 0x00800000 Flash spare 1 x00800000 0x01000000 Flash spare 2 dnp2110 jffs JFFS version 1 8 ic 1999 2000 Axis Communications AB cn version 2 EN C 2001 Red Hat Inc designed by Ax s Communications AB JTTS2 Starting flash Starting autoinit Starting network Configuring and Starting Network lo dhcpcd 98 timed out wai ting for a valid DHCP server response eth Starting inetd inetd Starting httpd Starting autostart SSY Embedded Linux Version 0 20 emblinux login root Password login 144 root login on tty root emblinux rootl ipaddree w 192 168 2 126 m 299 299 299 0 root emblinux root1 _ verbunden 00 08 05 115200 8 N 1 Figure 20
12. nnect 1 2 es H A Profile Name f192 168 0 126 all Host Address 192 168 0 126 Cancel Pott 21 Use PASV Mode Use Firewall Login guest Anonymous Password Initial Path Attempts f Retry Delay fio Download Path Browse Description H for Innovative Computer Applications Cache data between sessions v Add Save Shortcut Remove Figure 16 Set the session parameters for a FTP client program Connect your FTP client with the DIL NetPC DNP 2110 FTP server Please watch the DNP 2110 default FTP directory Transfer some files from your PC to the DIL NetPC DNP 2110 The DNP 2110 stores this files in the DNP 2110 default FTP directory 192 168 0 126 FTP Explorer File Edit View Tools Window Help le 2 E x es N All Folders Contents of home quest 38 home o vs 01 01 2004 14 32 00 je quest vs 01 01 2004 14 32 00 01 01 2004 14 32 00 01 01 2004 14 32 00 01 01 2004 14 32 00 01 01 2004 14 32 00 01 01 2004 14 32 00 01 01 2004 14 32 00 01 01 2004 14 32 00 01 01 2004 14 32 00 01 01 2004 14 32 00 01 01 2004 14 32 00 index html we 01 01 2004 14 32 00 PEA 1200 Type set to A PORT 192 168 0 1 4 56 200 PORT command successful LIST 150 Opening ASCII mode data connection for binjls 226 Transfer complete For Help press F1 Awaiting Command Figure 17 Transfer some files to the DNP 2110 SSV EMBEDDED SYSTEMS 14 DIL NetPC DNP 2110 Li
13. nux Starter Kit First Steps Check the new files w th a Telnet session Move to the DNP 2110 default FTP directory home guest within your Telnet session cx Telnet 192 168 0 126 SSY Embedded Linux Version 0 20 emblinux login root Password Croot emblinux root cd home guest root emblinux guest ls a drwxr xr x guest users drwxr xr x root root rw r guest users rw r guest users rw r guest users rw r guest users rw r guest users rw r guest users rw r guest users rw r guest users rw r guest users rw r guest users rw r guest users rw r guest users guest users guest E E E pp pp pt A EB EB EB EE EE EE EE EEE EEE Figure 18 The new files within home guest SSV EMBEDDED SYSTEMS 15 DIL NetPC DNP 2110 Linux Starter Kit First Steps 12 Step Change the DNP 2110 Factory Set IP Address ipaddree usage Every device connected to an IP network must have a unique IP address This address s used to reference the specific unit The DIL NetPC DNP 2110 is automatically assigned an IP address on DHCP enabled networks as it is DHCP enabled by default If DHCP doesn t work i e no DHCP server available the DNP 2110 takes a default IP address The factory set value for this default IP address is 192 168 0 126 The network mask for this address is 255 255 255 0 You can change this IP address over a RS232 based serial link with the
14. ot loader starts a Linux O S image after the wait period from the DNP 2110 flash memory a DIL HetPE HyperTerminal Dais fesbelken Anschk Anrufen betag 7 Ca g ff E U Boot 0 3 0 Aug 24 Z004 19 06 28 U Boot code ABFARARA gt ABFI63A4 BSS gt AAFIITER DRAM Configuration Bank 8 ataga 16 ME Flash 16 HB Hit any key to stop autoboot amp _ 115200 844 1 Figure 8 U Boot wait message Please note The U Boot command line interface allows you to change the wait time of the first step Please see the U Boot environment variable bootdelay for details DIL NetPX HyperTerminal fe Geabetes Arsch Anrufen bertragung 7 Ruffer cache hash table entries 1074 order A 4096 bytes Page cache hash table entries 1096 order 16984 bytes POSTH conformance testing by UNIFTK Linux NEI4 8 for Linus 2 4 Based upon Swansea University Computer Society NLI3 039 Initializing RI metlink socket Using PRAZSS frequency points Registering CPU frequency change support CPU clock 398 131 HHz 99 000 100 BAe MHz Starting kswapd pty 256 Uning ptys configured Serial driver version s Ube 2001 H B8 with no serial options enabled ttySH0 at Arad irg 15 is a PHA UARI LtvSO1 at 08000 Lira 14 is a PRA UART ee at 00000 Lira 13 is a PRA UART RAH E driver initialized 16 RAW disks of 81928 size 1024 blocksize HFT Linus TCP IP 1 0 for NFT4 IP Protocols ICHP UDP TCP IF routing cache hash table of 512 buckets 4Kbyte
15. s ICP Wash tables configured established 1024 pene 1924 HET4 Unix domain sockets 1 0 5HF for Linus N NetWinder Floating Point Emulator W8 95 Ic 1998 1999 Rebel com RAMDISK Compressed image found al block Werken 002514 Figure 9 Linux booting process after the U Boot boot delay SSV EMBEDDED SYSTEMS 8 DIL NetPC DNP 2110 Linux Starter Kit First Steps 7 Step Check the IP Address of your PC Make sure that your PC is using the right IP address for the Ethernet based TCP IP communication with the DIL NetPC Use 192 168 0 1 or 192 168 0 254 for your PC and 192 168 0 126 for the DNP 2110 c Eingabeaufforderung Microsoft Windows XP LVersion 5 1 2600 C Copyright 1985 2001 Microsoft Corp C Dokumente und Einstel lungen kdw gt ipconf ig Windows IP Konf iguration Ethernetadapter LAN Verbindung Verbindungsspezifisches DNS Suf fix IP Adresse 192 168 0 254 Subnet zmaske 255 299 209 0 St andardgateway C Dokumente und Einstel lungen kdw gt Figure 10 Windows PC IP address check with ipconfig Talk to your network administrator if you have problems with the IP address understanding SSV EMBEDDED SYSTEMS DIL NetPC DNP 2110 Linux Starter Kit First Steps 8 Step Check the Ethernet based TCP IP Communication Check the Ethernet based TCP IP communication between the DNP 2110 and the PC with a simple ping command c Eingabeaufforderung Microsoft Windows XP LVersion 5 1 2600 C Copyri
16. s are implemented in BusyBox BusyBox combines tiny versions of many common UNIX utilities into a single small executable It provides replacements for most of the utilities you usually find in GNU fileutils shellutils etc The utilities in BusyBox generally have fewer options than their full featured GNU cousins however the options that are included provide the expected functionality and behave very much like their GNU counterparts BusyBox provides a fairly complete environment for any small or embedded system cx Telnet 192 168 0 126 SSY Embedded Linux Version 0 20 emblinux login root Password root emblinux root l ps PID TT TIME CMD init keventd sort irad SRNE kupdated mtdblockd jffs_gcd inet thttpd 4 getty In Beinere EUER a oa an SONSOOOOOSSSO 153 154 136 158 136 0 0 00 00 ps root emblinux root ls al drwxr xr x root root drwxr xr x root root drwxr xr x root root drwxr xr x root root drwxr xr x drwxr xr x drwxr xr x drwxr xr x drwxr xr x drwxr xr x me N D bin dev root root etc Wr Oo flash home root root root root root root root root root root root root root root root root root root root root root i lost found mn proc root sbin tmp usr var N ODNDND PNNDWP PRWNONN DOO AAABAPENAUDHE drwxr xr x drwxr xr x root Croot emblinux root _ Figure 13 Using Linux commands within a Telnet client window SSV EMBEDDED SYSTEMS 11 DIL NetPC
17. se note Make sure that all cable connections a OK Then power up the starter kit SSV EMBEDDED SYSTEMS DIL NetPC DNP 2110 Linux Starter Kit First Steps 4 Step Using the Serial Link with a Terminal Program Run HyperTerminal on your Windows PC minicom or a similar simple terminal emulation program on your Linux based PC Verbinden mit gt 2 D L Net PC Geben Sie die Rufnummer ein die gew hlt werden soll Land Region Ortskennzahl fet en Figure 5 Direct Connection Set up with HyperTerminal Set up a direct connection with the parameters of Table 1 Make sure that the PC COM port supports 115 200 bps Eigenschaften von COM1 TI Anschlusseinstellungen Bits pro Sekunde S Bult w Pantat Keine Ausssteuerung Kein Wiederherstellen Abbrechen bemehmen Figure 6 Parameter Set up with HyperTerminal 115 200 bps DataBits 8 S No Xon Xoff RTS CTS or similar Table 1 Set up Parameters for the Serial Link SSV EMBEDDED SYSTEMS 6 DIL NetPC DNP 2110 Linux Starter Kit First Steps 5 Step Power up the DNP 2110 without RCM Jumper RCM disabled Direct after power up the DIL NetPC DNP 2110 starts a automatic boot process from the on board flash memory chip This process consist of two steps l Direct after power up the DNP 2110 runs the U Boot boot loader program for some milliseconds U Boot initializes the hardware components hardware init With RCM disable
18. t allows web server programming HTML pages Java Applets and Linux shell script programming For using the GNU C C cross tool chain it is necessary to run Linux on the development system SSV EMBEDDED SYSTEMS l DIL NetPC DNP 2110 Linux Starter Kit First Steps The DNP 2110 Embedded Linux Starter Kit Key Features The DIL NetPC DNP 2110 comes with a pre installed U Boot boot loader and a embedded Linux operating system The DNP 2110 Linux consists of two main components 1 the Linux kernel and 2 the root file system The DNP 2110 U Boot boot loader allows the downloading of new Linux kernel versions and root file systems to the DNP 2110 RAM and Flash This in system programming feature can be used by a simple serial and Ethernet link between the development system and the DNP 2110 DIL NetPC DNP 2110 with Intel 400 MHz PXA255 16 Mbytes Flash and 16 SDRAM 3 3 VDC Vcc U Boot Boot Loader and Embedded Linux pre installed in Flash memory Evaluation Board DNP EVA2 SV Special Version Null modem Cable 110 VAC or 230 VAC to 5 VDC International Power Supply CD ROM with User Manual and Hardware Programmers Manuals Embedded Linux with Source GNU Cross Tool Chain for C C Software Development for Linux based PCs GNU gdb and gdbserver for Ethernet based Remote Debugging Linux Remote Login with Telnet Web Server Setup Sample FTP Server Setup Sample Many Source Code Samples SSV EMBEDDED SYSTEMS 2 DIL NetPC DNP 2110 Linux St

Download Pdf Manuals

image

Related Search

Related Contents

32900 MAXFLOOR SPORT ESP  Nokia 6700 Cell Phone User Manual  MeeteingPlaza NTT  EVGA UV Plus+ 39  

Copyright © All rights reserved.
Failed to retrieve file