summaryrefslogtreecommitdiff
path: root/sim-scripts/gumstix.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-21 20:50:31 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-08-21 20:50:31 +0000
commitb94baa041cc279430bef2e165856a0b45b6bdb62 (patch)
tree4de11c0594d41f13b2a5617d1521c991f957f0b4 /sim-scripts/gumstix.in
parent016b70c33990d85360e26a59a453249d920aa7dc (diff)
2009-08-21 Joel Sherrill <joel.sherrill@OARcorp.com>
* gdb-sim-run.in, gdb-sim.in, gumstix.in: Make graphics and network interfaces potentially available on all simulator scripts. Add configuration for network to gumstix.
Diffstat (limited to 'sim-scripts/gumstix.in')
-rw-r--r--sim-scripts/gumstix.in15
1 files changed, 14 insertions, 1 deletions
diff --git a/sim-scripts/gumstix.in b/sim-scripts/gumstix.in
index f77bffd..cb98da2 100644
--- a/sim-scripts/gumstix.in
+++ b/sim-scripts/gumstix.in
@@ -6,6 +6,9 @@
##INSERT SKYEYE SUPPORT HERE
+bspSupportsDisplayAdapter="yes"
+bspSupportsNIC="yes"
+
checkBSPFaults()
{
bspExited_ARM
@@ -43,8 +46,18 @@ mem_bank: map=I, type=RW, addr=0xB0000000, size=0x100000
mem_bank: map=I, type=RW, addr=0x40000000, size=0x4C000000
#shutdown_device: addr=0xb0000000, max_ins=${limit}0000000
shutdown_device: addr=0xb0000000, max_ins=0
-lcd:state=on,type=pxa,mod=gtk
EOF
+
+if [ ${enable_display_adapter} = "yes" ] ; then
+ echo "lcd:state=on,type=pxa,mod=gtk"
+fi
+
+if [ ${enable_network} = "yes" ] ; then
+cat <<EOF
+net: base=0x40000600, size=0xff, int=16, type=rtl8019, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
+EOF
+fi
+
if [ ${coverage} = yes ] ; then
# Only do coverage on first megabyte of code space
echo "code_coverage: state=on, filename=${2}.cov, start=0xA0000000, end=0xA0100000"