Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Niteesh G. S.
On Tue, May 5, 2020 at 11:44 PM Christian Mauderer wrote: > Hello Niteesh, > > On 05/05/2020 19:10, Niteesh G. S. wrote: > > This is thread is about implementing OFW functions in RTEMS as part > > of my GSoC project. I would like to start off with this part since the > > refactoring > > work will

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Christian Mauderer
On 06/05/2020 09:16, Niteesh G. S. wrote: > On Tue, May 5, 2020 at 11:44 PM Christian Mauderer > wrote: > > Hello Niteesh, > > On 05/05/2020 19:10, Niteesh G. S. wrote: > > This is thread is about implementing OFW functions in RTEMS as part > > of my GS

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Christian Mauderer
On 06/05/2020 06:58, Sebastian Huber wrote: > Hello Niteesh, > > On 05/05/2020 19:10, Niteesh G. S. wrote: >> This is thread is about implementing OFW functions in RTEMS as part >> of my GSoC project. I would like to start off with this part since the >> refactoring >> work will somewhat depend on

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Niteesh G. S.
On Tue, May 5, 2020 at 11:46 PM Vijay Kumar Banerjee wrote: > > > On Tue, May 5, 2020 at 10:40 PM Niteesh G. S. > wrote: > >> This is thread is about implementing OFW functions in RTEMS as part >> of my GSoC project. I would like to start off with this part since the >> refactoring >> work will

[PATCH 6/6] testsuite: Add expected-fail to beagleboneblack

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- .../config/beagleboneblack-testsuite.tcfg | 17 + 1 file changed, 17 insertions(+) create mode 100644 bsps/arm/beagle/config/beagleboneblack-testsuite.tcfg diff --git a/bsps/arm/beagle/config/beagleboneblack-testsuite.tcfg b/bsps/arm/b

[PATCH 2/6] testsuite: Add expected-fail to erc32, leon2, and leon3 BSPs

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- bsps/sparc/erc32/config/erc32-testsuite.tcfg | 7 +++ bsps/sparc/leon2/config/leon2-testsuite.tcfg | 7 +++ bsps/sparc/leon3/config/leon3-testsuite.tcfg | 7 +++ bsps/sparc/sparc-testsuite.tcfg | 7 +++ 4 files changed, 28 insertio

[PATCH 3/6] libdl: Add allocator check script

2020-05-06 Thread chrisj
From: Chris Johns Use with the trace outout to check for allocation leaks. --- cpukit/libdl/rtl-alloc-check.py | 96 + 1 file changed, 96 insertions(+) create mode 100644 cpukit/libdl/rtl-alloc-check.py diff --git a/cpukit/libdl/rtl-alloc-check.py b/cpukit/libdl

[PATCH 5/6] testsuite: Add expected-fail to xilinx's zedboard, a9_qemu, zc702 and zc706

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- .../xilinx-zynq/config/xilinx_zynq-testsuite.tcfg| 12 .../config/xilinx_zynq_a9_qemu-testsuite.tcfg| 7 +++ .../config/xilinx_zynq_zc702-testsuite.tcfg | 7 +++ .../config/xilinx_zynq_zc706-testsuite.tcfg |

[PATCH 4/6] testsuite: Add expected-fail to psim

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- bsps/powerpc/psim/config/psim-testsuite.tcfg | 22 1 file changed, 22 insertions(+) create mode 100644 bsps/powerpc/psim/config/psim-testsuite.tcfg diff --git a/bsps/powerpc/psim/config/psim-testsuite.tcfg b/bsps/powerpc/psim/config/psi

[PATCH 1/6] testsuite: Add the BSP architecture to the include path

2020-05-06 Thread chrisj
From: Chris Johns Updates #2962 --- testsuites/aclocal/rtems-test-check.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/aclocal/rtems-test-check.m4 b/testsuites/aclocal/rtems-test-check.m4 index a0feee5e15..99b3e31244 100644 --- a/testsuites/aclocal/rtems-test-

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Christian Mauderer
Hello Niteesh, On 06/05/2020 10:42, Niteesh G. S. wrote: > On Tue, May 5, 2020 at 11:46 PM Vijay Kumar Banerjee > wrote: > > > > On Tue, May 5, 2020 at 10:40 PM Niteesh G. S. > wrote: > > This is thread is about implementin

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Niteesh G. S.
On Wed, May 6, 2020 at 2:20 PM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > Hello Niteesh, > > On 06/05/2020 10:42, Niteesh G. S. wrote: > > On Tue, May 5, 2020 at 11:46 PM Vijay Kumar Banerjee > > wrote: > > > > > > > > On Tue, May 5, 2020 at 1

Re: [PATCH 4/6] testsuite: Add expected-fail to psim

2020-05-06 Thread Sebastian Huber
On 06/05/2020 10:41, chr...@rtems.org wrote: From: Chris Johns Updates #2962 --- bsps/powerpc/psim/config/psim-testsuite.tcfg | 22 1 file changed, 22 insertions(+) create mode 100644 bsps/powerpc/psim/config/psim-testsuite.tcfg diff --git a/bsps/powerpc/psim/config/p

Re: [PATCH 4/6] testsuite: Add expected-fail to psim

2020-05-06 Thread Chris Johns
On 6/5/20 7:35 pm, Sebastian Huber wrote: On 06/05/2020 10:41, chr...@rtems.org wrote: From: Chris Johns Updates #2962 ---   bsps/powerpc/psim/config/psim-testsuite.tcfg | 22   1 file changed, 22 insertions(+)   create mode 100644 bsps/powerpc/psim/config/psim-testsuite.tc

Re: [PATCH 4/6] testsuite: Add expected-fail to psim

2020-05-06 Thread Sebastian Huber
On 06/05/2020 12:00, Chris Johns wrote: On 6/5/20 7:35 pm, Sebastian Huber wrote: On 06/05/2020 10:41, chr...@rtems.org wrote: From: Chris Johns Updates #2962 ---   bsps/powerpc/psim/config/psim-testsuite.tcfg | 22   1 file changed, 22 insertions(+)   create mode 10064

Re: [PATCH 4/6] testsuite: Add expected-fail to psim

2020-05-06 Thread Chris Johns
> On 6 May 2020, at 8:15 pm, Sebastian Huber > wrote: > > On 06/05/2020 12:00, Chris Johns wrote: > >>> On 6/5/20 7:35 pm, Sebastian Huber wrote: On 06/05/2020 10:41, chr...@rtems.org wrote: >>> From: Chris Johns Updates #2962 --- bsps/powerpc/psim/config/psi

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Christian Mauderer
On 06/05/2020 11:31, Niteesh G. S. wrote: > On Wed, May 6, 2020 at 2:20 PM Christian Mauderer > > wrote: > > Hello Niteesh, > > On 06/05/2020 10:42, Niteesh G. S. wrote: > > On Tue, May 5, 2020 at 11:46 PM Vijay Kumar Banerjee > mailt

Re: [PATCH 4/6] testsuite: Add expected-fail to psim

2020-05-06 Thread Joel Sherrill
On Wed, May 6, 2020 at 6:12 AM Chris Johns wrote: > > > On 6 May 2020, at 8:15 pm, Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > > > > On 06/05/2020 12:00, Chris Johns wrote: > > > >>> On 6/5/20 7:35 pm, Sebastian Huber wrote: > On 06/05/2020 10:41, chr...@rtems.org wrote

[PATCH 1/2] sb/execute.py: Open subprocess I/O handles in text mode

2020-05-06 Thread Anders Montonen
With a UTF-8 locale, _readthread() would occasionally split a multibyte code point. When running under Python 3, this would trigger an UnicodeDecodeError, which resulted in the build hanging. Solve this issue by opening the subprocess streams in text mode, and let Python's runtime deal with the nit

[PATCH 2/2] sb/execute.py: Add test for _readthread() code point splitting

2020-05-06 Thread Anders Montonen
Signed-off-by: Anders Montonen --- source-builder/sb/execute.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source-builder/sb/execute.py b/source-builder/sb/execute.py index 092267b..fc379ae 100755 --- a/source-builder/sb/execute.py +++ b/source-builder/sb/execute.py @@

[PATCH 0/2] Source Builder: Fix UnicodeDecodeError build hang

2020-05-06 Thread Anders Montonen
This patch fixes the UnicodeDecodeError that randomly caused source builder to hang. In my testing, there was no difference in performance at least under Python 3. Anders Montonen (2): sb/execute.py: Open subprocess I/O handles in text mode sb/execute.py: Add test for _readthread() code point

Re: [PATCH 0/2] Source Builder: Fix UnicodeDecodeError build hang

2020-05-06 Thread Chris Johns
On 7/5/20 9:37 am, Anders Montonen wrote: > This patch fixes the UnicodeDecodeError that randomly caused source > builder to hang. > > In my testing, there was no difference in performance at least under > Python 3. Have you tested python 2? I would like to explore this change on master after we

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Niteesh G. S.
On Wed, May 6, 2020 at 9:18 PM Christian Mauderer wrote: > On 06/05/2020 11:31, Niteesh G. S. wrote: > > On Wed, May 6, 2020 at 2:20 PM Christian Mauderer > > > > wrote: > > > > Hello Niteesh, > > > > On 06/05/2020 10:42, Niteesh G. S. wrote:

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Sebastian Huber
On 07/05/2020 06:58, Niteesh G. S. wrote: I couldn't go through it yesterday. Today I started off with building rtems6 toolchain for arm using RSB but failed. I used the following command ../source-builder/sb-set-builder --prefix=/home/niteesh/development/rtems/6 6/rtems-arm --jobs=8 The pro

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Niteesh G. S.
On Thu, May 7, 2020 at 10:44 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 07/05/2020 06:58, Niteesh G. S. wrote: > > > I couldn't go through it yesterday. Today I started off with building > > rtems6 > > toolchain for arm using RSB but failed. I used the following command >

Re: GSoC 2020: Implementation of OFW functions

2020-05-06 Thread Christian Mauderer
Hello Niteesh, On 07/05/2020 06:58, Niteesh G. S. wrote: [...] > Is there any chance that we will be working with the new build system > for this GSoC project? I think there is a good chance that the new build system will be added soon. As far as I know, the current plan is to add it right after

[PATCH] termios: Replace rtems_termios_isig_status_code

2020-05-06 Thread Sebastian Huber
Merge the rtems_termios_isig_status_code and rtems_termios_iproc_status_code enums into a single rtems_termios_iproc_status_code which is now a part of the API. Simplify rtems_termios_posix_isig_handler() to avoid unreachable code. Close #3800. --- cpukit/include/rtems/libio.h