summaryrefslogtreecommitdiffstats
path: root/tester
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2021-09-20 21:34:56 -1000
committerChris Johns <chrisj@rtems.org>2021-09-21 17:41:30 +1000
commitaa53a6fdd2fc3f56dee14b114a2532ca87ad24b2 (patch)
tree63eb81d7ba91a21231972226ca3b2e628905ab0a /tester
parenttester/wait: Add a wait directive to the tester (diff)
downloadrtems-tools-aa53a6fdd2fc3f56dee14b114a2532ca87ad24b2.tar.bz2
tester/mvme2307: Add support for the MVME2307 (MVME2700) BSP
- Assumes a stand alone TFTP server
Diffstat (limited to 'tester')
-rw-r--r--tester/rtems/testing/bsps/mvme2307.ini59
1 files changed, 59 insertions, 0 deletions
diff --git a/tester/rtems/testing/bsps/mvme2307.ini b/tester/rtems/testing/bsps/mvme2307.ini
new file mode 100644
index 0000000..b142aa9
--- /dev/null
+++ b/tester/rtems/testing/bsps/mvme2307.ini
@@ -0,0 +1,59 @@
+#
+# RTEMS Tools Project (http://www.rtems.org/)
+# Copyright 2021 Chris Johns (chrisj@rtems.org)
+# 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.
+#
+
+#
+# The MVME2307 BSP
+#
+# This BSP uses the bootloader's network autoboot to boot the board. It
+# does nothing but sleep for the test's timeout period.
+#
+# You need to:
+#
+# 1. Set up a TFTP server and provide a suitable path to copy the
+# bootable image to.
+#
+# 2. Use the `env` command to enable network autoboot:
+# Network Auto Boot Enable [Y/N] = N? y
+#
+# 3. Provide a script to power cycle the board
+#
+# 4. Provide a telnet connection to the serial port
+#
+# 5. Create a script that converts the executable to the
+# bootable image and copy the image to the TFTP server.
+#
+[mvme2307]
+bsp = mvme2307
+arch = powerpc
+jobs = 1
+test_restarts = 3
+tester = %{_rtscripts}/wait.cfg
+target_start_regex = ^Copyright Motorola Inc.*, All Rights Reserved
+requires = target_on_command, target_off_command, target_reset_command, bsp_tty_dev