2 network accessing, Network accessing commands, Nbl operation netbootloader – Kontron NetBootLoader User Manual
Page 12

ID 1022-8317, Rev. 2.0
NBL Operation
NetBootLoader
Page 4
2.2
Network Accessing
To support application development and operational requirements for various boot strategies,
the NetBootLoader provides several functions for gaining access to network services. These
functions include: access to DHCP/BOOTP servers, accessing TFTP servers, accessing FTP
servers, and having access to the target CPU from remote locations.
To achieve this, certain network parameters must first be configured. This can be done manu-
ally via a terminal (primary serial port) or dynamically via the network (an Ethernet port). If the
required parameters are known, they can be set with the NET command. Otherwise, the com-
mand DHCP makes it possible to download such parameters and to configure an Ethernet port
for network operation. Once the Ethernet port is configured, the commands TFTP and FTP are
available to download bootable images and other files as required. For remote access to the
CPU module, either telnet or the Serial Over LAN feature may be used.
The following table provides an overview of available TFTP/FTP server and remote accessing
functions.
SCRIPT
-
NBL command scripting
Contents are executed only during boot up
SETCORE
-
Set or display core number
For CPUs with multicore processors
SPEED
-
Set or display fast booting
SQ
Boot Sequence
Set or display boot sequence
Defines the image boot order
SWAP
-
Set or display NBL Flash usage For CPUs with two NBL Flashes
Table 2:
Network Accessing Commands
CMD TITLE
ALIAS
FUNCTION
REMARKS
BYE
-
Terminate session with FTP server
CD
Change
Directory
Change FTP server directory
GET
-
Download a file from FTP server
Data buffer is target.
LOGIN
-
Login to FTP server
LOGOUT
-
Terminate telnet session
LS
List Directory
List FTP server directory
Lists contents of directory.
PASSWD
Password
Set telnet password
Must be set before attempting telnet login
PING
-
Verify network status
PUT
-
Upload a file to FTP server
Data buffer is source.
PWD
Print Working
Directory
Display current FTP server directory Lists name of directory
TFTP
-
Download a file from TFTP server
Data buffer is target.
Table 1:
NetBootLoader Control Commands
CMD TITLE
ALIAS
FUNCTION
REMARKS