Re: New validation test suites

2022-01-24 Thread Sebastian Huber
On 25/01/2022 01:09, Chris Johns wrote: On 25/1/22 1:39 am, Sebastian Huber wrote: how do we want to proceed with the integration of the new validation test suite? At the moment it is not clear to me what issues are left to resolve and what I can do to address them? I believe I have been

Re: New validation test suites

2022-01-24 Thread Chris Johns
On 25/1/22 1:39 am, Sebastian Huber wrote: > how do we want to proceed with the integration of the new validation test > suite? > At the moment it is not clear to me what issues are left to resolve and what I > can do to address them? I believe I have been clear about what I see as being needed:

Re: [PATCH rtems-libbsd 2/2] microblaze: Finish AXI Ethernet support

2022-01-24 Thread Sebastian Huber
On 24/01/2022 17:04, Alex White wrote: On Thu, Jan 20, 2022 at 12:12 AM Sebastian Huber wrote: On 20/01/2022 04:54, Alex White wrote: diff --git a/freebsd/sys/netinet/tcp_input.c b/freebsd/sys/netinet/tcp_input.c index fc111d9c..60f9123a 100644 --- a/freebsd/sys/netinet/tcp_input.c +++

Re: [PATCH rtems-libbsd 2/2] microblaze: Finish AXI Ethernet support

2022-01-24 Thread Alex White
On Thu, Jan 20, 2022 at 12:12 AM Sebastian Huber wrote: > > On 20/01/2022 04:54, Alex White wrote: > > diff --git a/freebsd/sys/netinet/tcp_input.c > > b/freebsd/sys/netinet/tcp_input.c > > index fc111d9c..60f9123a 100644 > > --- a/freebsd/sys/netinet/tcp_input.c > > +++

Re: New validation test suites

2022-01-24 Thread Sebastian Huber
Hello, how do we want to proceed with the integration of the new validation test suite? At the moment it is not clear to me what issues are left to resolve and what I can do to address them? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email:

Re: [PATCH] rtems-tools-6.cfg: Bump hash to get new INI files

2022-01-23 Thread Chris Johns
On 21/1/22 1:32 am, Joel Sherrill wrote: > This looks good to me. If no one objects, I will push it. Ok to push. Thanks Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] sb/linux.py: Simplify "distro" determination

2022-01-23 Thread Chris Johns
I do not use Linux enough to know if this is OK. I have no problem with this being pushed if other Linux users are happy. Chtis On 20/1/22 11:03 pm, Sebastian Huber wrote: > This fixes an issue on Debian 11 which contains "Debian" in /etc/issue > (captital D). > --- >

Re: [PATCH 0/5] rtems-bsp-builder Configuration Cleanup

2022-01-23 Thread Chris Johns
OK to push. Thank you for taking the time to get this sorted. Chris On 22/1/22 2:26 am, Joel Sherrill wrote: > As part of adding aarch64 BSPs to tier 1, it become obvious that > these config files had not received attention lately. Multiple > architectures and BSPs needed to be added. Some BSPs

Re: [PATCH rtems-libbsd 1/2] microblaze: Add AXI Ethernet support

2022-01-21 Thread Chris Johns
On 21/1/22 8:18 am, Alex White wrote: > On Thu, Jan 20, 2022 at 12:30 AM Chris Johns wrote: >> >> On 20/1/22 2:54 pm, Alex White wrote: >>> From: Jennifer Averett >>> rtemsbsd/rtems/rtems-kernel-vmem.c| 17 + >>> diff --git a/rtemsbsd/rtems/rtems-kernel-vmem.c >>>

[PATCH] eng: Add script usage to how-to

2022-01-21 Thread Sebastian Huber
Update #3715. --- eng/req/howto.rst | 103 +- 1 file changed, 102 insertions(+), 1 deletion(-) diff --git a/eng/req/howto.rst b/eng/req/howto.rst index c8bd8c5..dbd01f0 100644 --- a/eng/req/howto.rst +++ b/eng/req/howto.rst @@ -1,6 +1,6 @@ ..

[PATCH 5/5] rtems-bsps-tiers.ini: Move appropriate aarch64 BSPs to Tier 1 and 2

2022-01-21 Thread Joel Sherrill
This also resulted in finding some BSPs listed which were no longer in the RTEMS source. Updates #4581. --- config/rtems-bsps-tiers.ini | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/config/rtems-bsps-tiers.ini b/config/rtems-bsps-tiers.ini index

[PATCH 4/5] rtems-bsps.ini: Add missing architectures and BSPs

2022-01-21 Thread Joel Sherrill
The aarch64, microblaze, nios2, and x86_64 needed to be added. --- config/rtems-bsps.ini | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/config/rtems-bsps.ini b/config/rtems-bsps.ini index 5be9cba..659e31f 100644 --- a/config/rtems-bsps.ini +++

[PATCH 3/5] rtems-bsps-arm.ini, config/rtems-bsps.ini: Remove build variance on network

2022-01-21 Thread Joel Sherrill
With the legacy TCP/IP stack no longer in rtems.git, there is nothing to turn on/off with regards to BSPs or the stack itself. Removing this significantly reduces the number of configurations built. Closes #4583. --- config/rtems-bsps-arm.ini | 1 - config/rtems-bsps.ini | 11 +-- 2

[PATCH 2/5] rtems-bsps-tiers.ini: Update comment to use tier 2 definitiion in docs

2022-01-21 Thread Joel Sherrill
See rtems-docs/user/hardware/tiers.rst. Tier 2 is test results on simulator not hardware and simulator. --- config/rtems-bsps-tiers.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/rtems-bsps-tiers.ini b/config/rtems-bsps-tiers.ini index a48b8ef..c3e62b2 100644 ---

[PATCH 1/5] rtems-bsps-tiers.ini: Add missing architectures and BSPs as tier 3

2022-01-21 Thread Joel Sherrill
--- config/rtems-bsps-tiers.ini | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/config/rtems-bsps-tiers.ini b/config/rtems-bsps-tiers.ini index ba9e6b5..a48b8ef 100644 --- a/config/rtems-bsps-tiers.ini +++ b/config/rtems-bsps-tiers.ini @@ -41,15

[PATCH 0/5] rtems-bsp-builder Configuration Cleanup

2022-01-21 Thread Joel Sherrill
As part of adding aarch64 BSPs to tier 1, it become obvious that these config files had not received attention lately. Multiple architectures and BSPs needed to be added. Some BSPs that had been removed needed to be removed here as well. With the legacy TCP/IP stack no longer in rtems.git, it

Re: [PATCHES] Fix PPP in libbsd and optimize ATSAM console

2022-01-21 Thread Christian MAUDERER
Ping. Am 18.01.22 um 12:22 schrieb Christian MAUDERER: Hello, I noted that I still have this patch set open. I first posted it in August 2021 and later pinged it in September 2021. Both times no conclusion has been found. I would like to finally finish this topic and get the patches in an

Re: Tier 1 BSPs? was Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-20 Thread Sebastian Huber
On 20/01/2022 17:07, Joel Sherrill wrote: Sebastian... I thought you mentioned there were some sparc BSPs with hardware results posted and should be tier 1. I never posted results to bu...@rtems.org so formally they are not tier 1. Also the RTEMS pre-qualification was done on modified RTEMS

Re: [PATCH rtems-libbsd 1/2] microblaze: Add AXI Ethernet support

2022-01-20 Thread Alex White
On Thu, Jan 20, 2022 at 12:30 AM Chris Johns wrote: > > On 20/1/22 2:54 pm, Alex White wrote: > > From: Jennifer Averett > > rtemsbsd/rtems/rtems-kernel-vmem.c| 17 + > > diff --git a/rtemsbsd/rtems/rtems-kernel-vmem.c > > b/rtemsbsd/rtems/rtems-kernel-vmem.c > > index

Tier 1 BSPs? was Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-20 Thread Joel Sherrill
Grrr... the tiers configuration files are also out of date. Patches will be coming. Sebastian... I thought you mentioned there were some sparc BSPs with hardware results posted and should be tier 1. This is all there is there now: [tier-1] archs = aarch64, arm, i386, powerpc bsps_aarch64 =

Re: [PATCH] rtems-tools-6.cfg: Bump hash to get new INI files

2022-01-20 Thread Joel Sherrill
This looks good to me. If no one objects, I will push it. --joel On Thu, Jan 20, 2022 at 8:28 AM Ryan Long wrote: > > --- > rtems/config/tools/rtems-tools-6.cfg | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/rtems/config/tools/rtems-tools-6.cfg >

[PATCH] rtems-tools-6.cfg: Bump hash to get new INI files

2022-01-20 Thread Ryan Long
--- rtems/config/tools/rtems-tools-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-tools-6.cfg b/rtems/config/tools/rtems-tools-6.cfg index cf895d6..d493955 100644 --- a/rtems/config/tools/rtems-tools-6.cfg +++

[PATCH] sb/linux.py: Simplify "distro" determination

2022-01-20 Thread Sebastian Huber
This fixes an issue on Debian 11 which contains "Debian" in /etc/issue (captital D). --- source-builder/sb/linux.py | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/source-builder/sb/linux.py b/source-builder/sb/linux.py index d89377b..d71ac39 100644 ---

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-19 Thread Chris Johns
On 20/1/22 9:04 am, Joel Sherrill wrote: > On Wed, Jan 19, 2022 at 2:56 PM Chris Johns wrote: >> >> On 20/1/22 5:08 am, Joel Sherrill wrote: >>> Are the Tier 1 architectures/BSPs documented anywhere besides an INI file? >> >> I do not think they are. > > Me either. I vaguely recall we have had

Re: [PATCH rtems-libbsd 1/2] microblaze: Add AXI Ethernet support

2022-01-19 Thread Chris Johns
On 20/1/22 2:54 pm, Alex White wrote: > From: Jennifer Averett > rtemsbsd/rtems/rtems-kernel-vmem.c| 17 + > diff --git a/rtemsbsd/rtems/rtems-kernel-vmem.c > b/rtemsbsd/rtems/rtems-kernel-vmem.c > index f64fbd17..70708902 100644 > --- a/rtemsbsd/rtems/rtems-kernel-vmem.c > +++

Re: [PATCH rtems-libbsd 2/2] microblaze: Finish AXI Ethernet support

2022-01-19 Thread Sebastian Huber
On 20/01/2022 04:54, Alex White wrote: diff --git a/freebsd/sys/netinet/tcp_input.c b/freebsd/sys/netinet/tcp_input.c index fc111d9c..60f9123a 100644 --- a/freebsd/sys/netinet/tcp_input.c +++ b/freebsd/sys/netinet/tcp_input.c @@ -721,6 +721,15 @@ tcp_input(struct mbuf **mp, int *offp, int proto)

Re: [PATCH rtems-libbsd 0/2] MicroBlaze AXI Ethernet Support

2022-01-19 Thread Sebastian Huber
On 20/01/2022 04:54, Alex White wrote: This patch set adds support for Xilinx's AXI Ethernet IP core. It has been tested both in QEMU and on the KCU105 board using the default FPGA implementation from the Xilinx's KCU105 PetaLinux BSP. Alex White (1): microblaze: Finish AXI Ethernet support

[PATCH rtems-libbsd 1/2] microblaze: Add AXI Ethernet support

2022-01-19 Thread Alex White
From: Jennifer Averett --- buildset/default.ini |1 + freebsd/sys/dev/mii/tiphy.h | 57 + freebsd/sys/dev/xdma/xdma.c | 501 freebsd/sys/dev/xdma/xdma.h | 285 + freebsd/sys/dev/xdma/xdma_bank.c

[PATCH rtems-libbsd 2/2] microblaze: Finish AXI Ethernet support

2022-01-19 Thread Alex White
--- freebsd/sys/dev/xdma/xdma_sg.c | 3 ++- freebsd/sys/dev/xilinx/axidma.c| 14 -- freebsd/sys/dev/xilinx/if_xae.c| 4 ++-- freebsd/sys/netinet/tcp_input.c| 9 + freebsd/sys/netinet/tcp_subr.c

[PATCH rtems-libbsd 0/2] MicroBlaze AXI Ethernet Support

2022-01-19 Thread Alex White
This patch set adds support for Xilinx's AXI Ethernet IP core. It has been tested both in QEMU and on the KCU105 board using the default FPGA implementation from the Xilinx's KCU105 PetaLinux BSP. Alex White (1): microblaze: Finish AXI Ethernet support Jennifer Averett (1): microblaze: Add

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-19 Thread Joel Sherrill
On Wed, Jan 19, 2022 at 2:56 PM Chris Johns wrote: > > On 20/1/22 5:08 am, Joel Sherrill wrote: > > Are the Tier 1 architectures/BSPs documented anywhere besides an INI file? > > I do not think they are. Me either. I vaguely recall we have had this conversation before. Where should they be?

Re: Older gcc for MacOS

2022-01-19 Thread Joel Sherrill
On Wed, Jan 19, 2022 at 3:00 PM Chris Johns wrote: > > On 8/1/22 9:34 am, Joel Sherrill wrote: > > On Fri, Jan 7, 2022 at 4:17 PM Chris Johns wrote: > >> > >> On 8/1/22 8:28 am, Ryan Long wrote: > >>> Hi, > >>> > >>> Our MacOS VM is failing to build several of the tools on the RTEMS 5 > >>>

Re: Older gcc for MacOS

2022-01-19 Thread Chris Johns
On 8/1/22 9:34 am, Joel Sherrill wrote: > On Fri, Jan 7, 2022 at 4:17 PM Chris Johns wrote: >> >> On 8/1/22 8:28 am, Ryan Long wrote: >>> Hi, >>> >>> Our MacOS VM is failing to build several of the tools on the RTEMS 5 >>> branch. We >>> think that using an older version of gcc should get all of

Re: [PATCH 0/5] Update rtems-bsp-builder to match RTEMS master

2022-01-19 Thread Chris Johns
Looks great and thank you for taking care of this. Chris On 20/1/22 5:04 am, Joel Sherrill wrote: > The set of ini files for rtems-bsp-builder was out of sync > with the set of architectures and BSPs currently in RTEMS. > This patch set adds three architectures and a handful of BSPs. > > Build

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-19 Thread Chris Johns
On 20/1/22 5:08 am, Joel Sherrill wrote: > Are the Tier 1 architectures/BSPs documented anywhere besides an INI file? I do not think they are. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-19 Thread Joel Sherrill
Are the Tier 1 architectures/BSPs documented anywhere besides an INI file? --joel On Wed, Jan 19, 2022 at 11:49 AM Kinsey Moore wrote: > > > On 1/19/2022 09:41, Kinsey Moore wrote: > > > > On 1/19/2022 09:13, Sebastian Huber wrote: > >> On 19/01/2022 15:42, Kinsey Moore wrote: > >>> On

[PATCH 5/5] rtems-bsps-x86_64.ini: New file

2022-01-19 Thread Joel Sherrill
--- config/rtems-bsps-x86_64.ini | 25 + 1 file changed, 25 insertions(+) create mode 100644 config/rtems-bsps-x86_64.ini diff --git a/config/rtems-bsps-x86_64.ini b/config/rtems-bsps-x86_64.ini new file mode 100644 index 000..eeccfea --- /dev/null +++

[PATCH 4/5] rtems-bsps-microblaze.ini: New file

2022-01-19 Thread Joel Sherrill
--- config/rtems-bsps-microblaze.ini | 25 + 1 file changed, 25 insertions(+) create mode 100644 config/rtems-bsps-microblaze.ini diff --git a/config/rtems-bsps-microblaze.ini b/config/rtems-bsps-microblaze.ini new file mode 100644 index 000..b886dbd --- /dev/null

[PATCH 2/5] rtems-bsps-riscv.ini: Add missing BSPs

2022-01-19 Thread Joel Sherrill
frdme310arty, griscv, grv32i, grv32im, grv32imac, grv32imafdc, rv32iac, rv32i, rv32imac, rv32imafc, rv32imafdc, rv32imafd, rv32im --- config/rtems-bsps-riscv.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/rtems-bsps-riscv.ini

[PATCH 3/5] rtems-bsps-aarch64.ini: New file

2022-01-19 Thread Joel Sherrill
--- config/rtems-bsps-aarch64.ini | 31 +++ 1 file changed, 31 insertions(+) create mode 100644 config/rtems-bsps-aarch64.ini diff --git a/config/rtems-bsps-aarch64.ini b/config/rtems-bsps-aarch64.ini new file mode 100644 index 000..110ab17 --- /dev/null +++

[PATCH 0/5] Update rtems-bsp-builder to match RTEMS master

2022-01-19 Thread Joel Sherrill
The set of ini files for rtems-bsp-builder was out of sync with the set of architectures and BSPs currently in RTEMS. This patch set adds three architectures and a handful of BSPs. Build results with these patches are at: https://lists.rtems.org/pipermail/build/2022-January/031032.html --joel

[PATCH 1/5] rtems-bsps-arm.ini: Add missing BSPs

2022-01-19 Thread Joel Sherrill
fvp_cortex_r52, imxrt1052, nucleo-h743zi, stm32h7, xen_virtual, xilinx_zynqmp_ultra96 --- config/rtems-bsps-arm.ini | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/config/rtems-bsps-arm.ini b/config/rtems-bsps-arm.ini index 02b54e7..b9a940d 100644 ---

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-19 Thread Kinsey Moore
On 1/19/2022 09:41, Kinsey Moore wrote: On 1/19/2022 09:13, Sebastian Huber wrote: On 19/01/2022 15:42, Kinsey Moore wrote: On 1/18/2022 10:23, Sebastian Huber wrote: On 18/01/2022 17:19, Kinsey Moore wrote: Hardware test results have recently been posted for AArch64. Closes #4581 It

Re: Malloc tests

2022-01-19 Thread Joel Sherrill
On Fri, Jan 7, 2022 at 8:25 PM zack leung wrote: > > I think that the malloc tests is calculated differently than alloc_size+ > allocsize mod it looks like this > *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin; > when i run the comparison i get 8 (with heap alignment)

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-19 Thread Sebastian Huber
On 19/01/2022 16:41, Kinsey Moore wrote: ts-performance-no-clock-0 gets test-too-long, but passes with modified tester timeouts and all the other validation tests pass just fine. Great, did the ts-validation-intr test run also? It fails on my Qemu simulator. Yes, that test was included in

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-19 Thread Kinsey Moore
On 1/19/2022 09:13, Sebastian Huber wrote: On 19/01/2022 15:42, Kinsey Moore wrote: On 1/18/2022 10:23, Sebastian Huber wrote: On 18/01/2022 17:19, Kinsey Moore wrote: Hardware test results have recently been posted for AArch64. Closes #4581 It would be nice if you could run also the new

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-19 Thread Sebastian Huber
On 19/01/2022 15:42, Kinsey Moore wrote: On 1/18/2022 10:23, Sebastian Huber wrote: On 18/01/2022 17:19, Kinsey Moore wrote: Hardware test results have recently been posted for AArch64. Closes #4581 It would be nice if you could run also the new validation tests on this branch:

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-19 Thread Kinsey Moore
On 1/18/2022 10:23, Sebastian Huber wrote: On 18/01/2022 17:19, Kinsey Moore wrote: Hardware test results have recently been posted for AArch64. Closes #4581 It would be nice if you could run also the new validation tests on this branch:

Re: [PATCH rtems-tools] rtems-bsps-powerpc.ini: Remove powerpc/halekala

2022-01-18 Thread Joel Sherrill
Thanks. FYI I am testing a series now to add a surprisingly large number of missing BSPs to the ini files. Not having aarch64, microblaze, or x86_64 is forgivable. --joel On Tue, Jan 18, 2022 at 4:00 PM Chris Johns wrote: > > OK > > Thanks > Chris > > On 19/1/22 5:17 am, Joel Sherrill wrote:

Re: [PATCH rtems-tools] rtems-bsps-powerpc.ini: Remove powerpc/halekala

2022-01-18 Thread Chris Johns
OK Thanks Chris On 19/1/22 5:17 am, Joel Sherrill wrote: > Updates #4302. > --- > config/rtems-bsps-powerpc.ini | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/config/rtems-bsps-powerpc.ini b/config/rtems-bsps-powerpc.ini > index b4dc02c..fc69827 100644 > ---

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-18 Thread Chris Johns
Ok to push. Thank you Chris On 19/1/22 3:19 am, Kinsey Moore wrote: > Hardware test results have recently been posted for AArch64. > > Closes #4581 > --- > config/rtems-bsps-tiers.ini | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/config/rtems-bsps-tiers.ini

[PATCH rtems-tools] rtems-bsps-powerpc.ini: Remove powerpc/halekala

2022-01-18 Thread Joel Sherrill
Updates #4302. --- config/rtems-bsps-powerpc.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/config/rtems-bsps-powerpc.ini b/config/rtems-bsps-powerpc.ini index b4dc02c..fc69827 100644 --- a/config/rtems-bsps-powerpc.ini +++ b/config/rtems-bsps-powerpc.ini @@ -24,7 +24,6 @@ bsps =

Re: [PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-18 Thread Sebastian Huber
On 18/01/2022 17:19, Kinsey Moore wrote: Hardware test results have recently been posted for AArch64. Closes #4581 It would be nice if you could run also the new validation tests on this branch: https://git.rtems.org/sebh/rtems.git/log/?h=validation -- embedded brains GmbH Herr Sebastian

[PATCH rtems-tools] tiers: Add AArch64 to tier 1

2022-01-18 Thread Kinsey Moore
Hardware test results have recently been posted for AArch64. Closes #4581 --- config/rtems-bsps-tiers.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/rtems-bsps-tiers.ini b/config/rtems-bsps-tiers.ini index 875c5df..ba9e6b5 100644 ---

Re: [PATCHES] Fix PPP in libbsd and optimize ATSAM console

2022-01-18 Thread Christian MAUDERER
Hello, I noted that I still have this patch set open. I first posted it in August 2021 and later pinged it in September 2021. Both times no conclusion has been found. I would like to finally finish this topic and get the patches in an acceptable state. To simplify it a bit, let's only

Re: New validation test suites

2022-01-18 Thread Sebastian Huber
On 18/01/2022 02:20, Chris Johns wrote: On 17/1/22 8:51 pm, Sebastian Huber wrote: On 17/01/2022 09:47, Chris Johns wrote: On 17/1/22 7:04 pm, Sebastian Huber wrote: On 17/01/2022 08:52, Chris Johns wrote: My understanding of the status of these patches is the remaining topic is the release

Re: [PATCH 0/2] bsp/atsam: Merge USART and UART code and add optional Rx DMA

2022-01-18 Thread Christian MAUDERER
Am 14.01.22 um 17:52 schrieb Gedare Bloom: BSP-specific looks ok to me. Back port to 5 is also fine as bugfix. Thanks. On Thu, Jan 13, 2022 at 12:38 AM Christian Mauderer wrote: Hello, the UART/USART of the ATSAM doesn't have any FIFO buffer. Therefore every received character has to be

Re: New validation test suites

2022-01-17 Thread Chris Johns
On 17/1/22 8:51 pm, Sebastian Huber wrote: > On 17/01/2022 09:47, Chris Johns wrote: >> On 17/1/22 7:04 pm, Sebastian Huber wrote: >>> On 17/01/2022 08:52, Chris Johns wrote: My understanding of the status of these patches is the remaining topic is the release dependencies. I have

Re: New validation test suites

2022-01-17 Thread Sebastian Huber
On 17/01/2022 09:47, Chris Johns wrote: On 17/1/22 7:04 pm, Sebastian Huber wrote: On 17/01/2022 08:52, Chris Johns wrote: My understanding of the status of these patches is the remaining topic is the release dependencies. I have not had time to give this any consideration however I have a

Re: New validation test suites

2022-01-17 Thread Chris Johns
On 17/1/22 7:04 pm, Sebastian Huber wrote: > On 17/01/2022 08:52, Chris Johns wrote: >> My understanding of the status of these patches is the remaining topic is the >> release dependencies. I have not had time to give this any consideration >> however >> I have a feeling it will not be easy or

Re: Update of STM32h7 BSP HAL.

2022-01-17 Thread Sebastian Huber
On 16/01/2022 21:59, Karel Gardas wrote: I think that the most clean merge may simply replace all HAL files with a new version and then try to apply all accumulated RTEMS changes on top of those and hope nothing breaks in current support. I tested simply just replacing files and when doing git

Re: New validation test suites

2022-01-17 Thread Sebastian Huber
On 17/01/2022 08:52, Chris Johns wrote: My understanding of the status of these patches is the remaining topic is the release dependencies. I have not had time to give this any consideration however I have a feeling it will not be easy or simple because of the inter-dependency of the repos and

Re: New validation test suites

2022-01-16 Thread Chris Johns
On 15/1/22 2:02 am, Sebastian Huber wrote: > On 11/01/2022 17:09, Sebastian Huber wrote: >> >> I will do a test run on a arm/imx7 board tomorrow. The new validation tests >> already passed some time ago on this board. > > Running the complete new validation test suite revealed a bug in the arm

Update of STM32h7 BSP HAL.

2022-01-16 Thread Karel Gardas
Folks, I'm investigating possibility of updating HAL code in STM32h7 BSP which should bring a new MCUs support in. Currently what RTEMS is missing is support for following H7 family members: bsps/arm/stm32h7/include/stm32h723xx.h bsps/arm/stm32h7/include/stm32h725xx.h

Re: All mips BSPs cannot link psxfenv01

2022-01-15 Thread Sebastian Huber
On 14/01/2022 17:51, Joel Sherrill wrote: Is this due to the recent Newlib build system changes? I guess so although I don't see anything obvious when I looked at the machine/configure.ac in both versions. I confirmed jmr3904 could build all tests with this gcc/newlib: $

Re: [PATCH 0/2] bsp/atsam: Merge USART and UART code and add optional Rx DMA

2022-01-14 Thread Gedare Bloom
BSP-specific looks ok to me. Back port to 5 is also fine as bugfix. On Thu, Jan 13, 2022 at 12:38 AM Christian Mauderer wrote: > > Hello, > > the UART/USART of the ATSAM doesn't have any FIFO buffer. Therefore > every received character has to be processed before the next one > arrives. In

Re: All mips BSPs cannot link psxfenv01

2022-01-14 Thread Joel Sherrill
On Fri, Jan 14, 2022 at 10:33 AM Sebastian Huber wrote: > > Hello, > > I noticed that all mips BSPs cannot link psxfenv01: > > /opt/rtems/6/lib/gcc/mips-rtems6/10.3.1/../../../../mips-rtems6/bin/ld: > testsuites/psxtests/psxfenv01/init.c.430.o: in function `Init': > (.text.Init+0x34): undefined

All mips BSPs cannot link psxfenv01

2022-01-14 Thread Sebastian Huber
Hello, I noticed that all mips BSPs cannot link psxfenv01: /opt/rtems/6/lib/gcc/mips-rtems6/10.3.1/../../../../mips-rtems6/bin/ld: testsuites/psxtests/psxfenv01/init.c.430.o: in function `Init': (.text.Init+0x34): undefined reference to `fesetenv'

Re: New validation test suites

2022-01-14 Thread Sebastian Huber
On 11/01/2022 17:09, Sebastian Huber wrote: I will do a test run on a arm/imx7 board tomorrow. The new validation tests already passed some time ago on this board. Running the complete new validation test suite revealed a bug in the arm interrupt handling:

[PATCH v2 2/4] arm: Rework per-CPU control in interrupt handling

2022-01-14 Thread Sebastian Huber
Use volatile register r0 for the per-CPU control of the current processor instead of the non-volatile register r7. This enables the use of r7 in a follow up patch. Do the interrupt handling in ARM mode. Update #4579. --- cpukit/score/cpu/arm/arm_exc_interrupt.S | 97 +++- 1

[PATCH v2 4/4] arm: Optimize interrupt handling

2022-01-14 Thread Sebastian Huber
Use the SRS (Store Return State) instruction if available. This considerably simplifies the context save and restore. --- cpukit/score/cpu/arm/arm_exc_interrupt.S | 39 +++ .../score/cpu/arm/include/rtems/score/arm.h | 1 + .../cpu/arm/include/rtems/score/cpuimpl.h |

[PATCH v2 0/4] arm: Fix interrupt handling

2022-01-14 Thread Sebastian Huber
Sebastian Huber (4): arm: Use push/pop instructions for readability arm: Rework per-CPU control in interrupt handling arm: Fix stack alignment during interrupt handling arm: Optimize interrupt handling cpukit/score/cpu/arm/arm_exc_interrupt.S | 187 +++---

[PATCH v2 1/4] arm: Use push/pop instructions for readability

2022-01-14 Thread Sebastian Huber
Update #4579. --- cpukit/score/cpu/arm/arm_exc_interrupt.S | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/cpukit/score/cpu/arm/arm_exc_interrupt.S b/cpukit/score/cpu/arm/arm_exc_interrupt.S index ddcaf945b5..2775558bd9 100644 ---

[PATCH v2 3/4] arm: Fix stack alignment during interrupt handling

2022-01-14 Thread Sebastian Huber
On a public interface, the stack pointer must be aligned on an 8-byte boundary. However, it may temporarily be only aligned on a 4-byte boundary. The interrupt handling code must ensure that the stack pointer is properly aligned before it calls a function. See also:

Re: [PATCH] arm: Fix stack alignment during interrupt handling

2022-01-13 Thread Sebastian Huber
On 13/01/2022 13:34, Sebastian Huber wrote: On a public interface, the stack pointer must be aligned on an 8-byte boundary. However, it may temporarily be only aligned on a 4-byte boundary. The interrupt handling code must ensure that the stack pointer is properly aligned before it calls a

Re: Malloc tests

2022-01-13 Thread zack leung
There a way to get the same values used to make the calculation in malloc get usable size? Bump Il ven 7 gen 2022, 21:25 zack leung ha scritto: > I think that the malloc tests is calculated differently than alloc_size+ > allocsize mod it looks like this > *alloc_size = (uintptr_t) next_block

[PATCH] arm: Optimize interrupt handling

2022-01-13 Thread Sebastian Huber
Use the SRS (Store Return State) instruction if available. This considerably simplifies the context save and restore. --- cpukit/score/cpu/arm/arm_exc_interrupt.S | 45 +-- .../score/cpu/arm/include/rtems/score/arm.h | 1 + .../cpu/arm/include/rtems/score/cpuimpl.h |

[PATCH] arm: Fix stack alignment during interrupt handling

2022-01-13 Thread Sebastian Huber
On a public interface, the stack pointer must be aligned on an 8-byte boundary. However, it may temporarily be only aligned on a 4-byte boundary. The interrupt handling code must ensure that the stack pointer is properly aligned before it calls a function. See also:

[PATCH 0/2] bsp/atsam: Merge USART and UART code and add optional Rx DMA

2022-01-12 Thread Christian Mauderer
Hello, the UART/USART of the ATSAM doesn't have any FIFO buffer. Therefore every received character has to be processed before the next one arrives. In situations with a high interrupt load or during long interrupt locks, this might not work reliable and the UART/USART can loose characters. This

[PATCH 1/2] bsp/atsam: Merge USART and UART driver

2022-01-12 Thread Christian Mauderer
If no extended features of the USART are used and if the comparison feature of the UART is not used, the two modules are compatible. The drivers were nearly identical except for some names of the defines. This patch merges the two drivers into one. Update #4577 ---

[PATCH 2/2] bsp/atsam: Optionally use DMA for UART Rx

2022-01-12 Thread Christian Mauderer
If the system is busy with other interrupts and the UART is set to a fast baud rate, it's possible to loose UART interrupts and therefore characters. This allows to optionally enable a DMA for the UARTs so that a number of lost interrupts can be tolerated. The number of DMAs on this chip is

Re: [PATCH 0/3] aarch64: boot in to EL1NS

2022-01-12 Thread Gedare Bloom
Thanks, I checked these in. On Thu, Jan 6, 2022 at 3:38 PM Kinsey Moore wrote: > > These changes look good. I'm glad you were able to simplify this a bit. > > As for the test failures, they all fall into that category of timing > sensitive tests that QEMU breaks with large bursts of

Re: New validation test suites

2022-01-12 Thread Sebastian Huber
On 11/01/2022 17:09, Sebastian Huber wrote: I implemented the new Interrupt Manager directives for the powerpc/qemu BSPs. The new validation tests pass now on real hardware (MVME2500). Passed:    662 Failed:  3 User Input:  5 Expected Fail:   1 Indeterminate:   0 Benchmark: 

Re: [PATCH] GSoC proof commit

2022-01-11 Thread Joel Sherrill
Great! As Christain pointed out on Discord, Gedare has already created a GSoC 2022 page: https://devel.rtems.org/wiki/GSoC/2022 Add yourself to the table. Please send a screenshot of running the modified hello world. --joel On Tue, Jan 11, 2022 at 6:32 AM Rajiv Vaidyanathan wrote: > > From:

Re: New validation test suites

2022-01-11 Thread Sebastian Huber
Hello, I implemented the new Interrupt Manager directives for the powerpc/qemu BSPs. The new validation tests pass now on real hardware (MVME2500). Passed:662 Failed: 3 User Input: 5 Expected Fail: 1 Indeterminate: 0 Benchmark: 3 Timeout: 0 Test too

[PATCH] GSoC proof commit

2022-01-11 Thread Rajiv Vaidyanathan
From: Rajiv Vaidyanathan --- testsuites/samples/hello/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c index 34ded37c55..7cc23f24ff 100644 --- a/testsuites/samples/hello/init.c +++

[PATCH] GSoC proof commit

2022-01-11 Thread Rajiv Vaidyanathan
From: Rajiv Vaidyanathan --- testsuites/samples/hello/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c index 34ded37c55..7cc23f24ff 100644 --- a/testsuites/samples/hello/init.c +++

[PATCH] tester: Fix typo

2022-01-11 Thread Sebastian Huber
--- tester/rt/stty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tester/rt/stty.py b/tester/rt/stty.py index 130318d..fca026a 100644 --- a/tester/rt/stty.py +++ b/tester/rt/stty.py @@ -558,7 +558,7 @@ class tty(object): self._update() def read(self): -

Re: [PATCH 1/2] c-user: Clarify Clock Manager dependencies

2022-01-10 Thread Sebastian Huber
Hello Joel, any comments to this patch? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899

[PATCH] powerpc/setjmp: Improve RTEMS support

2022-01-10 Thread Sebastian Huber
For some RTEMS multilibs, the FPU and Altivec units are disabled during interrupt handling. Do not save and restore the corresponding registers in this case. --- newlib/libc/machine/powerpc/setjmp.S | 27 +++ 1 file changed, 27 insertions(+) diff --git

Re: Malloc tests

2022-01-07 Thread zack leung
I think that the malloc tests is calculated differently than alloc_size+ allocsize mod it looks like this *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin; when i run the comparison i get 8 (with heap alignment) and the function gives me 12. is the heap alloc bonus part of

Re: Older gcc for MacOS

2022-01-07 Thread Joel Sherrill
On Fri, Jan 7, 2022 at 4:17 PM Chris Johns wrote: > > On 8/1/22 8:28 am, Ryan Long wrote: > > Hi, > > > > Our MacOS VM is failing to build several of the tools on the RTEMS 5 > > branch. We > > think that using an older version of gcc should get all of the tools to > > build. I > > tried build

Re: Older gcc for MacOS

2022-01-07 Thread Chris Johns
On 8/1/22 8:28 am, Ryan Long wrote: > Hi, > > Our MacOS VM is failing to build several of the tools on the RTEMS 5 branch. > We > think that using an older version of gcc should get all of the tools to > build. I > tried build gcc-4.8 with the RSB, but I get the following error. > > >

Older gcc for MacOS

2022-01-07 Thread Ryan Long
Hi, Our MacOS VM is failing to build several of the tools on the RTEMS 5 branch. We think that using an older version of gcc should get all of the tools to build. I tried build gcc-4.8 with the RSB, but I get the following error. tester@VM-MacOS bare % ../source-builder/sb-set-builder

RE: [PATCH 0/3] aarch64: boot in to EL1NS

2022-01-06 Thread Kinsey Moore
These changes look good. I'm glad you were able to simplify this a bit. As for the test failures, they all fall into that category of timing sensitive tests that QEMU breaks with large bursts of near-simultaneous timer ticks. Kinsey -Original Message- From: devel On Behalf Of Gedare

Re: [PATCH 0/3] aarch64: boot in to EL1NS

2022-01-06 Thread Gedare Bloom
rtems-test results for xilinx-zynqmp_lp64_qemu with RTEMS_SMP: Passed:632 Failed: 5 User Input: 5 Expected Fail: 0 Indeterminate: 3 Benchmark: 3 Timeout: 1 Test too long: 1 Invalid: 0 Wrong Version: 0 Wrong Build: 0 Wrong Tools: 0 Wrong

[PATCH 3/3] aarch64: always boot into EL1NS

2022-01-06 Thread Gedare Bloom
Always start the executive in Exception Level 1, Non-Secure mode. If we boot in EL3 Secure with GICv3 then we have to initialize the distributor and redistributor to set up G1NS interrupts early in the boot sequence before stepping down from EL3S to EL1NS. Now there is no need to distinguish

[PATCH 2/3] arm/gicv3: refactor DIST initialization to helper

2022-01-06 Thread Gedare Bloom
--- bsps/shared/dev/irq/arm-gicv3.c | 60 - 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/bsps/shared/dev/irq/arm-gicv3.c b/bsps/shared/dev/irq/arm-gicv3.c index ea123d325e..b2bd947dd4 100644 --- a/bsps/shared/dev/irq/arm-gicv3.c +++

[PATCH 0/3] aarch64: boot in to EL1NS

2022-01-06 Thread Gedare Bloom
This patch series resolves a lingering problem with the aarch64 port for the versal, which uses gicv3, that it is not possible to initialize the GIC distributor and redistributor (cpuif) while in the non-secure world. Previously we added a configuration option to allow running RTEMS in secure

[PATCH 1/3] bsps/aarch64: refactor register init and hooks

2022-01-06 Thread Gedare Bloom
--- bsps/aarch64/shared/start/start.S | 81 ++- .../xilinx-zynqmp/start/bspstarthooks.c | 12 +-- 2 files changed, 48 insertions(+), 45 deletions(-) diff --git a/bsps/aarch64/shared/start/start.S b/bsps/aarch64/shared/start/start.S index f03c7921ca..d5c7bdc3d5

  1   2   3   4   5   6   7   8   9   10   >