Re: GCC version for RTEMS 6?

2022-05-23 Thread Chris Johns
On 6/5/2022 4:16 pm, Sebastian Huber wrote: >> - aarch64 bsps >> >> These BSPs generated lots of warnings in the testsuite due to this line: >> >>   https://git.rtems.org/rtems/tree/bsps/aarch64/include/bsp/start.h#n175 >> >> The warning is about comparing arrays. I have not looked deeper. > >

[libbsd 18/22] libbsd.txt: Move WLAN description

2022-05-23 Thread Sebastian Huber
--- README.rst | 65 ++ libbsd.txt | 55 - 2 files changed, 65 insertions(+), 55 deletions(-) diff --git a/README.rst b/README.rst index 257c9603..48adcb20 100644 --- a/README.rst +++ b/README.rst @@

[libbsd 22/22] libbsd.txt: Move issues and TODO

2022-05-23 Thread Sebastian Huber
--- CONTRIBUTING.rst | 124 libbsd.txt | 144 --- 2 files changed, 124 insertions(+), 144 deletions(-) delete mode 100644 libbsd.txt diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index

[libbsd 20/22] libbsd.txt: Move initialization details

2022-05-23 Thread Sebastian Huber
--- CONTRIBUTING.rst | 139 libbsd.txt | 147 --- 2 files changed, 139 insertions(+), 147 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index c1268121..99c778f6 100644 ---

[libbsd 19/22] libbsd.txt: Move IPsec description

2022-05-23 Thread Sebastian Huber
--- README.rst | 145 + libbsd.txt | 128 -- 2 files changed, 145 insertions(+), 128 deletions(-) diff --git a/README.rst b/README.rst index 48adcb20..ff977470 100644 --- a/README.rst +++ b/README.rst

[libbsd 21/22] libbsd.txt: Move system control hints

2022-05-23 Thread Sebastian Huber
Generalize hint. --- CONTRIBUTING.rst | 7 +++ libbsd.txt | 39 --- 2 files changed, 7 insertions(+), 39 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 99c778f6..c7c35df9 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@

[libbsd 15/22] libbsd.txt: Move ported kernel features

2022-05-23 Thread Sebastian Huber
Remove obsolete file listing. --- CONTRIBUTING.rst | 23 libbsd.txt | 291 --- 2 files changed, 23 insertions(+), 291 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 1113136c..c1268121 100644 --- a/CONTRIBUTING.rst +++

[libbsd 04/22] Convert *.md files to reST

2022-05-23 Thread Sebastian Huber
The reST format is used by the standard RTEMS documentation. --- CONTRIBUTING.md => CONTRIBUTING.rst | 398 ++-- README.md | 286 README.rst | 293 3 files changed, 497

[libbsd 14/22] libbsd.txt: Move Qemu notes

2022-05-23 Thread Sebastian Huber
--- README.rst | 77 +++--- libbsd.txt | 121 - 2 files changed, 71 insertions(+), 127 deletions(-) diff --git a/README.rst b/README.rst index facea82e..dd2963ae 100644 --- a/README.rst +++ b/README.rst @@ -474,12

[libbsd 16/22] libbsd.txt: Remove NIC status

2022-05-23 Thread Sebastian Huber
Details like this should be described in the BSP documentation of the User Manual. --- libbsd.txt | 43 --- 1 file changed, 43 deletions(-) diff --git a/libbsd.txt b/libbsd.txt index cb8111bf..4b22cec8 100644 --- a/libbsd.txt +++ b/libbsd.txt @@ -321,49

[libbsd 11/22] libbsd.txt: Move initialization description

2022-05-23 Thread Sebastian Huber
--- README.rst | 134 + libbsd.txt | 126 - 2 files changed, 134 insertions(+), 126 deletions(-) diff --git a/README.rst b/README.rst index 9aa424dc..cfdb46b3 100644 --- a/README.rst +++

[libbsd 17/22] libbsd.txt: Move PF description

2022-05-23 Thread Sebastian Huber
--- README.rst | 52 libbsd.txt | 46 -- 2 files changed, 52 insertions(+), 46 deletions(-) diff --git a/README.rst b/README.rst index dd2963ae..257c9603 100644 --- a/README.rst +++ b/README.rst @@

[libbsd 12/22] libbsd.txt: Move features

2022-05-23 Thread Sebastian Huber
Add more features and commands. --- README.rst | 72 ++ libbsd.txt | 55 - 2 files changed, 72 insertions(+), 55 deletions(-) diff --git a/README.rst b/README.rst index cfdb46b3..facea82e 100644 ---

[libbsd 08/22] libbsd.txt: Remove installation overview

2022-05-23 Thread Sebastian Huber
This is already covered by README.md --- libbsd.txt | 50 -- 1 file changed, 50 deletions(-) diff --git a/libbsd.txt b/libbsd.txt index c86ffc99..7f03d69f 100644 --- a/libbsd.txt +++ b/libbsd.txt @@ -7,56 +7,6 @@ RTEMS BSD Library Guide ==

[libbsd 10/22] libbsd.txt: Move configuration of network tests

2022-05-23 Thread Sebastian Huber
--- README.rst | 15 +++ libbsd.txt | 14 -- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/README.rst b/README.rst index 8e584266..9aa424dc 100644 --- a/README.rst +++ b/README.rst @@ -249,6 +249,21 @@ a scheduler with thread pinning support is required.

[libbsd 09/22] libbsd.txt: Move buildsets description

2022-05-23 Thread Sebastian Huber
--- README.rst | 12 libbsd.txt | 13 - 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/README.rst b/README.rst index 75ce6dc5..8e584266 100644 --- a/README.rst +++ b/README.rst @@ -147,6 +147,18 @@ If you have a few source trees working at any one time

[libbsd 13/22] libbsd.txt: Move network interface driver hints

2022-05-23 Thread Sebastian Huber
--- CONTRIBUTING.rst | 14 ++ libbsd.txt | 11 --- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 1d45f0ef..1113136c 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -416,3 +416,17 @@ within interrupt

[libbsd 02/22] README.md: Update to RTEMS 6

2022-05-23 Thread Sebastian Huber
--- README.md | 93 ++- 1 file changed, 37 insertions(+), 56 deletions(-) diff --git a/README.md b/README.md index d12aeb7b..d1c4a5b0 100644 --- a/README.md +++ b/README.md @@ -8,23 +8,22 @@ package is designed to be updated from the FreeBSD

[libbsd 03/22] README.md: Move SMP Requirements section

2022-05-23 Thread Sebastian Huber
--- README.md | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index d1c4a5b0..63711770 100644 --- a/README.md +++ b/README.md @@ -221,6 +221,15 @@ To enable kernel internal consistency checking use:

[libbsd 01/22] README.md: The "5" branch is unmaintained

2022-05-23 Thread Sebastian Huber
--- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b1a7e1aa..d12aeb7b 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,8 @@ Branches stable/12 branch. It is recommended for production systems that use RTEMS 5. * 5 - branch

[libbsd 05/22] CONTRIBUTING.rst: Use LibBSD

2022-05-23 Thread Sebastian Huber
--- CONTRIBUTING.rst | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 8cfec7cd..0ea66946 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -4,16 +4,16 @@ Guidelines for Developing and Contributing Code Introduction

[libbsd 06/22] libbsd.txt: Move introduction content

2022-05-23 Thread Sebastian Huber
--- CONTRIBUTING.rst | 22 ++ libbsd.txt | 29 - 2 files changed, 22 insertions(+), 29 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 0ea66946..1bcdca31 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -9,6 +9,28

[libbsd 00/22] Move content of libbsd.txt

2022-05-23 Thread Sebastian Huber
This patch set updates the README.md and CONTRIBUTING.md files with content from libbsd.txt. The format is converted to reST which is also supported by Github and fits to rtems-docs. For the final results see: https://github.com/sebhub/rtems-libbsd/tree/doc

[libbsd 07/22] libbsd.txt: Move BSP related content

2022-05-23 Thread Sebastian Huber
--- CONTRIBUTING.rst | 22 ++ libbsd.txt | 19 --- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 1bcdca31..1d45f0ef 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -394,3 +394,25 @@

[PATCH] user: Document Zynq network

2022-05-23 Thread Sebastian Huber
Content is from rtems-libbsd/libbsd.txt with minor modifications. --- user/bsps/arm/xilinx-zynq.rst | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/user/bsps/arm/xilinx-zynq.rst b/user/bsps/arm/xilinx-zynq.rst index 29f9cb0..0ac4487 100644 ---

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

2022-05-23 Thread Sebastian Huber
On 16/05/2022 16:02, Karel Gardas wrote: --- 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 ---

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

2022-05-23 Thread Karel Gardas
On 5/23/22 14:35, Sebastian Huber wrote: On 16/05/2022 16:02, Karel Gardas wrote: 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

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

2022-05-23 Thread Sebastian Huber
On 16/05/2022 16:02, Karel Gardas wrote: 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 ---

[PATCH rtems] bsps/imx: Enable clock of ETH2

2022-05-23 Thread Christian Mauderer
--- bsps/arm/imx/start/bspstart.c | 13 + 1 file changed, 13 insertions(+) diff --git a/bsps/arm/imx/start/bspstart.c b/bsps/arm/imx/start/bspstart.c index 04d48d1558..e9cca49200 100644 --- a/bsps/arm/imx/start/bspstart.c +++ b/bsps/arm/imx/start/bspstart.c @@ -161,6 +161,18 @@

[PATCH rtems-libbsd 2/2] if_ffec: Allow PHY that is connected to other FFEC

2022-05-23 Thread Christian Mauderer
The i.MX6UL (and some others from the i.MX family) have shared MDIO lines for multiple FFECs. This patch allows to use the MDIO interface from another Ethernet controller. Note that you have to make sure that the FFECs are initialized in the right order. Normally that can be done via FDT. ---

[PATCH rtems-libbsd 1/2] if_ffec: Reduce buffer size

2022-05-23 Thread Christian Mauderer
Typical embedded systems don't have that much memory. Reduce the buffer size to something more sensible for the usual type of application. --- freebsd/sys/dev/ffec/if_ffec.c | 8 1 file changed, 8 insertions(+) diff --git a/freebsd/sys/dev/ffec/if_ffec.c b/freebsd/sys/dev/ffec/if_ffec.c

[PATCH 0/2] Improve support for second Ethernet on i.MX6UL

2022-05-23 Thread Christian Mauderer
Hello, these patches improve the support for the second Ethernet controller on the i.MX6UL (and most likely 7) series. Best regards Christian ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH rtems] bsps/atsam: Fix type of options

2022-05-23 Thread Christian Mauderer
ATSAM_CONSOLE_DEVICE_INDEX and ATSAM_CONSOLE_DEVICE_TYPE have to be integers like suggested by their description. Otherwise it's not possible to select (for example) USART2 as console device. --- spec/build/bsps/arm/atsam/optconidx.yml | 4 ++-- spec/build/bsps/arm/atsam/optcontype.yml | 4 ++--

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

2022-05-23 Thread Karel Gardas
Hello Sebastian, once you get another time for patch review, could you be so kind and review my -m4 patch series for stm32h757i-eval BSP variant which starts with this patch? This: https://lists.rtems.org/pipermail/devel/2022-May/071545.html and this:

Re: [PATCH] bsps/stm32h7: clarify license of stm32h7b3i-dk BSP variant

2022-05-23 Thread Sebastian Huber
On 23/05/2022 11:24, Karel Gardas wrote: I hope there will be no more troubles with this one, once you OK it, I'll pack patch tarball for Joel for push. Ok, this is fine. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email:

Re: [PATCH] bsps/stm32h7: clarify license of stm32h7b3i-dk BSP variant

2022-05-23 Thread Karel Gardas
On 5/23/22 08:35, Sebastian Huber wrote: On 20/05/2022 14:34, Karel Gardas wrote: The system_stm32h7xx.c file provided in the boards/stm/stm32h7b3i-dk subdirectory needs a bit of clarification as it references "root directory" in its license comment and it's not clear where this points out.

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

2022-05-23 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 +++

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

2022-05-23 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

[PATCH 5/7] bsps/stm32h7: provide linkcmds for SRAM, FLASH_SDRAM and SRAM_SDRAM linking

2022-05-23 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-23 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

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

2022-05-23 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 +

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

2022-05-23 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

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

2022-05-23 Thread Karel Gardas
Besides C files for the BSP variant the patch also provides license clarification on system_stm32h7xx.c file which is provided in boards/stm/stm32h757i-eval directory. The files comes from STM32CubeH7 project and references "root directory" in its license comment and it's not clear where this

[PATCH v1] cpukit/libmisc/capture: fix capture bug

2022-05-23 Thread tianye
From: Tian Ye --- cpukit/libmisc/capture/capture.c | 30 cpukit/libmisc/capture/capture_support.c | 8 +-- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/cpukit/libmisc/capture/capture.c b/cpukit/libmisc/capture/capture.c index

[PATCH] score: Fix pps_fetch()

2022-05-23 Thread Sebastian Huber
Return early only if there was a timeout, otherwise return the PPS info. Update #2349. --- cpukit/score/src/kern_tc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c index c09900f096..2e3709a9ad 100644 ---

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

2022-05-23 Thread Sebastian Huber
On 20/05/2022 11:29, Gabriel Moyano wrote: This is the 4th version of the patches for enabling the PPS API in RTEMS6. Thanks, I checked it in with some minor modifications. I updated the ticket: https://devel.rtems.org/ticket/2349 -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4

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

2022-05-23 Thread Sebastian Huber
On 19/05/2022 09:03, Sebastian Huber wrote: On 19/05/2022 08:59, Karel Gardas wrote: On 5/19/22 08:53, Sebastian Huber wrote: On 07/04/2022 21:15, Karel Gardas wrote: REGION_WORK may be backed by external RAM which may not be initialized in a time we need stack to work well. E.g. code loaded

Re: [PATCH] bsps/stm32h7: clarify license of stm32h7b3i-dk BSP variant

2022-05-23 Thread Sebastian Huber
On 20/05/2022 14:34, Karel Gardas wrote: The system_stm32h7xx.c file provided in the boards/stm/stm32h7b3i-dk subdirectory needs a bit of clarification as it references "root directory" in its license comment and it's not clear where this points out. Let's add clarification comment about it and