1#!/bin/sh 2# 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: 6# 7# cfe> boot -elf -rawfs flash2: 8# 9# 10if [ "$1" ]; then 11 OPTS="--with-swarm-pcmcia-flash-file $1" 12fi 13 14 swarm-run \ 15 --sim-check-undefined \ 16 --add-hw flash2.m4 \ 17 --with-boot-flash-file cfe.srec \ 18 --with-boot-flash-type ram \ 19 --no-file \ 20 --with-swarm-devs \ 21 --with-sample-pci-devs \ 22 --with-swarm-ide \ 23 --with-swarm-ide-disk0-file disk0.dsk \ 24 --with-swarm-ide-disk0-size 60 \ 25 --with-memory-config 2x64 \ 26 $OPTS \ 27 --with-swarm-rtc-eeprom-file x1240rom.bin 28