Executing Uclinux Commands - Xilinx MicroBlaze Spartan-3E 1600E Edition Getting Started

Hide thumbs Also See for MicroBlaze Spartan-3E 1600E Edition:
Table of Contents

Advertisement

R
Executing µClinux Commands
This build of µClinux supports many basic Linux commands. The list of commands and
tools available to run can be found in the /bin directory.
The file system is read-only, except for the /var directory and its sub-directories. New
directories can be created under the /var directory using the mkdir command. Files
under the /var directory structure can be created or edited using the vi editor. Text files
can be viewed using the cat command.
This µClinux kernel was built with networking support enabled, therefore it supports
several network utilities when connected to a live network or connected directly to a
remote computer.
To turn on the ethernet port 0, eth0, and assign the board IP address to 1.2.3.4, the
command, ifconfig eth0 up 1.2.3.4, is issued.
To confirm the ethernet configuration settings, the command, ifconfig, is issued.
The result on a HyperTerminal of the configuration settings for the eth0 (Ethernet) and lo
(Local Loopback) ports are as shown in
To ping a remote computer at IP address 1.2.3.9 from the development board, this
example command string, ping -c 4 1.2.3.9, is used to ping the remote computer 4
times.
To telnet from a networked computer to the board, issue the command, telnet
1.2.3.4.
To invoke ftp from a networked computer to the board (for transferring files), the
command, ftp 1.2.3.4, is issued on a command shell window on the remote computer:
Getting Started with the MicroBlaze Development Kit - Spartan3E 1600E Edition
UG258 (v1.0) June 29, 2006
Figure 2-4: Ethernet Configuration Settings
The user will login as is done from the HyperTerminal, using the login username of
root and the password of root. All of the Linux commands can now be performed
remotely as if the user were logged into the console on a HyperTerminal.
The user will login as is done from the HyperTerminal using the login username of
root and the passwd of root. The basic ftp commands work for transferring files.
www.xilinx.com
Executing the Reference System
Figure
2-4.
UG258_02_04_062306
17

Advertisement

Table of Contents
loading

Table of Contents