Emerson ATCA-F120 Installation And Use Manual page 103

Table of Contents

Advertisement

5.3.1
Configuring U-Boot for Network Boot
Procedure
This procedure describes how to configure U-Boot to boot Linux from network. In this mode,
U-Boot downloads and boots the Linux kernel from an external TFTP server and mounts a root
file system located on a connected network server. For the connection to the root file system,
U-Boot uses the Network File Service (NFS) protocol. The procedure assumes that the ATCA-
F120 has network access to a TFTP server which contains the Linux kernel image. Furthermore
it is assumed that the U-Boot command nfsboot has been previously been defined. Refer to
the U-Boot documentation for details.
The external TFTP server must be connected via the ATCA-F120 face plate connector "BBP
ETH", which is the Ethernet management interface. Any other interfaces, such as base or
fabric interfaces, are not yet functional at this stage of the boot phase, as the corresponding
drivers are not initialized yet.
1. Connect to U-boot as described in
101
2. Specify the IP address of the ATCA-F120 itself and of the TFTP server which contains
the Linux kernel image by entering the following U-Boot commands:
setenv ipaddr <IP address of ATCA-F120>
setenv serverip <IP address of TFTP server>
3. Specify the names of the Linux kernel image and of the NFS root directory.
setenv bootfile <Linux kernel image file name>
setenv rootpath <NFS root directory>
4. Configure U-boot to use NFS boot .
setenv bootcmd $nfsboot
5. Depending on your network configuration, you may have to specify a gateway IP
address as well as a netmask. To do so, use the following commands:
setenv gatewyip <gateway IP>
setenv netmask <netmask>
6. Make all previously done configurations persistent by entering:
ATCA-F120 Installation and Use (6806800D06F)
Accessing U-Boot via the Serial Console on page
U-Boot Firmware
103

Advertisement

Table of Contents
loading

Table of Contents