Monitor: Boot Commands
10007175-02 KAT4000 User’s Manual
14-11
Definition: dhcp [loadaddress] [bootfilename]
To use the dhcp command, your DHCP server must be configured with the variables desig-
nated in
Table 14-5.
Table 14-5: DHCP Ethernet Configuration
2. Values for ethaddr, netdev and autoload are set by the user.
3. The value obtained by the DHCP server may not be applicable to your development application.
4. Ensure that each MAC address on the network is unique.
5. If autoload is not set or configured to “yes,” ensure that the DHCP provides proper information for
autoboot. If proper autoboot information is not provided, an error may occur.
rarpboot
The rarpboot command boots an image via a network connection using the RARP/TFTP
protocol. If loadaddress or bootfilename is not specified, the environment variables loadaddr
and bootfile are used as the default. To use this command, the environment variables listed
in
Tab le 1 4 -4 must be configured.
Definition:
rarpboot [loadaddress] [bootfilename]
tftpboot
The tftpboot command loads an image via a network connection using the TFTP protocol.
The environment variable’s ipaddr and serverip are used as additional parameters to this
command. If loadaddress or bootfilename is not specified, the environment variables
loadaddr and bootfile are used as the default. To use this command, the environment vari-
ables listed in
Table 14-4 must be configured.
The port used is defined by the ethport environment variable. If
all is selected for ethport,
the TFTP process will cycle through each port until a connection is found or all ports have
failed.
Environment Variable: Description: Value
2
:
ipaddr Local IP address for the board. Configured
by DHCP.
e.g., 192.168.1.1
serverip TFTP/NFS server address. This value must
be configured after the DHCP IP address is
acquired.
3
e.g., 192.168.1.2
netmask Net mask. Obtained by DHCP. —
gatewayip Gateway IP address. Obtained by DHCP. —
netdev Ethernet device. Obtained by DHCP. eth0
ethaddr
4
MAC address 00:80:F9:xx:xx:xx
autoload
5
Boot image from TFTP server after DHCP
acquisition.
no