background image

Quick Start Guide

taskit GmbH

4. Creating a terminal connection to a PC

To use U-Boot and Linux effectively as a development environment, you need terminal access via 
the serial port. Later, the system can be configured to start automatically – user interaction is no 
longer required. The standard way to create a serial port connection is to connect the target 
computer and development computer with a null modem cable and to run a terminal emulator on the 
development system.

As described below, you can use either a Linux computer or one running Windows.

4.1. Terminal access under Linux

In the Linux environment, 

Kermit

 fulfils this software requirement. Although also often used for 

similar purposes, the 

Minicom

 terminal emulator should not be used, since there are many reported 

problems when working with the U-Boot boot loader. There are 2 Kermit packages in many Linux 
distributions. Of these, gKermit is only a command-line tool for implementing the Kermit FTP (File 
Transfer Protocol); the appropriate package is cKermit. Under Debian GNU/Linux, you can install 
the package simply with:

apt-get install ckermit

The packet cKermit belongs to the non-free distribution tree. If the Apt-Packet Manager couldn't 
find the package, simply add 

non-free

 to the configuration file 

/etc/apt/sources.list

 for your Debian 

server and execute

apt-get update

Now the apt command should work successfully.

For configuration, it is a good idea to create the configuration file .kermrc in the home directory 
used by Kermit for initialisation. Use the following settings to interact with U-Boot:

# example ~/.kermrc
set line /dev/ttyS0
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set window 5

Normal users need to have read and write permissions for /dev/ttyS0. In most Linux distributions, 
this is not the case. The root user must run the following command:

chmod 666 /dev/ttyS0

Page 11 of 15

Version 1.14

Summary of Contents for Portux920T EU

Page 1: ...Quick Start Guide taskit GmbH Quick Start Guide for Portux920T EU SW Portux Mini PC Portux Panel PC Panel Card MoLUX Stamp Page 1 of 15 Version 1 14...

Page 2: ...t GmbH Information in this document is subject to change without notice No part of this document may be reproduced or transmitted in any form without the express written permission of taskit GmbH If h...

Page 3: ...ni PC 9 3 3 Portux Panel PC without aluminium case 9 3 4 Portux Panel PC with aluminium case 10 3 5 Panel Card 10 4 Creating a terminal connection to a PC 11 4 1 Terminal access under Linux 11 4 2 Ter...

Page 4: ...e QuickStartGuide If you want to configure the Linux kernel install permanent drivers or software or modify the bootloader you have to work the LinuxGuide over Maybe you want to develop additional har...

Page 5: ...ion Linux U Boot and GNU Tools Ethernet cable patch and crossover Null modem cable Power pack DBGU adapter Also available For the Portux920T EU following parts can be ordered seperatelly PXB Modem ISD...

Page 6: ...ed in the aluminium case Furthermore a power jack and a power button are installed on the top If you have ordered the Portux Panel PC without aluminium case the Portux Panel PC board and the front pan...

Page 7: ...ard If you have ordered the MoLUX following parts are delivered MoLUX housing including Panel Card with TFT Display Lithium ion battery pack Firmware CD Documentation Linux U Boot and GNU Tools Also a...

Page 8: ...it GmbH Stampadaptor for starterkit baseboard Starterkit baseboard Firmware CD Documentation Linux U Boot and GNU Tools Ethernet cable patch and crossover Null modem cable Power pack DBGU adapter Page...

Page 9: ...access the first serial interface debug port Next connect the Portux Mini PC to the power pack This concludes the hardware setup Before you turn it on for the first time start a terminal emulation pro...

Page 10: ...uter as described below Creating a terminal connection to a PC 3 5 Panel Card Connect a null modem cable from you PC to the first serial port RS232 1 Due to the fact that the first serial port provide...

Page 11: ...Of these gKermit is only a command line tool for implementing the Kermit FTP File Transfer Protocol the appropriate package is cKermit Under Debian GNU Linux you can install the package simply with a...

Page 12: ...ystems generally offer HyperTerminal as a free terminal emulator already included in the standard installation You can execute HyperTerminal from Start Programs Accessories Communication After startin...

Page 13: ...screen appears After 3 seconds the kernel is loaded from the Flash memory and the root file system image likewise stored in the Flash memory is unpacked and mounted After a few seconds and after outpu...

Page 14: ...lowing line instead develop 192 168 4 2 ro At last you have to allow hosts to connect to the PC To do that your have to edit the file etc hosts allow and insert 192 168 4 2 or 192 168 4 for a range of...

Page 15: ...e Now that you have mounted a directory you can copy files from or the the remote PC To copy a file from the remote PC to the user data partition config you have to enter the following command into th...

Reviews: