Re: [PATCH] ISL, MPC, MPFR: fix configuration issues on ARM64/Darwin host

2022-05-16 Thread Joel Sherrill
On Mon, May 16, 2022, 12:33 PM Karel Gardas wrote: > On 5/13/22 15:57, Joel Sherrill wrote: > > We do not put patches in RTEMS repos. File an rtems ticket, attach them, > > and reference them from there. > > > > If they are needed upstream, please submit them to the appropriate > projects. > > Jo

Re: [PATCH] ISL, MPC, MPFR: fix configuration issues on ARM64/Darwin host

2022-05-16 Thread Karel Gardas
On 5/13/22 15:57, Joel Sherrill wrote: We do not put patches in RTEMS repos. File an rtems ticket, attach them, and reference them from there. If they are needed upstream, please submit them to the appropriate projects. Joel, based on the discussion I've created https://devel.rtems.org/ticke

Re: Apple M1 compilation issue.

2022-05-16 Thread Karel Gardas
On 5/16/22 16:45, Paul Zimmermann wrote: Dear Karel, yes, we'll take care of that in the next release of MPC. Thanks for assurance. That's perfectly fine for us since now we may apply patch locally and schedule its removal on another MPC release. Perfect! Karel ___

Re: Apple M1 compilation issue.

2022-05-16 Thread Karel Gardas
On 5/16/22 17:33, Andreas Enge wrote: Hello Karel, Am Mon, May 16, 2022 at 04:33:42PM +0200 schrieb Karel Gardas: Could you be so kind and in next release use latest available autotools to generate configure script and associated files? This way, problematic config.sub file is generated with th

Apple M1 compilation issue.

2022-05-16 Thread Karel Gardas
Hello, RTEMS community is using MPC as a part of GNU C compiler. Recently we have been hit by an issue of compiling GNU C compiler toolchain on the Apple M1 hardware. The issue is easily fixable by the patch below, but RTEMS community refuses to include the fix without a clear sign that ups

[PATCH 7/7] bsps/stm32h7: disable all U(S)ARTs except USART1 on stm32h757i-eval-m4 BSP

2022-05-16 Thread Karel Gardas
This patch disables all U(S)ARTs which are not supported by the board itself and its provided connectors. Sponsored-By: Precidata --- spec/build/bsps/arm/stm32h7/optenuart4.yml | 1 + spec/build/bsps/arm/stm32h7/optenuart5.yml | 1 + spec/build/bsps/arm/stm32h7/optenuart7.yml | 1 + spec/

[PATCH 6/7] bsps/stm32h7: set default SDRAM x sizes on stm32h757i-eval-m4 BSP

2022-05-16 Thread Karel Gardas
This means: SDRAM 1: 0 SDRAM 2: 32 MB Sponsored-By: Precidata --- spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml b/spec/build/bsps/arm/stm

[PATCH 5/7] bsps/stm32h7: add configuration and enable build of stm32h757i-eval-m4 BSP

2022-05-16 Thread Karel Gardas
This is minimalist configuration for the stm32h757i-eval-m4 BSP provided here. The only general enhancement worth mention is a flash origin address configuration which is needed for simplification as M4 core boots from second flash bank which starts at 0x810 by default. The boot address of the

[PATCH 4/7] bsps/stm32h7: include CMSIS Cortex-M4 header when required by configuration

2022-05-16 Thread Karel Gardas
Sponsored-By: Precidata --- bsps/arm/stm32h7/include/chip.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/bsps/arm/stm32h7/include/chip.h b/bsps/arm/stm32h7/include/chip.h index 26b067a3b7..ac579c0743 100644 --- a/bsps/arm/stm32h7/include/chip.h +++ b/bsps/arm/stm32h7/include/chip.h

[PATCH 2/7] bsps/arm: disable cache operations on Cortex-M4

2022-05-16 Thread Karel Gardas
--- bsps/arm/shared/cache/cache-v7m.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/bsps/arm/shared/cache/cache-v7m.c b/bsps/arm/shared/cache/cache-v7m.c index f5a9e208e5..100d38765f 100644 --- a/bsps/arm/shared/cache/cache-v7m.c +++ b/bsps/arm/shared/cache/cache-v7m

[PATCH 3/7] bsps/stm32h7: enable cache and MPU only on Cortex-M7

2022-05-16 Thread Karel Gardas
Sponsored-By: Precidata --- bsps/arm/stm32h7/start/bspstarthooks.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bsps/arm/stm32h7/start/bspstarthooks.c b/bsps/arm/stm32h7/start/bspstarthooks.c index ef26af5eba..10ae2bf0d3 100644 --- a/bsps/arm/stm32h7/start/bspstarthoo

[PATCH 1/7] bsps/arm: add CMSIS Cortex-M4 Core Peripheral Access Layer Header File

2022-05-16 Thread Karel Gardas
--- bsps/arm/include/core_cm4.h | 1937 +++ 1 file changed, 1937 insertions(+) create mode 100644 bsps/arm/include/core_cm4.h diff --git a/bsps/arm/include/core_cm4.h b/bsps/arm/include/core_cm4.h new file mode 100644 index 00..dc840ebf22 --- /dev/null +++

[PATCH 7/7] bsps/stm32h7: set default SDRAM x sizes on stm32h757i-eval BSP

2022-05-16 Thread Karel Gardas
This means: SDRAM 1: 0 SDRAM 2: 32 MB Sponsored-By: Precidata --- spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml | 1 + spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml b/spec

[PATCH 6/7] bsps/stm32h7: enable SDRAM 2 MPU region

2022-05-16 Thread Karel Gardas
Sponsored-By: Precidata --- bsps/arm/stm32h7/start/mpu-config.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/bsps/arm/stm32h7/start/mpu-config.c b/bsps/arm/stm32h7/start/mpu-config.c index 8140e73c37..ce3c92ccb0 100644 --- a/bsps/arm/stm32h7/start/mpu-config.c +++ b/bsps/arm/stm32

[PATCH 5/7] bsps/stm32h7: provide linkcmds for SRAM, FLASH+SDRAM and SRAM+SDRAM linking

2022-05-16 Thread Karel Gardas
Sponsored-By: Precidata --- spec/build/bsps/arm/stm32h7/grp.yml | 6 +++ .../bsps/arm/stm32h7/linkcmdsflashsdram.yml | 49 +++ spec/build/bsps/arm/stm32h7/linkcmdssram.yml | 49 +++ .../bsps/arm/stm32h7/linkcmdssramsdram.yml| 49 +

[PATCH 4/7] bsps/stm32h7: add and enable test set exclusion for stm32h757i-eval BSP

2022-05-16 Thread Karel Gardas
Sponsored-By: Precidata --- .../bsps/arm/stm32h7/bspstm32h757i-eval.yml | 2 ++ .../bsps/arm/stm32h7/tststm32h757i-eval.yml | 19 +++ 2 files changed, 21 insertions(+) create mode 100644 spec/build/bsps/arm/stm32h7/tststm32h757i-eval.yml diff --git a/spec/build/bsps/arm/st

[PATCH 2/7] bsps/stm32h7: add configuration and enable build of stm32h757i-eval BSP

2022-05-16 Thread Karel Gardas
This is minimalist configuration for the stm32h757i-eval BSP provided here. The only general enhancement worth mention is boot core configuration which is needed here as this is the first dual-core board supported by stm32h7 BSP family and we need to choose boot core in order to get C files compili

[PATCH 3/7] bsps/stm32h7: disable all U(S)ARTs except USART1 on stm32h757i-eval BSP

2022-05-16 Thread Karel Gardas
This patch disables all U(S)ARTs which are not supported by the board itself and its provided connectors. Sponsored-By: Precidata --- spec/build/bsps/arm/stm32h7/optenuart4.yml | 5 - spec/build/bsps/arm/stm32h7/optenuart5.yml | 1 + spec/build/bsps/arm/stm32h7/optenuart7.yml | 1 + s

[PATCH 1/7] bsps/stm32h7: add board C files for stm32h757i-eval BSP

2022-05-16 Thread Karel Gardas
Sponsored-By: Precidata --- .../stm/stm32h757i-eval/stm32h7-config-clk.c | 45 + .../stm/stm32h757i-eval/stm32h7-config-osc.c | 53 ++ .../stm/stm32h757i-eval/stm32h7-config-per.c | 39 + .../stm/stm32h757i-eval/system_stm32h7xx.c| 794 ++ 4 files changed, 931 insertion

Re: [PATCH] bsp/arm: allocate .rtemsstack on REGION_STACK instead of on REGION_WORK

2022-05-16 Thread Karel Gardas
Hello, this one seems to slip through. Nobody reviewed it nor commented yet. I've been running with this patch here for about a month on various STM32h7 boards without a problem. Thanks! Karel On 4/7/22 21:15, Karel Gardas wrote: REGION_WORK may be backed by external RAM which may not be

AW: [PATCH v3 00/11] ENABLE PPS API in RTEMS6

2022-05-16 Thread Gabriel.Moyano
> Hello Gabriel, > > I get a test failure in spntp01 now using the sparc/gr740 and > arm/xilinx_zynq_a9_qemu BSP: > > F:23:0:UI1:init.c:84:2 == 0 > > Did you observe this test failure also? > Yes, thanks for noticing it. It is due the changes in [PATCH v3 09/11]. The default value for pps_sh

Re: [PATCH v3 00/11] ENABLE PPS API in RTEMS6

2022-05-16 Thread Sebastian Huber
Hello Gabriel, I get a test failure in spntp01 now using the sparc/gr740 and arm/xilinx_zynq_a9_qemu BSP: F:23:0:UI1:init.c:84:2 == 0 Did you observe this test failure also? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brai

Re: riscv failures from bsp builder

2022-05-16 Thread Sebastian Huber
On 15/05/2022 19:51, Joel Sherrill wrote: This doesn't appear to fail on FreeBSD based on https://lists.rtems.org/pipermail/build/2022-May/033521.html. Not sure what that means. I didn't observe failures on my machine. It would be good to get the log messages with the actual failure. -- emb

Re: [PATCH 8/8] bsp/stm32h7: remove system files from start directory

2022-05-16 Thread Sebastian Huber
On 15/05/2022 22:10, Karel Gardas wrote: The files are already presented in boards directories and are not needed in start directory anymore. Thanks, the patch set is fine. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.