[PATCH rtems-tools 3/3] tester/mvme2307: Add support for the MVME2307 (MVME2700) BSP

chrisj at rtems.org chrisj at rtems.org
Tue Sep 21 07:42:03 UTC 2021


From: Chris Johns <chrisj at rtems.org>

- Assumes a stand alone TFTP server
---
 tester/rtems/testing/bsps/mvme2307.ini | 59 ++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
 create mode 100644 tester/rtems/testing/bsps/mvme2307.ini

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 at 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
-- 
2.24.1



More information about the devel mailing list