2 booting with tftp, 1 u-boot parameters for tftp with bootp, 1). sample bootargs – SBE HighWire HW400c/2 User Manual

Page 92

Advertising
background image

HighWire HW400c/2 User Reference Guide Rev 1.0

5.5.2 Booting with tftp

m. If a static IP

dress is not assigned to the HW400c/2 through the boot console, a bootp server

may also be necessary. The bootp server, tftp server, and the NFS server functions

5.5.2.1 U-boot pa

The following example shows U-boot parameters necessary for a tftp download and
boot using a IP address obtained from a bootp server. The bootp server will assign an

ay IP address, and a boot file image name from its bootptab.

Ass

listed in

the printenv

the unused IP

add

d confusion and show that they are not in use.



# d

,9600n8 ip=bootp nfsroot=/opt/gentoo \

ot=/dev/nfs rw

rverip=0.0.0.0
tewayip=0.0.0.0
tmask=255.255.255.0
din=serial
dout=serial

stderr=serial


Tftp boot requires a tftp boot server and an NFS mounted file syste
ad

may or may not be the same machine.



rameters for tftp with bootp


IP address, a gatew

ignments are based on the HW400c/2’s MAC address. The IP addresses

(from non-volatile memory) are ignored. Here

dump

resses are set to 0.0.0.0 to avoi

ebug> printenv

bootargs=console=ttyMM0

ro

bootcmd=bootp; bootm
bootdelay=5
baudrate=9600
ethaddr=00:a0:d6:12:34:56
ipaddr=0.0.0.0
se
ga
ne
st
st

ethact=mv_enet0

Environment size: 288/4092 bytes

October 10, 2006

Copyright 2006, SBE, Inc.

Page

80

Advertising