beautypg.com

1 configuring u-boot for network boot – Artesyn ATCA-F120 Installation and Use (August 2014) User Manual

Page 89

background image

U-Boot Firmware

ATCA-F120 Installation and Use (6806800D06J)

89

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.

1. Connect to U-boot as described in

Accessing U-Boot via the Serial Console

on page 87

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

setenv serverip

3. Specify the names of the Linux kernel image and of the NFS root directory.

setenv bootfile

setenv rootpath

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

setenv netmask

6. Make all previously done configurations persistent by entering:

saveenv

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.