
Configuring Ethernet
LITE5200B User’s Manual, Rev. 0
Freescale Semiconductor
5-5
Writing to Flash... done
Protected 1 sectors
=>
5.5
Configuring Ethernet
5.5.1
Configuring a MAC Address
To configure a mac address for your Lite5200B the environmental variable for ethaddress can be set to
any desired mac address for network access. By default your Lite5200B is programmed with a default
MAC address. To change this address use the following command.
setenv ethaddr 00:11:22:33:44:55
5.5.2
Configuring IP Address
5.5.2.1
Static IP
To boot via TFTP the following environmental variables must be configured for operation. To set a static
IP the environmental variables in
Table 2
must be specified through the command line interface.
5.5.2.2
DHCP
The Lite5200b is configured with the necessary software required to perform DHCP functionality. In
order to utilize the U-Boot DHCP function your DHCP server must be configured with the variables des-
ignated in Table 3 on page 5-6
Table 2. Static IP Ethernet Configuration
Environmental Variable
Description
ipaddr
local IP address for the
Lite5200B
serverip
TFTP/NFS server address
netmask
net mask
gatewayip
gateway IP address
netdev
eth0 - default
ethaddr
1
1
Care must be taken to ensure that each MAC address on
the network is unique
MAC address