Re: [PATCH] rtems-fdt / shell - Fix string truncation warning

2020-10-16 Thread Chris Johns
On 17/10/20 10:37 am, Chris Johns wrote: > On 17/10/20 3:16 am, Frank Kühndel wrote: >> Hello Chris, >> >> On 10/15/20 10:29 PM, Chris Johns wrote: >>> On 16/10/20 7:24 am, Joel Sherrill wrote: On Thu, Oct 15, 2020 at 2:13 PM Chris Johns >>> > wrote: On 15/10/

Re: [PATCH] rtems-fdt / shell - Fix string truncation warning

2020-10-16 Thread Chris Johns
On 17/10/20 3:16 am, Frank Kühndel wrote: > Hello Chris, > > On 10/15/20 10:29 PM, Chris Johns wrote: >> On 16/10/20 7:24 am, Joel Sherrill wrote: >>> On Thu, Oct 15, 2020 at 2:13 PM Chris Johns >> > wrote: >>> On 15/10/20 10:27 pm, Frank Kuehndel wrote: >>> > From

Re: set_vector() on SPARC

2020-10-16 Thread Joel Sherrill
On Thu, Oct 15, 2020 at 11:40 PM Chris Johns wrote: > On 16/10/20 3:30 pm, Sebastian Huber wrote: > > On 16/10/2020 03:09, Chris Johns wrote: > >> On 16/10/20 4:57 am, Sebastian Huber wrote: > >>> I suggest to remove this function and replace it with > rtems_interrupt_catch() > >>> and add the in

Re: Need help debugging sp16.exe

2020-10-16 Thread Gedare Bloom
On Thu, Oct 15, 2020 at 10:23 PM Richi Dubey wrote: >> >> Your scheduler is a unique piece of software. It may be making assumptions >> that are not checked in the generic scheduler code. And checks in other >> schedulers are of no use to you. >> There may not be any but this is something to con

Re: [PATCH] rtems-fdt / shell - Fix string truncation warning

2020-10-16 Thread Frank Kühndel
Hello Chris, On 10/15/20 10:29 PM, Chris Johns wrote: > On 16/10/20 7:24 am, Joel Sherrill wrote: >> On Thu, Oct 15, 2020 at 2:13 PM Chris Johns > > wrote: >> On 15/10/20 10:27 pm, Frank Kuehndel wrote: >> > From: Frank Kühndel >

[GCC PATCH] rtems: add __FIX_LEON3FT_TN0018 for affected targets

2020-10-16 Thread Daniel Hellstrom
Enable a define FIX_LEON3FT_TN0018 for the LEON3FT targets affecdted by the GRLIB-TN-0018 errata described here: https://www.gaisler.com/notes --- gcc/config/sparc/rtemself.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/sparc/rtemself.h b/gcc/config/sparc/rtemself.h index 657

Re: Various Gaisler Patches

2020-10-16 Thread Joel Sherrill
On Fri, Oct 16, 2020 at 8:55 AM wrote: > Hello Joel, > > We have added them to Gaisler's 5.1 release, we believe they should be > part of the 5-branch. Previous discussion on this between Gedare and me: > I assumed and hoped this was the plan but didn't remember. Just be sure to have ticket(s).

Re: Various Gaisler Patches

2020-10-16 Thread daniel
Hello Joel, We have added them to Gaisler's 5.1 release, we believe they should be part of the 5-branch. Previous discussion on this between Gedare and me: The status is that two needs updating (BSD license for new CAN files and the last tn0018 patch needs some redesign based on feedback) and

Re: [PATCH 01/26] sparc: Remove sequences that the B2BST scan script warns about

2020-10-16 Thread daniel
2020-10-16 07:40 skrev Sebastian Huber: On 29/06/2020 13:27, Daniel Hellstrom wrote: From: Daniel Cederman --- cpukit/score/cpu/sparc/cpu_asm.S | 6 -- cpukit/score/cpu/sparc/syscall.S | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cpukit/score/cpu/sparc/cpu

Re: [PATCH 08/26] leon, can: introduce common CAN baud-rate calculation function

2020-10-16 Thread daniel
2020-10-16 07:35 skrev Sebastian Huber: Hello Daniel, On 29/06/2020 14:27, Sebastian Huber wrote: On 29/06/2020 14:22, Daniel Hellstrom wrote: On 2020-06-29 13:48, Sebastian Huber wrote: On 29/06/2020 13:27, Daniel Hellstrom wrote: +/* + *  COPYRIGHT (c) 2019. + *  Cobham Gaisler AB. +

Re: [PATCHv3 08/26] leon, can: introduce common CAN baud-rate calculation function

2020-10-16 Thread daniel
Thanks for the comment Joel, I sent an updated patch. I noticed just now I've also missed @brief so I will had that too before pushing.. /Daniel 2020-10-16 14:06 skrev Joel Sherrill: On Fri, Oct 16, 2020, 6:50 AM Daniel Hellstrom wrote: Reimplemented the baud-rate algorithm from scratch

[PATCHv4 08/26] leon, can: introduce common CAN baud-rate calculation function

2020-10-16 Thread Daniel Hellstrom
Reimplemented the baud-rate algorithm from scratch to cope with GRCAN, GRCANFD and OC_CAN devices. --- bsps/headers.am | 1 + bsps/include/grlib/canbtrs.h| 80 ++ bsps/shared/grlib-sources.am| 1 + bsps/shared/grlib/can/canbtrs.c | 143 +

Various Gaisler Patches

2020-10-16 Thread Joel Sherrill
Hi I assume these are needed on 5 and will all have tickets. Is that right? And will also be applied to the master? --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCHv3 08/26] leon, can: introduce common CAN baud-rate calculation function

2020-10-16 Thread Joel Sherrill
On Fri, Oct 16, 2020, 6:50 AM Daniel Hellstrom wrote: > Reimplemented the baud-rate algorithm from scratch to cope with > GRCAN, GRCANFD and OC_CAN devices. > --- > bsps/headers.am | 1 + > bsps/include/grlib/canbtrs.h| 80 ++ > bsps/shared/grlib-source

[PATCH] LICENSE.BSD-2-Clause: sync with template from RTEMS homepage

2020-10-16 Thread Daniel Hellstrom
This adds the doxygen template. --- LICENSE.BSD-2-Clause | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/LICENSE.BSD-2-Clause b/LICENSE.BSD-2-Clause index 60a74e9..349b8df 100644 --- a/LICENSE.BSD-2-Clause +++ b/LICENSE.BSD-2-Clause @@ -23,9 +23,22 @@ copyrig

[PATCHv2 01/26] sparc: Remove sequences that the B2BST scan script warns about

2020-10-16 Thread Daniel Hellstrom
From: Daniel Cederman Update #4154. --- cpukit/score/cpu/sparc/cpu_asm.S | 6 -- cpukit/score/cpu/sparc/syscall.S | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/cpukit/score/cpu/sparc/cpu_asm.S b/cpukit/score/cpu/sparc/cpu_asm.S index d5afd5f..bfad3fb 100644 --- a/cp

[PATCHv2 25/26] sparc,leon: avoid triggering LEON3FT errata TN-0009

2020-10-16 Thread Daniel Hellstrom
Update #4154. --- cpukit/score/cpu/sparc/cpu_asm.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpukit/score/cpu/sparc/cpu_asm.S b/cpukit/score/cpu/sparc/cpu_asm.S index bfad3fb..1251faa 100644 --- a/cpukit/score/cpu/sparc/cpu_asm.S +++ b/cpukit/score/cpu/sparc/cpu_asm.

[PATCHv2 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-10-16 Thread Daniel Hellstrom
Overview The errata is worked around in the kernel without requiring toolchain modifications. It is triggered the JMPL/RETT return from trap instruction sequence never generated by the compiler and. There are also other conditions that must must be true to trigger the errata, for example

[PATCHv2 24/26] sparc,leon: avoid triggering TN-0009 bad sequence

2020-10-16 Thread Daniel Hellstrom
Update #4154. --- cpukit/score/cpu/sparc/sparc-counter-asm.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/score/cpu/sparc/sparc-counter-asm.S b/cpukit/score/cpu/sparc/sparc-counter-asm.S index a1e18ae..fb7783e 100644 --- a/cpukit/score/cpu/sparc/sparc-counter-asm.S

[PATCHv3 08/26] leon, can: introduce common CAN baud-rate calculation function

2020-10-16 Thread Daniel Hellstrom
Reimplemented the baud-rate algorithm from scratch to cope with GRCAN, GRCANFD and OC_CAN devices. --- bsps/headers.am | 1 + bsps/include/grlib/canbtrs.h| 80 ++ bsps/shared/grlib-sources.am| 1 + bsps/shared/grlib/can/canbtrs.c | 143 +

Re: [PATCH 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-10-16 Thread daniel
2020-10-16 07:33 skrev Sebastian Huber: On 23/09/2020 12:24, Daniel Hellstrom wrote: >> Command line defines are discouraged and in cpukit only multilib >> defined defines should be used. Can't you the existing >> __FIX_LEON3FT_B2BST define to enable the errata workarounds? >

[PATCH 1/1] Confstr Patches

2020-10-16 Thread Eshan dhawan
Signed-off-by: Eshan dhawan --- cpukit/Makefile.am| 1 + cpukit/posix/src/confstr.c| 105 + testsuites/psxtests/Makefile.am | 9 ++ testsuites/psxtests/configure.ac | 1 + testsuites/psxtests/psxconfstr/i

[PATCH 0/1] Confstr patch

2020-10-16 Thread Eshan dhawan
Apologies for sending this patch so late. This patch got struck between my exams and a project deadline. Also Can someone tell me the extra changes that are required to be made to make this patch compatible with the new build system. Eshan dhawan (1): Confstr Patches cpukit/Makefile.am