RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / cfe / build / broadcom / sim / runcfe_withnet
blobf746b79a607e623511e05cae3f5668fdf4b61a70
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-sockets-for-io \
25 --stream-socket-base-addr "0.0.0.0:10100" \
26 --sim-wait-after-init \
27 --with-swarm-pcmcia-flash-file $1
28 else
29 swarm-run \
30 --sim-check-undefined \
31 --with-boot-flash-file cfe.srec \
32 --with-boot-flash-type ram \
33 --no-file \
34 --with-swarm-devs \
35 --with-sample-pci-devs \
36 --with-swarm-ide \
37 --with-swarm-ide-disk0-file disk0.dsk \
38 --with-swarm-ide-disk0-size 60 \
39 --with-memory-config 2x32 \
40 --with-swarm-rtc-eeprom-file x1240rom.bin \
41 --with-sockets-for-io \
42 --stream-socket-base-addr "0.0.0.0:10100" \
43 --sim-wait-after-init