allow coexistance of N build and AC build.
[tomato.git] / release / src-rt-6.x / cfe / build / broadcom / sim / runcfe
blobcf875d504f1f1164606c438ec999c6ec3745ac33
1 #!/bin/sh
3 # The optional parameter to this function specifies the name
4 # of a binary file to be in the 'flash2' device. You can
5 # boot this binary by typing:
7 # cfe> boot -elf -rawfs flash2:
10 if [ "$1" ]; then
11 swarm-run \
12 --sim-check-undefined \
13 --add-hw flash2.m4 \
14 --with-boot-flash-file cfe.srec \
15 --with-boot-flash-type ram \
16 --no-file \
17 --with-swarm-devs \
18 --with-sample-pci-devs \
19 --with-swarm-ide \
20 --with-swarm-ide-disk0-file disk0.dsk \
21 --with-swarm-ide-disk0-size 60 \
22 --with-memory-config 2x32 \
23 --with-swarm-rtc-eeprom-file x1240rom.bin \
24 --with-swarm-pcmcia-flash-file $1
25 else
26 swarm-run \
27 -v \
28 --sim-check-undefined \
29 --with-boot-flash-file cfe.srec \
30 --with-boot-flash-type ram \
31 --no-file \
32 --with-swarm-devs \
33 --with-sample-pci-devs \
34 --with-swarm-ide \
35 --with-swarm-ide-disk0-file disk0.dsk \
36 --with-swarm-ide-disk0-size 60 \
37 --with-memory-config 2x32 \
38 --with-swarm-rtc-eeprom-file x1240rom.bin