#!/bin/pmon
# set some initial boot parameters
set ipaddr 192.168.15.2
set etheraddr 00:02:d8:00:00:50
set heaptop 80100000
#	Load binary image at 80100000
load -B
#
# set parameters for kernel
set modetty0 "57600,n,8,1,hw"
set bootserport tty0
set cpuconfig ""
# To override any of the built-in manufacturing MAC addresses, 
#    uncomment and edit the following line
# set ethaddr0 00:02:d8:00:00:50
set baseboardserial 0000000086
set bootprot tftp
set bootserver 0.0.0.0
set bootfile ""
#
# The following is how two interfaces might be configured.
# The following starts the kernel invoking kgdb using either scc0 or console.
# g 80100000 -c kgdb=scc0 ip=192.168.15.2::192.168.15.1::Brecis:eth0:none:100f ip=192.168.16.2:::::eth1:none:an
# g 80100000 -c kgdb=console ip=192.168.15.2::192.168.15.1::Brecis:eth0:none:100f ip=192.168.16.2:::::eth1:none
#
# The following is one way to start the kernel with CONFIG_IP_PNP=y (parsing "ip=" arguments).
g 80100000 -c ip=192.168.15.2::192.168.15.1::Brecis:eth0:none ip=192.168.16.2:::::eth1:none
#
# Set three ethernet addresses via:
# g 80100000 -c ip=192.168.15.2::192.168.15.1::Brecis:eth0:none ip=192.168.16.2:::::eth1:none ip=192.168.17.2:::::eth2:none
#
# Format of the above "g" commands are as follows:
# "g <kernel_entry_address> -c <arguments to the uClinux kernel>
#
# The format of the "ip=argument" is as follows:
#
#  <client-ip>:<server-ip>:<gw-ip>:<netmask>:<host name>:<device>:<PROTO>:<PHY CONFIG>
#  Any of the fields can be empty which means to use a default value:
#      <client-ip>     - address given by BOOTP or RARP
#      <server-ip>     - address of host returning BOOTP or RARP packet
#      <gw-ip>         - none, or the address returned by BOOTP
#      <netmask>       - automatically determined from <client-ip>, or BOOTP
#      <host name>     - <client-ip> in ASCII notation, or returned by BOOTP
#      <device>        - device
#      <PROTO>:
#         off|none         - don't do autoconfig at all (DEFAULT)
#         on|any           - use any configured protocol
#         dhcp|bootp|rarp  - use only the specified protocol
#         both             - use both BOOTP and RARP (not DHCP)
#      <PHY CONFIG>:
#	  an               - auto-negotiate (DEFAULT)
#         10h              - set to 10 Mbit, Half Duplex, PHY
#         10f              - set to 10 Mbit, Full Duplex, PHY
#         100h             - set to 100 Mbit, Half Duplex, PHY
#         100f             - set to 100 Mbit, Full Duplex, PHY
#         10hs             - set to 10 Mbit, Half Duplex, SWITCH
#         10fs             - set to 10 Mbit, Full Duplex, SWITCH
#         100hs            - set to 100 Mbit, Half Duplex, SWITCH
#         100fs            - set to 100 Mbit, Full Duplex, SWITCH
#!eof
