blob: 913f82db08a14904ee4f4edaa1267ae72e5fae44 [file] [log] [blame]
wdenke2211742002-11-02 23:30:20 +00001# format of this file is:
2#
3# 1. blank lines and lines beginning with '#' are ignored
4# 2. all other lines must have the form <name>=<value>
5# 3. if a percent appears anywhere, it is replaced like so:
6#
7# %s serial number of the main board (10 digit zero filled)
8# %S serial number of the main board (plain number)
9# %% a percentage character
10#
11# no whitespace is removed in either <name> or <value>
12#
13# if first character in <name> is a dash ('-'), then an existing env var
14# will not be overwritten (the dash is removed).
15#
16# if last character in <name> is a plus ('+'), then <value> will be appended
17# to any existing env var (the plus is removed). Duplicates of <value> are
18# removed.
19#
20
21# set the ip address based on the main board serial number
22ipaddr=192.168.1.%S
23serverip=192.168.1.254
24
25# stop auto execute after tftp
26autostart=no
27
28#
29# 16M flash map, 64 x 256K sectors, mapped at address 0x40000000
30#
31# sector 0: boot
32# sector 1: non volatile environment
33# sectors 2-4: linux kernel image
34# sectors 5-7: alternate linux kernel image
35# sectors 8-63: linux initial ramdisk image
36#
37
38fetchboot=tftp 100000 /hymod/u-boot.bin
39eraseboot=protect off 1:0 ; erase 1:0 ; protect on 1:0
40copyboot=protect off 1:0 ; cp.b 100000 40000000 40000 ; protect on 1:0
41cmpboot=cmp.b 100000 40000000 40000
42newboot=run fetchboot eraseboot copyboot cmpboot
43
44fetchlinux=tftp 100000 /hymod/linux.bin
45eraselinux=erase 1:2-4
46copylinux=cp.b 100000 40080000 $(filesize)
47cmplinux=cmp.b 100000 40080000 $(filesize)
48newlinux=run fetchlinux eraselinux copylinux cmplinux
49
50fetchaltlinux=tftp 100000 /hymod/altlinux.bin
51erasealtlinux=erase 1:5-7
52copyaltlinux=cp.b 100000 40080000 $(filesize)
53cmpaltlinux=cmp.b 100000 40080000 $(filesize)
54newaltlinux=run fetchaltlinux erasealtlinux copyaltlinux cmpaltlinux
55
56fetchird=tftp 100000 /hymod/initrd.bin
57eraseird=erase 1:8-63
58copyird=cp.b 100000 40200000 $(filesize)
59cmpird=cmp.b 100000 40200000 $(filesize)
60newinitrd=run fetchird eraseird copyird cmpird
61
62bootcmd=bootm 40080000 40200000
63-bootargs=root=/dev/ram rw
64# these are for hymod linux
65bootargs+=preload=unix,i2c-cpm,i2c-dev
66bootargs+=serialno=%S
67bootargs+=ramdisk_size=32768
68bootargs+=automount nisclient nisdomain=mlb.dmt.csiro.au nissrvadr=138.194.112.4
69bootdelay=2