Re: [PATCH 2/2] sparc: Fix mistakenly cleared PSR[EF] bit.

2019-06-05 Thread Sebastian Huber
On 05/06/2019 21:22, Maksim E. Kozlov wrote: --- cpukit/score/cpu/sparc/cpu_asm.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/sparc/cpu_asm.S b/cpukit/score/cpu/sparc/cpu_asm.S index 2f3ad24510..69bbfb2748 100644 --- a/cpukit/score/cpu/sparc/cpu_asm

Re: [PATCH 1/2] sparc: Fix missed restoring of PSR in syscall_lazy_fp_switch

2019-06-05 Thread Sebastian Huber
Hello Maksim, thanks for the bug report and the fix. I added a ticket for it: https://devel.rtems.org/ticket/3756 I checked in a slightly modified patch: https://git.rtems.org/rtems/commit/?id=a38187051863cf4a423c4f00669c6786bc8ff60d Would you mind reviewing it. -- Sebastian Huber, embedded

Re: [rtems-source-builder commit] 5: Update Newlib

2019-06-05 Thread Chris Johns
On 6/6/19 3:04 pm, Sebastian Huber wrote: > On 06/06/2019 02:23, Chris Johns wrote: >> On 5/6/19 10:16 pm, Sebastian Huber wrote: >>> +tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c >> Is there a timetable for gcc 7 branch releases? I see the built gcc >> executable >> clearly shows the version of g

Re: [rtems-source-builder commit] 5: Update Newlib

2019-06-05 Thread Sebastian Huber
On 06/06/2019 02:23, Chris Johns wrote: On 5/6/19 10:16 pm, Sebastian Huber wrote: +tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c Is there a timetable for gcc 7 branch releases? I see the built gcc executable clearly shows the version of gcc is 7.4.1 which is great so I am wondering if this file

Re: RTEMS on embedded CPUs(RISCV)

2019-06-05 Thread Sachin Ghadi
On Wed, Jun 5, 2019 at 4:36 PM Sebastian Huber wrote: > > On 05/06/2019 12:20, Sachin Ghadi wrote: > > Thanks Sebastian, > > > > On Wed, Jun 5, 2019 at 10:41 AM Sebastian Huber > > wrote: > >> Hello Sachin, > >> > >> On 05/06/2019 06:15, sachin.gh...@sifive.com wrote: > >>> Hi RTEMS dev team, > >

Re: [rtems-source-builder commit] 5: Update Newlib

2019-06-05 Thread Chris Johns
On 5/6/19 10:16 pm, Sebastian Huber wrote: > +tools/rtems-gcc-fb371a33fa6-newlib-5c2a3661c Is there a timetable for gcc 7 branch releases? I see the built gcc executable clearly shows the version of gcc is 7.4.1 which is great so I am wondering if this file name would be clearer if the branch was

Re: Problem building RTEMS - readline/undefined reference to tputs

2019-06-05 Thread Joel Sherrill
On Wed, Jun 5, 2019 at 4:04 PM John Graham wrote: > > Did you install the packages listed here: > > > > https://docs.rtems.org/branches/master/user/hosts/posix.html#xubuntu > > > > sudo apt-get build-dep gcc-defaults g++ gdb git unzip pax bison \ > > flex libpython-dev git libncurses5-dev

Re: Problem building RTEMS - readline/undefined reference to tputs

2019-06-05 Thread John Graham
> Did you install the packages listed here: > > https://docs.rtems.org/branches/master/user/hosts/posix.html#xubuntu > > sudo apt-get build-dep gcc-defaults g++ gdb git unzip pax bison \ > flex libpython-dev git libncurses5-dev zlib1g-dev It can't find build-dep or gcc-defaults - any idea

[PATCH 0/2] sparc: Two problems in lazy floating point switching

2019-06-05 Thread Maksim E. Kozlov
Hi, I think there are two problems in lazy floating point switching: 1. Missed restoring of PSR after invoked CMP commands in syscall_lazy_fp_switch procedure. 2. Mistaken clearing of PSR[EF] bit in _ISR_Handler The following is a piece of real code, generated by gcc-9.1.0 from ordinary C++

[PATCH 1/2] sparc: Fix missed restoring of PSR in syscall_lazy_fp_switch

2019-06-05 Thread Maksim E. Kozlov
It is needed to restore PSR just before return because condition codes are dirty after the CMP instructions and this may cause undefined program behavior after returning from the switching procedure (on following branch instruction, for example). --- cpukit/score/cpu/sparc/syscall.S | 4 1 fi

[PATCH 2/2] sparc: Fix mistakenly cleared PSR[EF] bit.

2019-06-05 Thread Maksim E. Kozlov
--- cpukit/score/cpu/sparc/cpu_asm.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/sparc/cpu_asm.S b/cpukit/score/cpu/sparc/cpu_asm.S index 2f3ad24510..69bbfb2748 100644 --- a/cpukit/score/cpu/sparc/cpu_asm.S +++ b/cpukit/score/cpu/sparc/cpu_asm.S @@ -682,1

Re: [PATCH 3/5] Add rtems i2c adaptation layer

2019-06-05 Thread Christian Mauderer
On 01/06/2019 21:20, Vijay Kumar Banerjee wrote: > --- > libbsd.py| 1 + > rtemsbsd/i2c/rtems-i2c.c | 218 +++ > 2 files changed, 219 insertions(+) > create mode 100644 rtemsbsd/i2c/rtems-i2c.c I think the file would be better located at

Re: [PATCH 2/5] iicbus: port to RTEMS

2019-06-05 Thread Christian Mauderer
On 01/06/2019 21:20, Vijay Kumar Banerjee wrote: > --- > Makefile.todo | 11 ++ > buildset/default.ini | 1 + > libbsd.py | 35 > rtemsbsd/include/bsp/nexus-devices.h | 4 + > .../machi

CTF example

2019-06-05 Thread Ravindra Kumar Meena
Hi Gedare, This is with reference to meeting we recently conducted on freenode. You had suggested that you have working examples on CTF. Can you please share them all here? If possible, please share anything other related to decoder(source plugin) which would help in converting current trace data

Re: RTEMS on embedded CPUs(RISCV)

2019-06-05 Thread Hesham Almatary
On Wed, 5 Jun 2019 at 15:14, Sebastian Huber wrote: > > On 05/06/2019 15:09, Hesham Almatary wrote: > > On Wed, 5 Jun 2019 at 07:11, Sebastian Huber > > wrote: > >> Hello Sachin, > >> > >> On 05/06/2019 06:15,sachin.gh...@sifive.com wrote: > >>> Hi RTEMS dev team, > >>> > >>> I don’t know if I

Re: RTEMS on embedded CPUs(RISCV)

2019-06-05 Thread Sebastian Huber
On 05/06/2019 15:09, Hesham Almatary wrote: Upstream QEMU runs RTEMS fine with -virt board. Also, I tested 32-bit RTEMS variants on Zynq-based FPGA with Bluespec cores, UART and DTB [1]. [1]https://github.com/bluespec/Piccolo It would be great if you could mention this on the BSP page somehow:

Re: RTEMS on embedded CPUs(RISCV)

2019-06-05 Thread Sebastian Huber
On 05/06/2019 15:09, Hesham Almatary wrote: On Wed, 5 Jun 2019 at 07:11, Sebastian Huber wrote: Hello Sachin, On 05/06/2019 06:15,sachin.gh...@sifive.com wrote: Hi RTEMS dev team, I don’t know if I should send this query to users list or developer list. I am working on the getting RTEMS B

Re: RTEMS on embedded CPUs(RISCV)

2019-06-05 Thread Hesham Almatary
On Wed, 5 Jun 2019 at 07:11, Sebastian Huber wrote: > > Hello Sachin, > > On 05/06/2019 06:15, sachin.gh...@sifive.com wrote: > > > > Hi RTEMS dev team, > > > > I don’t know if I should send this query to users list or developer list. > > > > I am working on the getting RTEMS BSP ported on the one

Re: Problem building RTEMS - readline/undefined reference to tputs

2019-06-05 Thread Sebastian Huber
On 05/06/2019 15:07, John Graham wrote: I'm on Ubuntu 19.04, assumed that would be fine as I saw Ubuntu marked as supported elsewhere, however in your link I see 18.04 LTS is specifically mentioned so I may try that if I can't get this to work. Did you install the packages listed here: https:

Re: Problem building RTEMS - readline/undefined reference to tputs

2019-06-05 Thread John Graham
I'm on Ubuntu 19.04, assumed that would be fine as I saw Ubuntu marked as supported elsewhere, however in your link I see 18.04 LTS is specifically mentioned so I may try that if I can't get this to work. John On Wed, 5 Jun 2019, 13:45 Sebastian Huber, < sebastian.hu...@embedded-brains.de> wrote:

Re: RTEMS on embedded CPUs(RISCV)

2019-06-05 Thread Joel Sherrill
On Tue, Jun 4, 2019, 11:15 PM wrote: > Hi RTEMS dev team, > > I don’t know if I should send this query to users list or developer list. > > I am working on the getting RTEMS BSP ported on the one of RISC-V based > SoC. > > Current RTEMS has support only for Spike simulator. > > > > It looks like

Re: Problem building RTEMS - readline/undefined reference to tputs

2019-06-05 Thread Sebastian Huber
On 05/06/2019 14:27, John Graham wrote: I'm trying to build RTEMS to see about starting development work, I took the advice to build the tools as per the user manual, and everything goes okay until this page: https://docs.rtems.org/branches/master/user/start/tools.html I've followed the ins

Re: Problem building RTEMS - readline/undefined reference to tputs

2019-06-05 Thread Joel Sherrill
On Wed, Jun 5, 2019, 7:27 AM John Graham wrote: > Hi there, > > I'm trying to build RTEMS to see about starting development work, I took > the advice to build the tools as per the user manual, and everything goes > okay until this page: > > https://docs.rtems.org/branches/master/user/start/to

Problem building RTEMS - readline/undefined reference to tputs

2019-06-05 Thread John Graham
Hi there, I'm trying to build RTEMS to see about starting development work, I took the advice to build the tools as per the user manual, and everything goes okay until this page: https://docs.rtems.org/branches/master/user/start/tools.html I've followed the instructions but when I try and ac

Re: RTEMS on embedded CPUs(RISCV)

2019-06-05 Thread Sebastian Huber
On 05/06/2019 12:20, Sachin Ghadi wrote: Thanks Sebastian, On Wed, Jun 5, 2019 at 10:41 AM Sebastian Huber wrote: Hello Sachin, On 05/06/2019 06:15, sachin.gh...@sifive.com wrote: Hi RTEMS dev team, I don’t know if I should send this query to users list or developer list. I am working on t

Re: RTEMS on embedded CPUs(RISCV)

2019-06-05 Thread Sachin Ghadi
Thanks Sebastian, On Wed, Jun 5, 2019 at 10:41 AM Sebastian Huber wrote: > > Hello Sachin, > > On 05/06/2019 06:15, sachin.gh...@sifive.com wrote: > > > > Hi RTEMS dev team, > > > > I don’t know if I should send this query to users list or developer list. > > > > I am working on the getting RTEMS

Re: [PATCH] Port ndbm

2019-06-05 Thread Vaibhav Gupta
When I checked further, libc/posix/Makefile.am INCLUDES is the old name for AM_CPPFLAGS, hence I added the new path in it. . INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) -I$(top_srcdir)/search . . ___ devel mailing list devel@rtems.or

[PATCH] Port ndbm

2019-06-05 Thread Vaibhav Gupta
--- newlib/libc/include/ndbm.h| 82 + newlib/libc/posix/Makefile.am | 4 +- newlib/libc/posix/ndbm.c | 214 ++ 3 files changed, 298 insertions(+), 2 deletions(-) create mode 100644 newlib/libc/include/ndbm.h create mode 100644 newlib/libc/p