
Stargate Developer’s Guide
Wireless Sensor Networks
Doc. # 7430-0317-13 Rev. B
Page 33
base: 00140000
size: 01EC0000
flags: 00000010
You can load the File System by typing the following command at the Bootloader
boot>
prompt:
load root
Follow the directions to download the kernel, as described previously in this section (using
HyperTerminal
or
Minicom
as appropriate for your situation). However, substitute the file
root.jffs2
for
zImage
.
5.5.3
Kernel and File System Using Ethernet from a TFTP Server
The Bootloader will download the modules (kernel and file system) from the
<TFTPROOT>/stargate
/ directory of the machine designated as the TFTP server. So the image files
zImage
and
root.jffs2
should be placed in this directory. It is only necessary to place the files
that you plan to download; it is not necessary to have all of the files present.
The Stargate comes with its MAC address factory configured. If you want to re-configure it, say
after re-flashing the Bootloader, enter the following commands at the bootloader prompt. It is
essential to assign a MAC address to the Stargate for proper functioning of the Networking features.
set macaddr 00:50:C2:2F:3X:YZ
params save
loadmacaddr
Substitute the “
F
,” “
X
,” and “
Z
” with the appropriate numbers from the label on your Stargate
Processor board. This sets the address, saves it to the flash parameter area and loads the Ethernet
chip with the indicated address.
;
NOTE:
The setting of the MAC address needs to be done only once. The IP parameters can
configured either manually or with DHCP.
5.5.4
Configuring the IP Parameters
If you want to manually setup your IP configuration and save it, enter the following bootloader
commands at the prompt. You would have to obtain the IP address (
ipaddr
) for your Stargate from
your Network Administrator. The Network Address mask (
netmask
) and the Gateway IP address
(
gateway
) are site specific and may be obtained from the Network Administrator.
•
set ipaddr XXX.XXX.XXX.XXX
•
set netmask NNN.NNN.NNN.NNN
•
set gateway GGG.GGG.GGG.GGG
•
set serverip SSS.SSS.SSS.SSS
•
set netcfg manual
•
params save
The “
serverip
” is the address of the TFTP server, on which you have placed the image files to be
downloaded. Again, you should only need to do this once.
Summary of Contents for Stargate
Page 1: ...Stargate Developer s Guide Rev B January 2006 Document 7430 0317 13 ...
Page 50: ......
Page 51: ......