OpenRISC GCC upstreaming

2018-08-31 Thread Stefan Wallentowitz
Hi everyone,

I know a few of you were hoping to see the OpenRISC GCC port upstream.
This finally happened! https://gcc.gnu.org/ml/gcc/2018-08/msg00216.html

As some of you may know, we had a serious issue with one central
contributor refusing to assign copyright to the FSF. As a result,
Stafford Horne decided to write the OpenRISC backend from scratch and is
finished in less than a year now.

Best regards,
Stefan



signature.asc
Description: OpenPGP digital signature
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] [RSB] use updated newlib revision for or1k

2016-03-29 Thread Stefan Wallentowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 30.03.2016 07:29, Sebastian Huber wrote:
> 
> 
> On 30/03/16 07:26, Stefan Wallentowitz wrote:
>> there is also a GCC-6 snapshot available: 
>> https://github.com/openrisc/newlib/releases/tag/gcc6-preview
>> 
>> This was the GCC version used in the other architectures last
>> week, so maybe it makes sense to bump to this GCC version, too.
> 
> Are there any plans to integrate the or1k stuff into the FSF GCC?
> 

Hi Sebastian,

this is unfortunately not possible due to one missing FSF copyright
assignment of the original author. We have repeatedly tried to
convince him or find a proper workaround, but do not have a solution.
But we are keeping up with upstream GCC pretty fast currently.

If you accidentally know somehow who would be interested to rewrite
the GCC port from scratch..

Cheers,
Stefan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlb7aKkACgkQuMYtsrn2U9wbjgCffW0gkH6MDa2T/SnwGGFkXLWe
s9oAnAyqPfD8jNiXSdDsfOZW3QIn2anE
=BBl7
-END PGP SIGNATURE-
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] [RSB] use updated newlib revision for or1k

2016-03-29 Thread Stefan Wallentowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Hesham,

there is also a GCC-6 snapshot available:
https://github.com/openrisc/newlib/releases/tag/gcc6-preview

This was the GCC version used in the other architectures last week, so
maybe it makes sense to bump to this GCC version, too.

Best,
Stefan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlb7Y20ACgkQuMYtsrn2U9xDqACgosg/yDD8YBaJaPFqdiBH+CBQ
ZZUAoIWMCHPtP0N3TgO3zTT4bSxrC3n7
=knxA
-END PGP SIGNATURE-
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] [RSB 4.11] Bump OpenRISC versions

2016-03-22 Thread Stefan Wallentowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22.03.2016 03:09, Hesham Almatary wrote:
> Thanks Gedare. Both work fine with or1ksim and qemu.

Hi,

I have recently moved GCC forward to the GCC 6 snapshot the other
architectures use. Should or1k also keep up with the most recent GCC
development version?

Best,
Stefan

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlbxMWYACgkQuMYtsrn2U9z19QCePOhWarLdo2ZsgGaxpDwta6AO
q4gAoJvGZSxvhG8fFb2VontjfmBCEs7V
=H2gI
-END PGP SIGNATURE-
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH] [RSB 4.11] Bump OpenRISC versions

2016-03-20 Thread Stefan Wallentowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20.03.2016 22:17, Hesham Almatary wrote:
> Hi Stefan,
> 
> Thanks you! The gcc-4.8 patch was aging, so updating it is great.
> 
> Have you had a chance to build the or1k BSP and run ticker or hello
> on or1ksim with those new patches?
> 
> Cheers, Hesham
> 

Hi,

I have run hello and some other samples on an FPGA board. I will check
or1ksim soon.

Best,
Stefan

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlbvFQAACgkQuMYtsrn2U9x+rwCfaBnKaKSEKK8MLkp+T5eyXaZI
WIsAoKTjGlsLEkxKnXV3osRVusynrH2U
=q8DR
-END PGP SIGNATURE-
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH] [RSB 4.11] Bump OpenRISC versions

2016-03-20 Thread Stefan Wallentowitz
Bump the OpenRISC toolchain to newer versions.

* Binutils to 2.26
* GCC to 4.9.3
* GDB to 7.9

updates #2668
---
 rtems/config/4.11/rtems-or1k.bset | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/rtems/config/4.11/rtems-or1k.bset 
b/rtems/config/4.11/rtems-or1k.bset
index e600700..06ba931 100644
--- a/rtems/config/4.11/rtems-or1k.bset
+++ b/rtems/config/4.11/rtems-or1k.bset
@@ -16,12 +16,12 @@
 #
 
 #gcc
-%patch add gcc -p1 
https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gcc-4.8.3-or1k-rtems-29072014.diff
-%hash  md5 gcc-4.8.3-or1k-rtems-29072014.diff 97be92fbe69a355625633a8d128fb5f5 
+%patch add gcc -p1 
https://github.com/openrisc/or1k-gcc/releases/download/or1k-4.9.3-release/gcc-4.9.3-or1k.patch
+%hash  md5 gcc-4.9.3-or1k.patch 83cddff103da7a2afc888b5ea6a78a0f
 
 #gdb
-%patch add gdb -p1 
https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gdb-7.7-or1k-rtems.diff
-%hash  md5 gdb-7.7-or1k-rtems.diff 7565167e02652ff300dd31015499633e
+%patch add gdb -p1 
https://github.com/openrisc/binutils-gdb/releases/download/gdb-7.9.0-or1k-release/gdb-7.9.0-or1k.patch
+%hash  md5 gdb-7.9.0-or1k.patch 0cae263fba62324cdd1f40125daca2c9
 
 #
 # or1k specific configurations
@@ -37,7 +37,7 @@
 #
 4.11/rtems-autotools
 devel/expat-2.1.0-1
-tools/rtems-binutils-2.25-1
-tools/rtems-gcc-4.8.3-newlib-2.2.0-20150423-1.cfg
+tools/rtems-binutils-2.26-1
+tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
 tools/rtems-tools-4.11-1
-tools/rtems-gdb-7.7-1
+tools/rtems-gdb-7.9-1
-- 
2.1.4

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


[PATCH] [RSB 4.12/master] Bump OpenRISC versions

2016-03-20 Thread Stefan Wallentowitz
Bump the OpenRISC toolchain to newer versions.

* Binutils to 2.26
* GCC to 4.9.3
* GDB to 7.11

updates #2669
---
 rtems/config/4.12/rtems-or1k.bset | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/rtems/config/4.12/rtems-or1k.bset 
b/rtems/config/4.12/rtems-or1k.bset
index e1e4c34..7d8baba 100644
--- a/rtems/config/4.12/rtems-or1k.bset
+++ b/rtems/config/4.12/rtems-or1k.bset
@@ -16,12 +16,12 @@
 #
 
 #gcc
-%patch add gcc -p1 
https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gcc-4.8.3-or1k-rtems-29072014.diff
-%hash  md5 gcc-4.8.3-or1k-rtems-29072014.diff 97be92fbe69a355625633a8d128fb5f5 
+%patch add gcc -p1 
https://github.com/openrisc/or1k-gcc/releases/download/or1k-4.9.3-release/gcc-4.9.3-or1k.patch
+%hash  md5 gcc-4.9.3-or1k.patch 83cddff103da7a2afc888b5ea6a78a0f
 
 #gdb
-%patch add gdb -p1 
https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gdb-7.7-or1k-rtems.diff
-%hash  md5 gdb-7.7-or1k-rtems.diff 7565167e02652ff300dd31015499633e
+%patch add gdb -p1 
https://github.com/openrisc/binutils-gdb/releases/download/gdb-7.11-or1k-release/gdb-7.11-or1k.patch
+%hash  md5 gdb-7.11.0-or1k.patch 0a36d2c9a59d950c6741cb1500164d53
 
 #
 # or1k specific configurations
@@ -37,7 +37,8 @@
 #
 4.12/rtems-autotools
 devel/expat-2.1.0-1
-tools/rtems-binutils-2.25-1
-tools/rtems-gcc-4.8.3-newlib-git-1
+tools/rtems-binutils-2.26-1
+tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
 tools/rtems-tools-4.12-1
-tools/rtems-gdb-7.7-1
+tools/rtems-gdb-7.11-1
+
-- 
2.1.4

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


Re: [PATCH] Bump OpenRISC versions

2016-03-20 Thread Stefan Wallentowitz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 20.03.2016 16:04, Joel Sherrill wrote:
> Chris.. this is a 4.11 patch so I think you should approve/merge
> it. I don't want to push onto 4.11. Plus it should really have a
> ticket.

Okay, should I open it?

> Stefan... I am in the middle of testing new tools on 4.12 and
> Chris is trying to get the 4.11 branch wrapped up for a release.
> Would you might submitting a second patch to update or1k on the
> master? I think those tool versions are ok but the rest of the
> targets are at least on a newer gdb.

Of course. I will bump it to 7.11 and submit.

Thanks!

Best,
Stefan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlbuvG0ACgkQuMYtsrn2U9wbuwCfbIKo27hFbak0ewoLoy880N5q
bn0AoId0OSV3LZ11GlhfpvvTugk8DJdj
=5nop
-END PGP SIGNATURE-
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH] Bump OpenRISC versions

2016-03-20 Thread Stefan Wallentowitz
Bump the OpenRISC toolchain to newer versions.

* Binutils to 2.26
* GCC to 4.9.3
* GDB to 7.9
---
 rtems/config/4.11/rtems-or1k.bset | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/rtems/config/4.11/rtems-or1k.bset 
b/rtems/config/4.11/rtems-or1k.bset
index e600700..06ba931 100644
--- a/rtems/config/4.11/rtems-or1k.bset
+++ b/rtems/config/4.11/rtems-or1k.bset
@@ -16,12 +16,12 @@
 #
 
 #gcc
-%patch add gcc -p1 
https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gcc-4.8.3-or1k-rtems-29072014.diff
-%hash  md5 gcc-4.8.3-or1k-rtems-29072014.diff 97be92fbe69a355625633a8d128fb5f5 
+%patch add gcc -p1 
https://github.com/openrisc/or1k-gcc/releases/download/or1k-4.9.3-release/gcc-4.9.3-or1k.patch
+%hash  md5 gcc-4.9.3-or1k.patch 83cddff103da7a2afc888b5ea6a78a0f
 
 #gdb
-%patch add gdb -p1 
https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gdb-7.7-or1k-rtems.diff
-%hash  md5 gdb-7.7-or1k-rtems.diff 7565167e02652ff300dd31015499633e
+%patch add gdb -p1 
https://github.com/openrisc/binutils-gdb/releases/download/gdb-7.9.0-or1k-release/gdb-7.9.0-or1k.patch
+%hash  md5 gdb-7.9.0-or1k.patch 0cae263fba62324cdd1f40125daca2c9
 
 #
 # or1k specific configurations
@@ -37,7 +37,7 @@
 #
 4.11/rtems-autotools
 devel/expat-2.1.0-1
-tools/rtems-binutils-2.25-1
-tools/rtems-gcc-4.8.3-newlib-2.2.0-20150423-1.cfg
+tools/rtems-binutils-2.26-1
+tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1.cfg
 tools/rtems-tools-4.11-1
-tools/rtems-gdb-7.7-1
+tools/rtems-gdb-7.9-1


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


[PATCH] [RSB] Bump OpenRISC versions

2016-03-20 Thread Stefan Wallentowitz
Hi all,

the following patch bumps the tools in the OpenRISC toolchain to more
recent versions. Beside this is replaces the patch sets to be applied
to GCC and GDB with official releases from the OpenRISC Github
repository.

The patch should preferably go into branch 4.11 and the current
development branch.

Cheers,
Stefan

Stefan Wallentowitz (1):
  Bump OpenRISC versions

 rtems/config/4.11/rtems-or1k.bset | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)


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


[PATCH] rsb: Add binutils 2.25

2015-02-12 Thread Stefan Wallentowitz
Hi all,

I am currently preparing a few releases of or1k cross compilers and
thereby found that this one may be updated to bintuils 2.25, where or1k
is upstreamed now. The first patch adds binutils 2.25 and the second one
changes the or1k setting for the next release.

Cheers,
Stefan
commit 40c7c690d5ce872c1400ed3fb2091f2fafb8d838
Author: Stefan Wallentowitz stefan.wallentow...@tum.de
Date:   Thu Feb 12 14:21:23 2015 +0100

Add binutils 2.25 support

diff --git a/rtems/config/tools/rtems-binutils-2.25-1.cfg b/rtems/config/tools/rtems-binutils-2.25-1.cfg
new file mode 100644
index 000..f0b910b
--- /dev/null
+++ b/rtems/config/tools/rtems-binutils-2.25-1.cfg
@@ -0,0 +1,22 @@
+#
+# Binutils 2.25.
+#
+
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define binutils_version 2.25
+
+%hash md5 binutils-%{binutils_version}.tar.bz2 d9f3303f802a5b6b0bb73a335ab89d66
+
+#
+# Enable deterministic archives by default. This will be the default
+# there all tools using this binutils will create deterministic
+# archives.
+#
+%define with_deterministic_archives 1
+
+#
+# The binutils build instructions. We use 2.xx Release 1.
+#
+%include %{_configdir}/binutils-2-1.cfg
commit d746ab827529c4e451813bb0e6461ce3dc7b1231
Author: Stefan Wallentowitz stefan.wallentow...@tum.de
Date:   Thu Feb 12 14:21:42 2015 +0100

Replace binutils for or1k as it is upstream there

diff --git a/rtems/config/4.11/rtems-or1k.bset b/rtems/config/4.11/rtems-or1k.bset
index 48ca165..b486885 100644
--- a/rtems/config/4.11/rtems-or1k.bset
+++ b/rtems/config/4.11/rtems-or1k.bset
@@ -15,10 +15,6 @@
 # or1k specific patches
 #
 
-#binutils
-%patch add binutils -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/binutils-2.24-or1k-rtems.diff
-%hash  md5 binutils-2.24-or1k-rtems.diff 6a1d5ae6e37f6eed421b357a63a612db
-
 #gcc
 %patch add gcc -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gcc-4.8.3-or1k-rtems-29072014.diff
 %hash  md5 gcc-4.8.3-or1k-rtems-29072014.diff df2555b2dd4de2d78366fabd705f36ac
@@ -41,7 +37,7 @@
 #
 4.11/rtems-autotools
 devel/expat-2.1.0-1
-tools/rtems-binutils-2.24-1
+tools/rtems-binutils-2.25-1
 tools/rtems-gcc-4.8.3-newlib-git-1
 tools/rtems-tools-4.11-1
 tools/rtems-gdb-7.7-1


smime.p7s
Description: S/MIME Cryptographic Signature
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel