PATCH for RSB/gdb
I have attached a patch for RSB/gdb-7.11 that brings the sis simulator up to date and adds support for leon2/3 emulation. Some seg-faults have also been fixed, and breakpoints and watchpoints work correctly with gdb and DDD now. The patch is pulled in from gaisler.org, and consists of the following 9 parts: 0001-sim-erc32-Use-gdb-callback-for-UART-I-O-when-linked-.patch 0002-sim-erc32-Access-memory-subsystem-through-struct-mem.patch 0003-sim-erc32-Move-local-extern-declarations-into-sis.h.patch 0004-Add-support-for-LEON3-processor-emulation.patch 0005-sim-erc32-Add-support-for-LEON2-processor-emulation.patch 0006-sim-erc32-Updated-documentation.patch 0007-sim-erc32-Add-data-watchpoint-support.patch 0008-Add-watchpoint-support-to-gdb-simulator-interface.patch 0009-sim-erc32-Added-back-original-run.c.patch The 'run' command now also supports leon2/3 emulation, by adding '-a -leon2' or '-a leon3' at startup. This can be used to automate testing of the erc32, leon2 and leon3 bsp's. I would suggest that the 'sis' bsp is dropped for 4.12 as it is no longer needed ... Jiri. diff --git a/rtems/config/tools/rtems-binutils-2.26-1.cfg b/rtems/config/tools/rtems-binutils-2.26-1.cfg index 37ec3d5..d51496c 100644 --- a/rtems/config/tools/rtems-binutils-2.26-1.cfg +++ b/rtems/config/tools/rtems-binutils-2.26-1.cfg @@ -16,6 +16,11 @@ %hash sha512 binutils-2.26-rtems-aarch64-x86_64.patch 2236cc22dda60d5c18a2ab5abc0f44bf487794f7c0899382bf49233e789e1fb34ce28b0f7a85069642f7cc06bd34d7634a441a8d92bf890de57bb89cc398349f # +# SPARC GAS fixes. +# +%patch add binutils https://gaisler.org/rsb/binutils-2.26-gas-reloc.patch +%hash md5 binutils-2.26-gas-reloc.patch 1b88374118c2da61eeaca9c4ba1ce42c + # Enable deterministic archives by default. This will be the default # there all tools using this binutils will create deterministic # archives. diff --git a/rtems/config/tools/rtems-gdb-7.11-1.cfg b/rtems/config/tools/rtems-gdb-7.11-1.cfg index 5f7cf78..308427c 100644 --- a/rtems/config/tools/rtems-gdb-7.11-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.11-1.cfg @@ -18,12 +18,8 @@ # # ERC32 simulator fixes. # -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-endian-fix.diff -%hash md5 gdb-7.11-erc32-endian-fix.diff d0cd4207f0c7d04cb9bc9b918eebfdc6 -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-printf_filtered.diff -%hash md5 gdb-7.11-erc32-printf_filtered.diff 1e03d4c90c0cb4ded7c08963210f7127 -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-common-run.diff -%hash md5 gdb-7.11-erc32-common-run.diff e986ce115b81f7dd45f36d6f257af541 +%patch add gdb https://gaisler.org/rsb/gdb-7.11-sis-leon2-leon3.diff +%hash md5 gdb-7.11-sis-leon2-leon3.diff 88eac302290ea2a58bd7e08aaca94efd %if %{_build_os} == freebsd %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: PATCH for RSB/gdb
The previous patch also contained a non-related fix to binutils, sorry for that. I have attached the correct patch. Jiri. On 14/11/16 13:58, Jiri Gaisler wrote: > I have attached a patch for RSB/gdb-7.11 that brings the sis simulator > up to date and adds support for leon2/3 emulation. Some seg-faults have > also been fixed, and breakpoints and watchpoints work correctly with gdb > and DDD now. The patch is pulled in from gaisler.org, and consists of > the following 9 parts: > diff --git a/rtems/config/tools/rtems-gdb-7.11-1.cfg b/rtems/config/tools/rtems-gdb-7.11-1.cfg index 5f7cf78..308427c 100644 --- a/rtems/config/tools/rtems-gdb-7.11-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.11-1.cfg @@ -18,12 +18,8 @@ # # ERC32 simulator fixes. # -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-endian-fix.diff -%hash md5 gdb-7.11-erc32-endian-fix.diff d0cd4207f0c7d04cb9bc9b918eebfdc6 -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-printf_filtered.diff -%hash md5 gdb-7.11-erc32-printf_filtered.diff 1e03d4c90c0cb4ded7c08963210f7127 -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-common-run.diff -%hash md5 gdb-7.11-erc32-common-run.diff e986ce115b81f7dd45f36d6f257af541 +%patch add gdb https://gaisler.org/rsb/gdb-7.11-sis-leon2-leon3.diff +%hash md5 gdb-7.11-sis-leon2-leon3.diff 88eac302290ea2a58bd7e08aaca94efd %if %{_build_os} == freebsd %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 2/7] rtems-default.bset: Update to gcc-6-20161110 and newlib 2.4.0.20161025
--- rtems/config/4.12/rtems-default.bset | 2 +- ...tems-gcc-6-20161110-newlib-2.4.0.20161025-1.cfg | 23 ++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 rtems/config/tools/rtems-gcc-6-20161110-newlib-2.4.0.20161025-1.cfg diff --git a/rtems/config/4.12/rtems-default.bset b/rtems/config/4.12/rtems-default.bset index 825a966..262eb77 100644 --- a/rtems/config/4.12/rtems-default.bset +++ b/rtems/config/4.12/rtems-default.bset @@ -11,7 +11,7 @@ devel/expat-2.1.0-1 tools/rtems-binutils-2.27-1 -tools/rtems-gcc-6-20160609-newlib-2.4.0.20160527-1 +tools/rtems-gcc-6-20161110-newlib-2.4.0.20161025-1 tools/rtems-gdb-7.11-1 tools/rtems-tools-4.12-1 tools/rtems-kernel-4.12 diff --git a/rtems/config/tools/rtems-gcc-6-20161110-newlib-2.4.0.20161025-1.cfg b/rtems/config/tools/rtems-gcc-6-20161110-newlib-2.4.0.20161025-1.cfg new file mode 100644 index 000..dbb3547 --- /dev/null +++ b/rtems/config/tools/rtems-gcc-6-20161110-newlib-2.4.0.20161025-1.cfg @@ -0,0 +1,23 @@ +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define gcc_version6-20161110 +%define newlib_version 2.4.0.20161025 +%define mpfr_version 2.4.2 +%define mpc_version0.8.1 +%define gmp_version4.3.2 + + +%hash sha512 gcc-6-20161110.tar.bz2 b75f73950a409658b45a6dc2fcbfe18b38aba53fdd55f509e17637fb0d50464b6636394297fd33a0843684f7ef3eefefd1dcf8f257694ab4f15339ae37c8437e +%hash sha512 newlib-2.4.0.20161025.tar.gz bad47dc4062e0e9a0660a95cdd7a8b180d4257f68352a4a1fb66cd936aa38fbf44ccbe51f8281f89667e96a8296a02f1dbfc6ee5daba6951db375bbca74898eb +%hash sha512 mpfr-2.4.2.tar.bz2 c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e +%hash sha512 mpc-0.8.1.tar.gz 14cb9ae3d33caed24d5ae648eed28b2e00ad047a8baeff25981129af88245b4def2948573d7a00d65c5bd34e53524aa6a7351b76703c9f888b41830c1a1daae2 +%hash sha512 gmp-4.3.2.tar.bz2 2e0b0fd23e6f10742a5517981e5171c6e88b0a93c83da701b296f5c0861d72c19782daab589a7eac3f9032152a0fc7eff7f5362db8fccc4859564a9aa82329cf + +%define with_threads 1 +%define with_plugin 0 +%define with_iconv 1 + +%source set gcc ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_version}/gcc-%{gcc_version}.tar.bz2 + +%include %{_configdir}/gcc-6-1.cfg -- 1.8.3.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 1/7] rtems-default.bset: Update to binutils 2.27
--- rtems/config/4.12/rtems-default.bset | 2 +- rtems/config/tools/rtems-binutils-2.27-1.cfg | 28 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 rtems/config/tools/rtems-binutils-2.27-1.cfg diff --git a/rtems/config/4.12/rtems-default.bset b/rtems/config/4.12/rtems-default.bset index a2d42b8..825a966 100644 --- a/rtems/config/4.12/rtems-default.bset +++ b/rtems/config/4.12/rtems-default.bset @@ -10,7 +10,7 @@ 4.12/rtems-autotools devel/expat-2.1.0-1 -tools/rtems-binutils-2.26-1 +tools/rtems-binutils-2.27-1 tools/rtems-gcc-6-20160609-newlib-2.4.0.20160527-1 tools/rtems-gdb-7.11-1 tools/rtems-tools-4.12-1 diff --git a/rtems/config/tools/rtems-binutils-2.27-1.cfg b/rtems/config/tools/rtems-binutils-2.27-1.cfg new file mode 100644 index 000..940ccf1 --- /dev/null +++ b/rtems/config/tools/rtems-binutils-2.27-1.cfg @@ -0,0 +1,28 @@ +# +# Binutils 2.26. +# + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define binutils_version 2.27 + +%hash sha512 binutils-%{binutils_version}.tar.bz2 cf276f84935312361a2ca077e04d0b469d23a3aed979d8ba5d92ea590904ffb2c2e7ed12cc842822bfc402836be86f479660cef3791aa62f3753d8a1a6f564cb + +# +# Patches for x86_64 and aarch64 (2.26 maybe not for 2.27) +# +# %patch add binutils -p1 %{rtems_binutils_patches}/binutils-2.26-rtems-aarch64-x86_64.patch +# %hash sha512 binutils-2.26-rtems-aarch64-x86_64.patch 2236cc22dda60d5c18a2ab5abc0f44bf487794f7c0899382bf49233e789e1fb34ce28b0f7a85069642f7cc06bd34d7634a441a8d92bf890de57bb89cc398349f + +# +# 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 -- 1.8.3.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 0/7] Update Tools on Master Plus SPARC Fixes
Hi This is my patch series updated to include some SPARC updates and fixes from Jiri. This includes a binutils fix for #2802 (dl05) which will need to be backported to 4.11.1. I will push soon unless someone complains mightily. :) For the 4.12 releases, we will need a gcc 7 release. For mipstx39, we need gdb 7.12.1 or 7.13. Not worth figuring out which patches make 7.11 and 7.12 build. --joel Jiri Gaisler (2): binutils-2.26-1: Add patch for unaligned reloc on SPARC binutils-2.27-1: Add patch for unaligned reloc on SPARC Joel Sherrill (5): rtems-default.bset: Update to binutils 2.27 rtems-default.bset: Update to gcc-6-20161110 and newlib 2.4.0.20161025 rtems-default.bset: Update to gdb 7.12 rtems-gdb-7.11-1.cfg: Add support for leon2/leon3 to sis rtems-gdb-7.12-1.cfg: Add support for leon2/leon3 to sis rtems/config/4.12/rtems-default.bset | 6 ++-- rtems/config/tools/rtems-binutils-2.26-1.cfg | 5 rtems/config/tools/rtems-binutils-2.27-1.cfg | 34 ++ ...tems-gcc-6-20161110-newlib-2.4.0.20161025-1.cfg | 23 +++ rtems/config/tools/rtems-gdb-7.11-1.cfg| 8 ++--- rtems/config/tools/rtems-gdb-7.12-1.cfg| 29 ++ rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg| 2 +- 7 files changed, 97 insertions(+), 10 deletions(-) create mode 100644 rtems/config/tools/rtems-binutils-2.27-1.cfg create mode 100644 rtems/config/tools/rtems-gcc-6-20161110-newlib-2.4.0.20161025-1.cfg create mode 100644 rtems/config/tools/rtems-gdb-7.12-1.cfg -- 1.8.3.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 4/7] binutils-2.26-1: Add patch for unaligned reloc on SPARC
From: Jiri Gaisler closes #2802. --- rtems/config/tools/rtems-binutils-2.26-1.cfg | 5 + 1 file changed, 5 insertions(+) diff --git a/rtems/config/tools/rtems-binutils-2.26-1.cfg b/rtems/config/tools/rtems-binutils-2.26-1.cfg index 37ec3d5..d51496c 100644 --- a/rtems/config/tools/rtems-binutils-2.26-1.cfg +++ b/rtems/config/tools/rtems-binutils-2.26-1.cfg @@ -16,6 +16,11 @@ %hash sha512 binutils-2.26-rtems-aarch64-x86_64.patch 2236cc22dda60d5c18a2ab5abc0f44bf487794f7c0899382bf49233e789e1fb34ce28b0f7a85069642f7cc06bd34d7634a441a8d92bf890de57bb89cc398349f # +# SPARC GAS fixes. +# +%patch add binutils https://gaisler.org/rsb/binutils-2.26-gas-reloc.patch +%hash md5 binutils-2.26-gas-reloc.patch 1b88374118c2da61eeaca9c4ba1ce42c + # Enable deterministic archives by default. This will be the default # there all tools using this binutils will create deterministic # archives. -- 1.8.3.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 7/7] rtems-gdb-7.12-1.cfg: Add support for leon2/leon3 to sis
--- rtems/config/tools/rtems-gdb-7.12-1.cfg | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rtems/config/tools/rtems-gdb-7.12-1.cfg b/rtems/config/tools/rtems-gdb-7.12-1.cfg index c42f056..bf281d1 100644 --- a/rtems/config/tools/rtems-gdb-7.12-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.12-1.cfg @@ -12,12 +12,8 @@ # # ERC32 simulator fixes. (still OK from 7.11) # -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-endian-fix.diff -%hash md5 gdb-7.11-erc32-endian-fix.diff d0cd4207f0c7d04cb9bc9b918eebfdc6 -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-printf_filtered.diff -%hash md5 gdb-7.11-erc32-printf_filtered.diff 1e03d4c90c0cb4ded7c08963210f7127 -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-common-run.diff -%hash md5 gdb-7.11-erc32-common-run.diff e986ce115b81f7dd45f36d6f257af541 +%patch add gdb https://gaisler.org/rsb/gdb-7.11-sis-leon2-leon3.diff +%hash md5 gdb-7.11-sis-leon2-leon3.diff 88eac302290ea2a58bd7e08aaca94efd # # FreeBSD specific fixes (still OK from 7.11) -- 1.8.3.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 3/7] rtems-default.bset: Update to gdb 7.12
Clean up comments in mipstx39 file. It doesn't build in gdb 7.12. It is fixed on the gdb master and 7.12 branch. When 7.12.1 comes out, we will need to bump to that. --- rtems/config/4.12/rtems-default.bset| 2 +- rtems/config/tools/rtems-gdb-7.12-1.cfg | 33 + rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg | 2 +- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 rtems/config/tools/rtems-gdb-7.12-1.cfg diff --git a/rtems/config/4.12/rtems-default.bset b/rtems/config/4.12/rtems-default.bset index 262eb77..fad81cd 100644 --- a/rtems/config/4.12/rtems-default.bset +++ b/rtems/config/4.12/rtems-default.bset @@ -12,6 +12,6 @@ devel/expat-2.1.0-1 tools/rtems-binutils-2.27-1 tools/rtems-gcc-6-20161110-newlib-2.4.0.20161025-1 -tools/rtems-gdb-7.11-1 +tools/rtems-gdb-7.12-1 tools/rtems-tools-4.12-1 tools/rtems-kernel-4.12 diff --git a/rtems/config/tools/rtems-gdb-7.12-1.cfg b/rtems/config/tools/rtems-gdb-7.12-1.cfg new file mode 100644 index 000..c42f056 --- /dev/null +++ b/rtems/config/tools/rtems-gdb-7.12-1.cfg @@ -0,0 +1,33 @@ +# +# GDB 7.12 +# + +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define gdb_version 7.12 +%define gdb_src_ext xz +%hash md5 gdb-%{gdb_version}.tar.xz a0a3a00f7499b0c5278ba8676745d180 + +# +# ERC32 simulator fixes. (still OK from 7.11) +# +%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-endian-fix.diff +%hash md5 gdb-7.11-erc32-endian-fix.diff d0cd4207f0c7d04cb9bc9b918eebfdc6 +%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-printf_filtered.diff +%hash md5 gdb-7.11-erc32-printf_filtered.diff 1e03d4c90c0cb4ded7c08963210f7127 +%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-common-run.diff +%hash md5 gdb-7.11-erc32-common-run.diff e986ce115b81f7dd45f36d6f257af541 + +# +# FreeBSD specific fixes (still OK from 7.11) +# +%if %{_build_os} == freebsd + %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py + %hash md5 patch-gdb-python-python-config.py c0260fcca4c1a5509635049c0094eee3 +%endif + +# +# The gdb build instructions. We use 7.xx Release 1. +# +%include %{_configdir}/gdb-7-1.cfg diff --git a/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg b/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg index 1b6947c..5777b5f 100644 --- a/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg +++ b/rtems/config/tools/rtems-mipstx39-gdb-7.9-1.cfg @@ -6,6 +6,6 @@ %define _target mipstx39-rtems%{rtems_version} # -# The gdb build instructions for RTEMS 7.7. +# The gdb 7.9 build instructions for RTEMS. # %include tools/rtems-gdb-7.9-1.cfg -- 1.8.3.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 5/7] binutils-2.27-1: Add patch for unaligned reloc on SPARC
From: Jiri Gaisler updates #2802. --- rtems/config/tools/rtems-binutils-2.27-1.cfg | 6 ++ 1 file changed, 6 insertions(+) diff --git a/rtems/config/tools/rtems-binutils-2.27-1.cfg b/rtems/config/tools/rtems-binutils-2.27-1.cfg index 940ccf1..11be52f 100644 --- a/rtems/config/tools/rtems-binutils-2.27-1.cfg +++ b/rtems/config/tools/rtems-binutils-2.27-1.cfg @@ -16,6 +16,12 @@ # %hash sha512 binutils-2.26-rtems-aarch64-x86_64.patch 2236cc22dda60d5c18a2ab5abc0f44bf487794f7c0899382bf49233e789e1fb34ce28b0f7a85069642f7cc06bd34d7634a441a8d92bf890de57bb89cc398349f # +# SPARC GAS fixes. +# +%patch add binutils https://gaisler.org/rsb/binutils-2.26-gas-reloc.patch +%hash md5 binutils-2.26-gas-reloc.patch 1b88374118c2da61eeaca9c4ba1ce42c + +# # Enable deterministic archives by default. This will be the default # there all tools using this binutils will create deterministic # archives. -- 1.8.3.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 6/7] rtems-gdb-7.11-1.cfg: Add support for leon2/leon3 to sis
--- rtems/config/tools/rtems-gdb-7.11-1.cfg | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rtems/config/tools/rtems-gdb-7.11-1.cfg b/rtems/config/tools/rtems-gdb-7.11-1.cfg index 5f7cf78..308427c 100644 --- a/rtems/config/tools/rtems-gdb-7.11-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.11-1.cfg @@ -18,12 +18,8 @@ # # ERC32 simulator fixes. # -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-endian-fix.diff -%hash md5 gdb-7.11-erc32-endian-fix.diff d0cd4207f0c7d04cb9bc9b918eebfdc6 -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-printf_filtered.diff -%hash md5 gdb-7.11-erc32-printf_filtered.diff 1e03d4c90c0cb4ded7c08963210f7127 -%patch add gdb %{rtems_gdb_patches}/gdb-7.11-erc32-common-run.diff -%hash md5 gdb-7.11-erc32-common-run.diff e986ce115b81f7dd45f36d6f257af541 +%patch add gdb https://gaisler.org/rsb/gdb-7.11-sis-leon2-leon3.diff +%hash md5 gdb-7.11-sis-leon2-leon3.diff 88eac302290ea2a58bd7e08aaca94efd %if %{_build_os} == freebsd %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py -- 1.8.3.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: PATCH for RSB/gdb
I just posted a patch series which should include all of my updates and Jiri's patches. Please review. Thanks Jiri. --joel On Mon, Nov 14, 2016 at 7:25 AM, Jiri Gaisler wrote: > The previous patch also contained a non-related fix to binutils, sorry > for that. I have attached the correct patch. > > Jiri. > > > On 14/11/16 13:58, Jiri Gaisler wrote: > > I have attached a patch for RSB/gdb-7.11 that brings the sis simulator > > up to date and adds support for leon2/3 emulation. Some seg-faults have > > also been fixed, and breakpoints and watchpoints work correctly with gdb > > and DDD now. The patch is pulled in from gaisler.org, and consists of > > the following 9 parts: > > > > > ___ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel > ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
RFC - Remove sis before 4.12 Branches
Hi The sis variant of the sparc/erc32 BSP has existed a LONG time in RTEMS. It was needed to turn on about 50 lines of assembly that were needed to initialize the simulator but not the real erc32. This reflects the simulator existing before the hardware. The real erc32 configuration disables that code because it is not needed and thus undesirable for flight configurations. Jiri Gaisler fixed the simulator well over a year ago so that the simulator is initialized in the same state as the real HW. This lets the erc32 BSP variant (without the special code) work on gdb/sis. Thus this variant isn't needed any longer. If this were ANY other BSP, this would barely rate a ticket. But this BSP variant was added in January 2006 and is featured in the Hello World task and various other instructions. There is no technical reason to keep this BSP but it is going to be a bit more difficult to completely clean up. Any objections to removing the unnecessary sparc/sis BSP variant before 4.12 branches? I plan to file a ticket and prepare a patch. It will take a village to make sure we catch all the places this is in instructions though. Thanks. --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel