summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-04-04 09:24:24 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-04-05 10:10:34 -0500
commitc0449d55f46f438a758ff18c416ee9bcaf8fb40b (patch)
treec6ac0fc4555e66665490170e0c8b855ab21a9d50
parentpsim*.mc: Fix typo (diff)
downloadrtems-tools-c0449d55f46f438a758ff18c416ee9bcaf8fb40b.tar.bz2
lm32_evr_gdbsim: Add configuration files
-rw-r--r--tester/rtems/testing/bsps/lm32_evr_gdbsim-device-tree8
-rw-r--r--tester/rtems/testing/bsps/lm32_evr_gdbsim-run.mc54
-rw-r--r--tester/rtems/testing/bsps/lm32_evr_gdbsim.mc56
3 files changed, 118 insertions, 0 deletions
diff --git a/tester/rtems/testing/bsps/lm32_evr_gdbsim-device-tree b/tester/rtems/testing/bsps/lm32_evr_gdbsim-device-tree
new file mode 100644
index 0000000..4b90283
--- /dev/null
+++ b/tester/rtems/testing/bsps/lm32_evr_gdbsim-device-tree
@@ -0,0 +1,8 @@
+/lm32cpu
+/lm32uart/reg 0x80006000 0x100
+/lm32uart > int int0 /lm32cpu
+/lm32timer/reg 0x80002000 0x80
+/lm32timer > int int1 /lm32cpu
+# GDB simulator only supports one instance of the timer
+#/lm32timer/reg 0x8000a000 0x80
+#/lm32timer > int int3 /lm32cpu
diff --git a/tester/rtems/testing/bsps/lm32_evr_gdbsim-run.mc b/tester/rtems/testing/bsps/lm32_evr_gdbsim-run.mc
new file mode 100644
index 0000000..38853fd
--- /dev/null
+++ b/tester/rtems/testing/bsps/lm32_evr_gdbsim-run.mc
@@ -0,0 +1,54 @@
+#
+# RTEMS Tools Project (http://www.rtems.org/)
+# Copyright 2015 On-Line Applications Research Corporation (OAR).
+# All rights reserved.
+#
+# This file is part of the RTEMS Tools package in 'rtems-tools'.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+
+#
+# All paths in defaults must be Unix format. Do not store any Windows format
+# paths in the defaults.
+#
+# Every entry must describe the type of checking a host must pass.
+#
+# Records:
+# key: type, attribute, value
+# type : none, dir, exe, triplet
+# attribute: none, required, optional
+# value : 'single line', '''multi line'''
+#
+
+#
+# The lm32_evr_gdbsim BSP
+#
+[global]
+bsp: none, none, 'lm32_evr_gdbsim'
+
+[lm32_evr_gdbsim]
+lm32_evr_gdbsim: none, none, '%{_rtscripts}/run.cfg'
+lm32_evr_gdbsim_arch: none, none, 'lm32'
+bsp_run_cmd: none, none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-run'
+bsp_run_opts: none, none, '--hw-file %{_rtscripts}/bsps/lm32_evr_gdbsim-device-tree --memory-region 0x08000000,0x4000000'
diff --git a/tester/rtems/testing/bsps/lm32_evr_gdbsim.mc b/tester/rtems/testing/bsps/lm32_evr_gdbsim.mc
new file mode 100644
index 0000000..1fd9a81
--- /dev/null
+++ b/tester/rtems/testing/bsps/lm32_evr_gdbsim.mc
@@ -0,0 +1,56 @@
+#
+# RTEMS Tools Project (http://www.rtems.org/)
+# Copyright 2015 On-Line Applications Research Corporation (OAR).
+# All rights reserved.
+#
+# This file is part of the RTEMS Tools package in 'rtems-tools'.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+
+#
+# All paths in defaults must be Unix format. Do not store any Windows format
+# paths in the defaults.
+#
+# Every entry must describe the type of checking a host must pass.
+#
+# Records:
+# key: type, attribute, value
+# type : none, dir, exe, triplet
+# attribute: none, required, optional
+# value : 'single line', '''multi line'''
+#
+
+#
+# The lm32_evr_gdbsim BSP
+#
+[global]
+bsp: none, none, 'lm32_evr_gdbsim'
+
+[lm32_evr_gdbsim]
+lm32_evr_gdbsim: none, none, '%{_rtscripts}/gdb.cfg'
+lm32_evr_gdbsim_arch: none, none, 'lm32'
+gdb_script: none, none, 'lm32_evr_gdbsim_gdb_script'
+lm32_evr_gdbsim_gdb_script: none, none, '''tar sim --hw-file %{_rtscripts}/bsps/lm32_evr_gdbsim-device-tree --memory-region 0x08000000,0x4000000
+ load
+ run'''