Re: [PATCH 1/3] score/cpu: Silence ARM and AARCH64 GCC 12 false trigger array warning

2022-06-13 Thread Chris Johns
On 14/6/2022 11:24 am, chr...@rtems.org wrote: > From: Chris Johns > > The false trigger is covered in: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657 This is the link I meant to include .. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578 I will update commit and push with this

[PATCH 3/3] aarch64/gicv3: Remove accesses to secure registers

2022-06-13 Thread chrisj
From: Chris Johns --- bsps/include/dev/irq/arm-gicv3.h | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/bsps/include/dev/irq/arm-gicv3.h b/bsps/include/dev/irq/arm-gicv3.h index 0d3ef9a1c1..a79368ebdf 100644 --- a/bsps/include/dev/irq/arm-gicv3.h +++

[PATCH 2/3] bsp/versal: Support more than 4G of RAM

2022-06-13 Thread chrisj
From: Chris Johns --- spec/build/bsps/aarch64/xilinx-versal/optramlen.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml b/spec/build/bsps/aarch64/xilinx-versal/optramlen.yml index ebc36d3139..95347fc7e3 100644 ---

[PATCH 1/3] bsp/aarch64: Flush the cache before invalidating it

2022-06-13 Thread chrisj
From: Chris Johns - Any page tables need to be flushed if the cache is enabled. Disabling the cache may only be available in secure mode. --- bsps/aarch64/include/bsp/aarch64-mmu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bsps/aarch64/include/bsp/aarch64-mmu.h

Re: Static Analysis Tools for RTEMS

2022-06-13 Thread Chris Johns
On 10/6/2022 12:09 am, Joel Sherrill wrote: > With Matthew addressing new warnings from GCC 12, I have posted some warning fixes for the arm and aarch64. They let those archs build warning free without the testsuite. I hope it helps. Chris ___ devel

[PATCH] bsps/arm: MP core timer setting off by one

2022-06-13 Thread chrisj
From: Chris Johns --- bsps/arm/shared/clock/clock-a9mpcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/arm/shared/clock/clock-a9mpcore.c b/bsps/arm/shared/clock/clock-a9mpcore.c index 6c7abb0591..b3dc30eab4 100644 --- a/bsps/arm/shared/clock/clock-a9mpcore.c +++

[PATCH 3/3] cpukit: Fixes for GCC 12 warnings

2022-06-13 Thread chrisj
From: Chris Johns Updates #6442 --- cpukit/libmd/md5.c | 2 +- cpukit/libmisc/shell/hexdump-conv.c | 4 cpukit/libmisc/shell/main_edit.c| 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cpukit/libmd/md5.c b/cpukit/libmd/md5.c index

[PATCH 2/3] cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions decls

2022-06-13 Thread chrisj
From: Chris Johns Updates #4662 --- cpukit/libcsupport/src/__times.c | 4 ++-- cpukit/posix/src/_execve.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpukit/libcsupport/src/__times.c b/cpukit/libcsupport/src/__times.c index 629a7bc633..14625b5aae 100644 ---

[PATCH 1/3] score/cpu: Silence ARM and AARCH64 GCC 12 false trigger array warning

2022-06-13 Thread chrisj
From: Chris Johns The false trigger is covered in: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104657 GCC 11 and 12 has been patched for constant pointer casts above 4K. This code casts a constant pointer within the first 4K page. As a result the patch disables the warning. Updates #4662 ---

Re: Problem with STM32 HAL license

2022-06-13 Thread Joel Sherrill
On Mon, Jun 13, 2022 at 1:03 PM Gedare Bloom wrote: > On Mon, Jun 13, 2022 at 11:02 AM Joel Sherrill wrote: > > > > > > > > On Mon, Jun 13, 2022 at 11:57 AM Gedare Bloom wrote: > >> > >> On Mon, Jun 13, 2022 at 10:38 AM Karel Gardas > wrote: > >> > > >> > On 6/13/22 18:27, Joel Sherrill

Re: Problem with STM32 HAL license

2022-06-13 Thread Gedare Bloom
On Mon, Jun 13, 2022 at 11:02 AM Joel Sherrill wrote: > > > > On Mon, Jun 13, 2022 at 11:57 AM Gedare Bloom wrote: >> >> On Mon, Jun 13, 2022 at 10:38 AM Karel Gardas >> wrote: >> > >> > On 6/13/22 18:27, Joel Sherrill wrote: >> > > This impacts other imports from STM so I am curious what

Re: [PATCH rtems] bsps/atsam: Fix type of options (part 2)

2022-06-13 Thread Joel Sherrill
Fixes build issues I reported. Please push. --joel On Mon, Jun 13, 2022 at 2:18 AM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > The patch "bsps/atsam: Fix type of options" missed to adapt some parts > of the yml. With that a custom value works well. But if no value is

Re: Problem with STM32 HAL license

2022-06-13 Thread Joel Sherrill
On Mon, Jun 13, 2022 at 11:57 AM Gedare Bloom wrote: > On Mon, Jun 13, 2022 at 10:38 AM Karel Gardas > wrote: > > > > On 6/13/22 18:27, Joel Sherrill wrote: > > > This impacts other imports from STM so I am curious what Karel, > > > Sebastian, and Andrei are seeing for the license in the code

Re: Problem with STM32 HAL license

2022-06-13 Thread Gedare Bloom
On Mon, Jun 13, 2022 at 10:38 AM Karel Gardas wrote: > > On 6/13/22 18:27, Joel Sherrill wrote: > > This impacts other imports from STM so I am curious what Karel, > > Sebastian, and Andrei are seeing for the license in the code they are > > importing and what they plan to do. > > So far on H7,

Re: [PATCH] bsp/aarch64: Fix array warning

2022-06-13 Thread Joel Sherrill
On Mon, Jun 13, 2022 at 11:41 AM Kinsey Moore wrote: > On 6/12/2022 01:30, Chris Johns wrote: > > On 12/6/22 12:59 am, Joel Sherrill wrote: > >> Should this use that obscure pointer macro Sebastian suggests sometimes? > > I looked into that and could not get it to work. This works. If you >

Re: [PATCH] bsp/aarch64: Fix array warning

2022-06-13 Thread Kinsey Moore
On 6/12/2022 01:30, Chris Johns wrote: On 12/6/22 12:59 am, Joel Sherrill wrote: Should this use that obscure pointer macro Sebastian suggests sometimes? I looked into that and could not get it to work. This works. If you would like to try please do? I've been testing for a little while with

Re: Problem with STM32 HAL license

2022-06-13 Thread Karel Gardas
On 6/13/22 18:27, Joel Sherrill wrote: This impacts other imports from STM so I am curious what Karel, Sebastian, and Andrei are seeing for the license in the code they are importing and what they plan to do. So far on H7, the HAL used is older code base which is clearly BSD-3 license:

Re: Problem with STM32 HAL license

2022-06-13 Thread Joel Sherrill
On Mon, Jun 13, 2022 at 11:19 AM Duc Doan wrote: > Dear all, > > I am working on my GSoC project about adding features to the STM32F4 BSP. > I am planning to include STM32 HAL from STMicroelectronics (which can be > found here: >

Problem with STM32 HAL license

2022-06-13 Thread Duc Doan
Dear all, I am working on my GSoC project about adding features to the STM32F4 BSP. I am planning to include STM32 HAL from STMicroelectronics (which can be found here: https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Drivers/STM32F4xx_HAL_Driver) into RTEMS. However, the license

Porting PPS API support to RTEMS 5

2022-06-13 Thread Gabriel.Moyano
Hello everyone, I ported the PPS API support from RTEMS 6 to RTEMS 5 and wanted to ask if somebody is interest to have the changes in the upstream. If yes, I can submit the patches. Best regards, Gabriel ___ devel mailing list devel@rtems.org

[PATCH rtems] bsps/atsam: Fix type of options (part 2)

2022-06-13 Thread Christian Mauderer
The patch "bsps/atsam: Fix type of options" missed to adapt some parts of the yml. With that a custom value works well. But if no value is set, configure doesn't fall back to the default value but instead just causes an error. This patch fixes that. --- spec/build/bsps/arm/atsam/optconidx.yml |

Re: Should README's have license statement?

2022-06-13 Thread Christian MAUDERER
Hello Joel, Am 10.06.22 um 17:42 schrieb Joel Sherrill: Hi I'm back to relicensing for a bit and noticed that it looks like none of the README's in testsuitesĀ have a license or copyright statement. Should they? Difficult question and I don't really have an answer for it. Some longer