
Boot Monitor
LITE5200B User’s Manual, Rev. 0
5-6
Freescale Semiconductor
When the variables listed in
Table 3
have been configured the dhcp command can be used to automatically
obtain an IP address from the network.
example:
=> dhcp
BOOTP broadcast 1
DHCP client bound to address 10.81.108.96
5.6
Downloading An Image
Two methods of downloading an image are described in this section. Serial download and TFTP (network)
download. The areas suggested for code development can be seen in Table 5-4 on page 5-7. once code is
downloaded to RAM, it may be executed directly or written to flash.
Table 3. DHCP Ethernet Configuration
Environmental Variable
Description
Value
1
1
Values for ethaddr, netdev, & autoload should be set by the user.
ipaddr
local IP address for the
Lite5200B. Configured by
DHCP
e.g. 192.168.1.1
serverip
TFTP/NFS server address. This
value Must be configured
AFTER dhcp IP address is
acquired
2
2
The value obtained by the DHCP server may not be applicable to your development
application.
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
3
3
Care must be taken to ensure that each MAC address on the network is unique
MAC address
AA:11:22:33:44:55
autoload
4
4
If autoload is not set, or configured to ‘yes’, then care must be taken to ensure that the
DHCP provides proper information for autoboot. If this is not done an error may result.
boot image from TFTP server
after DHCP acquisition
no