[PATCH 1/1] rtems-tools: Add rtems-test scripts for standalone sis

2017-07-21 Thread Jiri Gaisler
Can somebody review and merge this to rtems-tools.git?

Thanks, Jiri.

>From cacac45250ae9c0c8d45e9179090bb3992750628 Mon Sep 17 00:00:00 2001
From: Jiri Gaisler 
Date: Mon, 17 Jul 2017 10:42:42 +0200
Subject: [PATCH] Added test scripts for standalone sis

---
 tester/rtems/testing/bsps/erc32-sis.mc | 54 ++
 tester/rtems/testing/bsps/leon2-sis.mc | 54 ++
 tester/rtems/testing/bsps/leon3-sis.mc | 54 ++
 3 files changed, 162 insertions(+)
 create mode 100644 tester/rtems/testing/bsps/erc32-sis.mc
 create mode 100644 tester/rtems/testing/bsps/leon2-sis.mc
 create mode 100644 tester/rtems/testing/bsps/leon3-sis.mc

diff --git a/tester/rtems/testing/bsps/erc32-sis.mc b/tester/rtems/testing/bsps/erc32-sis.mc
new file mode 100644
index 000..b71a604
--- /dev/null
+++ b/tester/rtems/testing/bsps/erc32-sis.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 erc32 BSP
+#
+[global]
+bsp:  none,none, 'erc32'
+
+[erc32]
+erc32:none,none, '%{_rtscripts}/run.cfg'
+erc32_arch:   none,none, 'sparc'
+bsp_run_cmd:  none,none, '%{rtems_tools}/%{bsp_arch}-rtems%{rtems_version}-sis'
+bsp_run_opts: none,none, '-nouartrx -r -tlim 600 s'
diff --git a/tester/rtems/testing/bsps/leon2-sis.mc b/tester/rtems/testing/bsps/leon2-sis.mc
new file mode 100644
index 000..8854fd6
--- /dev/null
+++ b/tester/rtems/testing/bsps/leon2-sis.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 

Re: [PATCH 1/1] RSB: Update gdb-7.12 config to pull in latest sis patches.

2017-07-21 Thread Jiri Gaisler
Sorry, forgot to add the patch. Should not be doing this on a Friday
night ... :-)


On 07/21/2017 10:24 PM, Jiri Gaisler wrote:
> Can somebody review and merge this to RSB?
>
> Thanks, Jiri.
>

>From ae34bb8a2dedcff60ca25a83786c09d7bac3b794 Mon Sep 17 00:00:00 2001
From: Jiri Gaisler 
Date: Fri, 21 Jul 2017 18:08:07 +0200
Subject: [PATCH] Update gdb-7.12 config to pull in latest sis patches.

	This will add support for FSMULD on leon3 targets.
---
 rtems/config/tools/rtems-gdb-7.12-1.cfg | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rtems/config/tools/rtems-gdb-7.12-1.cfg b/rtems/config/tools/rtems-gdb-7.12-1.cfg
index ab557aa..38eedc3 100644
--- a/rtems/config/tools/rtems-gdb-7.12-1.cfg
+++ b/rtems/config/tools/rtems-gdb-7.12-1.cfg
@@ -10,10 +10,10 @@
 %hash md5 gdb-%{gdb_version}.tar.xz a0a3a00f7499b0c5278ba8676745d180
 
 #
-# ERC32 simulator fixes. (still OK from 7.11)
+# ERC32 simulator fixes.
 #
-%patch add gdb %{rtems_gdb_patches}/gdb-7.11-sis-leon2-leon3.diff
-%hash md5 gdb-7.11-sis-leon2-leon3.diff 88eac302290ea2a58bd7e08aaca94efd
+%patch add gdb https://gaisler.org/gdb/gdb-7.12-sis-leon2-leon3.diff
+%hash md5 gdb-7.12-sis-leon2-leon3.diff fe29e7daaab3bf70c99cda6925d8c0c5
 
 %patch add gdb https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blobdiff_plain;f=gdb/location.c;h=8dce21ada12b3f8cb4145d1af96e29efe378bda2;hp=65116c732f7071444986c4b582580b7cc4622f0b;hb=909de2c5cc91b815d671f7018da2a925fbd19aaf;hpb=a945860b6cb4f8a26343ac5dcb0b42fe5fb2f68a
 %hash sha512 binutils-gdb-git-8dce21ada12b3f8cb4145d1af96e29efe378bda2.patch c5acc276312067cdb9bbda1678f066b3d2b2c1e11275574aa2e3b5c4541c51e670da00e057a184211b282df254e9e1afa14ae7563f2a0588cf11a4dcbd2e5f7a
-- 
2.7.4

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

[PATCH 1/1] RSB: Update gdb-7.12 config to pull in latest sis patches.

2017-07-21 Thread Jiri Gaisler
Can somebody review and merge this to RSB?

Thanks, Jiri.

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


RE: parallel make failure?

2017-07-21 Thread Kirspel, Kevin
I have seen similar things as well.  In my case it fails in different places 
randomly.  Sometimes it will get all the way through. 

Kevin Kirspel
Electrical Engineer - Sr. Staff
Idexx Roswell
235 Hembree Park Drive
Roswell GA 30076
Tel: (770)-510- ext. 81642
Direct: (770)-688-1642
Fax: (770)-510-4445

-Original Message-
From: devel [mailto:devel-boun...@rtems.org] On Behalf Of Gedare Bloom
Sent: Friday, July 21, 2017 11:24 AM
To: devel@rtems.org
Subject: parallel make failure?

I'm building a clean master with current tools and observed the following using 
make -j4:

/usr/bin/install -c -m 644
../../../../../../rtems/c/src/libchip/i2c/i2c-ds1621.h
../../../erc32/lib/include/libchip/i2c-ds1621.h
/usr/bin/install: cannot create regular file
'../../../erc32/lib/include/libchip/ds1375-rtc.h': File exists
Makefile:2147: recipe for target
'../../../erc32/lib/include/libchip/ds1375-rtc.h' failed
make[5]: *** [../../../erc32/lib/include/libchip/ds1375-rtc.h] Error 1
make[5]: Leaving directory
'/home/gedare/work/rtems/builds/b-erc32/sparc-rtems4.12/c/erc32/libchip'
Makefile:916: recipe for target 'preinstall-libchip' failed
make[4]: *** [preinstall-libchip] Error 1

With just 'make' it passes this step.
___
devel mailing list
devel@rtems.org
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.rtems.org_mailman_listinfo_devel=DwICAg=2do6VJGs3LvEOe4OFFM1bA=HDiJ93ANMEQ32G5JGdpyUxbdebuwKHBbeiHMr3RbR74=H9XvezTNiH4W-H2EFj7UpeWTK8A3pj_g9545ys--tXQ=NK5spqMDGykOoOeFKNlO88-8y9mrj6y9saEinGMqxkw=
 
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


parallel make failure?

2017-07-21 Thread Gedare Bloom
I'm building a clean master with current tools and observed the
following using make -j4:

/usr/bin/install -c -m 644
../../../../../../rtems/c/src/libchip/i2c/i2c-ds1621.h
../../../erc32/lib/include/libchip/i2c-ds1621.h
/usr/bin/install: cannot create regular file
'../../../erc32/lib/include/libchip/ds1375-rtc.h': File exists
Makefile:2147: recipe for target
'../../../erc32/lib/include/libchip/ds1375-rtc.h' failed
make[5]: *** [../../../erc32/lib/include/libchip/ds1375-rtc.h] Error 1
make[5]: Leaving directory
'/home/gedare/work/rtems/builds/b-erc32/sparc-rtems4.12/c/erc32/libchip'
Makefile:916: recipe for target 'preinstall-libchip' failed
make[4]: *** [preinstall-libchip] Error 1

With just 'make' it passes this step.
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel