Re: [PATCH] build: Add target to build scripts

2023-08-10 Thread Sebastian Huber
On 11.08.23 07:40, Chris Johns wrote: On 11/8/2023 3:33 pm, Sebastian Huber wrote: On 11.08.23 02:21, Chris Johns wrote: On 10/8/2023 7:02 pm, Sebastian Huber wrote: Document that the build scripts in the testsuites produce a test program. I am sorry but I do not understand this change and

Re: [PATCH] build: Create deterministic tar archives

2023-08-10 Thread Chris Johns
On 11/8/2023 3:43 pm, Sebastian Huber wrote: > On 11.08.23 07:39, Chris Johns wrote: >> On 11/8/2023 3:37 pm, Sebastian Huber wrote: >>> On 11.08.23 02:22, Chris Johns wrote: On 10/8/2023 8:19 pm, Sebastian Huber wrote: > This helps to make the build reproducible. > --- >   

Re: [PATCH] build: Create deterministic tar archives

2023-08-10 Thread Sebastian Huber
On 11.08.23 07:39, Chris Johns wrote: On 11/8/2023 3:37 pm, Sebastian Huber wrote: On 11.08.23 02:22, Chris Johns wrote: On 10/8/2023 8:19 pm, Sebastian Huber wrote: This helps to make the build reproducible. ---   wscript | 11 ++-   1 file changed, 10 insertions(+), 1 deletion(-)

Re: [PATCH] build: Add target to build scripts

2023-08-10 Thread Chris Johns
On 11/8/2023 3:33 pm, Sebastian Huber wrote: > On 11.08.23 02:21, Chris Johns wrote: >> On 10/8/2023 7:02 pm, Sebastian Huber wrote: >>> Document that the build scripts in the testsuites produce a test program. >> I am sorry but I do not understand this change and why we need it. Is the >>

Re: [PATCH] build: Create deterministic tar archives

2023-08-10 Thread Chris Johns
On 11/8/2023 3:37 pm, Sebastian Huber wrote: > On 11.08.23 02:22, Chris Johns wrote: >> On 10/8/2023 8:19 pm, Sebastian Huber wrote: >>> This helps to make the build reproducible. >>> --- >>>   wscript | 11 ++- >>>   1 file changed, 10 insertions(+), 1 deletion(-) >>> >>> diff --git

[PATCH rtems-libbsd 1/2] bsp/imxrt: Enable cache handling

2023-08-10 Thread Christian Mauderer
The BSP needs the CPU_DATA_CACHE_ALIGNMENT set to enable correct cache handling in libbsd. Otherwise for example USB doesn't work reliable. --- rtemsbsd/include/machine/rtems-bsd-cache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtemsbsd/include/machine/rtems-bsd-cache.h

[PATCH rtems 2/3] bsps/arm/imxrt1166: Enable USB

2023-08-10 Thread Christian Mauderer
Enable the USB modules in the FDT. --- bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.c | 115 +++--- .../imxrt/dts/imxrt1166-cm7-saltshaker.dts| 8 ++ bsps/arm/imxrt/include/imxrt/imxrt1166.dtsi | 8 ++ 3 files changed, 85 insertions(+), 46 deletions(-) diff --git

[PATCH rtems-libbsd 2/2] rtemsbsd/sys/arm: Add imxrt1166 USBPHY driver

2023-08-10 Thread Christian Mauderer
Adds a driver for the i.MXRT1166 USB PHY and enable USB for the imxrt11xx BSPs. --- libbsd.py | 6 + rtemsbsd/include/bsp/nexus-devices.h | 8 + .../sys/arm/freescale/imx/imxrt1166_usbphy.c | 227 ++ 3 files changed, 241

[PATCH rtems 3/3] bsps/arm/imxrt: Optimize nocache memory settings

2023-08-10 Thread Christian Mauderer
The nocache-memory was set as device memory. It's not necessary to be that strict. Set it to normal non-cacheable non-shareable memory instead. --- bsps/arm/imxrt/start/mpu-config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/arm/imxrt/start/mpu-config.c

[PATCH rtems 1/3] bsps/imxrt: Fix enabling USBPHY in fsl_clock

2023-08-10 Thread Christian Mauderer
The mcux-sdk tries to enable the USBPHY. But it uses the wrong register for that. This patch fixes the bug. --- .../imxrt/mcux-sdk/devices/MIMXRT1166/drivers/fsl_clock.c | 8 1 file changed, 8 insertions(+) diff --git a/bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1166/drivers/fsl_clock.c

[PATCH rtems 0/3, libbsd 0/2] Enable USB for i.MXRT11xx

2023-08-10 Thread Christian Mauderer
Hello, this patch set adds a USB PHY driver for the i.MXRT11xx family and enables USB on that device family. Best regards Christian ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH] build: Create deterministic tar archives

2023-08-10 Thread Sebastian Huber
On 11.08.23 02:22, Chris Johns wrote: On 10/8/2023 8:19 pm, Sebastian Huber wrote: This helps to make the build reproducible. --- wscript | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index a8fca88dcb..4baf701c27 100755 --- a/wscript +++

Re: [PATCH] build: Add target to build scripts

2023-08-10 Thread Sebastian Huber
On 11.08.23 02:21, Chris Johns wrote: On 10/8/2023 7:02 pm, Sebastian Huber wrote: Document that the build scripts in the testsuites produce a test program. I am sorry but I do not understand this change and why we need it. Is the addition of the target line purely cosmetic? This information

Re: [PATCH rtems v3 1/1] Add the Regulator Interface and test

2023-08-10 Thread Sebastian Huber
On 11.08.23 00:14, Joel Sherrill wrote: I should have asked if you want another round of patches or just go ahead and merge. This set of changes was pretty minor. This is fine, I had only some cosmetic things. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany

Re: [PATCH RTEMS] spec: Add -mstrict-align to mvme2100 default build

2023-08-10 Thread Vijay Kumar Banerjee
On Wed, Aug 9, 2023 at 8:04 PM Chris Johns wrote: > > On 10/8/2023 2:41 am, Joel Sherrill wrote: > > Reading the EPICS discussion, I wonder if this should be added for all > > motorola_powerpc BSP variants. > > > > Gedare/Chris/anyone with another board in the family? What do you think? > >

Re: [PATCH] build: Create deterministic tar archives

2023-08-10 Thread Chris Johns
On 10/8/2023 8:19 pm, Sebastian Huber wrote: > This helps to make the build reproducible. > --- > wscript | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/wscript b/wscript > index a8fca88dcb..4baf701c27 100755 > --- a/wscript > +++ b/wscript > @@ -188,6

Re: [tools] tester: Use shorter SHA512 encoding

2023-08-10 Thread Chris Johns
OK to push Thanks Chris On 10/8/2023 11:52 pm, Sebastian Huber wrote: > Encode the SHA512 digest in base64urlsafe instead of a hex string to > reduce the report size. > --- > tester/rt/test.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tester/rt/test.py

Re: [PATCH] build: Add target to build scripts

2023-08-10 Thread Chris Johns
On 10/8/2023 7:02 pm, Sebastian Huber wrote: > Document that the build scripts in the testsuites produce a test program. I am sorry but I do not understand this change and why we need it. Is the addition of the target line purely cosmetic? Chris ___

Re: [PATCH] build: Make BUILD_LIBDL configurable

2023-08-10 Thread Chris Johns
On 10/8/2023 11:44 pm, Sebastian Huber wrote: > On 10.08.23 15:28, Joel Sherrill wrote: >> It looks ok but why? It isn't built if not supported. It isn't a lot of code >> even if it is built. And it will not be in a user executable if they don't >> call it. >> >> I just don't see the point. > >

Re: [PATCH rtems v3 1/1] Add the Regulator Interface and test

2023-08-10 Thread Chris Johns
On 11/8/2023 8:14 am, Joel Sherrill wrote: > I should have asked if you want another round of patches or just go ahead and > merge. This set of changes was pretty minor. I am fine with the changes being pushed. Chris ___ devel mailing list

Re: [PATCH rtems v3 1/1] Add the Regulator Interface and test

2023-08-10 Thread Joel Sherrill
I should have asked if you want another round of patches or just go ahead and merge. This set of changes was pretty minor. --joel On Thu, Aug 10, 2023 at 5:13 PM Joel Sherrill wrote: > I think I have addressed all of your comments and Chris'. > > The conversion to rtems-central might be nice

Re: [PATCH rtems v3 1/1] Add the Regulator Interface and test

2023-08-10 Thread Joel Sherrill
I think I have addressed all of your comments and Chris'. The conversion to rtems-central might be nice but it isn't going to happen soon. --joel On Thu, Aug 10, 2023 at 12:10 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 09.08.23 17:42, Joel Sherrill wrote: > > Updates

[tools] tester: Use shorter SHA512 encoding

2023-08-10 Thread Sebastian Huber
Encode the SHA512 digest in base64urlsafe instead of a hex string to reduce the report size. --- tester/rt/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tester/rt/test.py b/tester/rt/test.py index 2b5ad85..0e22002 100644 --- a/tester/rt/test.py +++

Re: [PATCH] build: Make BUILD_LIBDL configurable

2023-08-10 Thread Sebastian Huber
On 10.08.23 15:28, Joel Sherrill wrote: It looks ok but why? It isn't built if not supported. It isn't a lot of code even if it is built. And it will not be in a user executable if they don't call it. I just don't see the point. Yes, good question. Actually, I wanted to add an option to

Re: [PATCH] build: Make BUILD_LIBDL configurable

2023-08-10 Thread Joel Sherrill
It looks ok but why? It isn't built if not supported. It isn't a lot of code even if it is built. And it will not be in a user executable if they don't call it. I just don't see the point. --joel On Thu, Aug 10, 2023 at 6:03 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > ---

[PATCH] build: Make BUILD_LIBDL configurable

2023-08-10 Thread Sebastian Huber
--- spec/build/cpukit/optlibdl.yml| 32 +++ spec/build/testsuites/libtests/optrtemsld.yml | 2 +- .../testsuites/libtests/optrtemssyms.yml | 2 +- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/spec/build/cpukit/optlibdl.yml

[PATCH] build: Create deterministic tar archives

2023-08-10 Thread Sebastian Huber
This helps to make the build reproducible. --- wscript | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/wscript b/wscript index a8fca88dcb..4baf701c27 100755 --- a/wscript +++ b/wscript @@ -188,6 +188,15 @@ def process_start_files(self):

[PATCH] build: Add target to build scripts

2023-08-10 Thread Sebastian Huber
Document that the build scripts in the testsuites produce a test program. --- spec/build/testsuites/libtests/dl01.yml | 1 + spec/build/testsuites/libtests/dl02.yml | 1 + spec/build/testsuites/libtests/dl04.yml | 1 + spec/build/testsuites/libtests/dl05.yml | 1 +

[PATCH] eng: Allow a target in build script items

2023-08-10 Thread Sebastian Huber
Some build scripts may produce a test program for example. --- eng/req/items.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/eng/req/items.rst b/eng/req/items.rst index 4388c4c..286e998 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -869,6 +869,9 @@ stlib The

Re: [PATCH 0/2 v3] Refactor the aarch64/raspberryp4b BSP

2023-08-10 Thread Utkarsh Verma
A gentle reminder for this. Please let me know which changes are required so that I can send the next set of patches as well. On Wed, Aug 9, 2023 at 9:20 AM Utkarsh Verma wrote: > Changes can also be seen on my fork: > https://github.com/UtkarshVerma/rtems/tree/refactor > > On Wed, Aug 9, 2023

Re: [PATCH] build: Add PROGRAM_PREFIX option

2023-08-10 Thread Chris Johns
On 10/8/2023 3:06 pm, Sebastian Huber wrote: > On 10.08.23 03:13, Chris Johns wrote: >> >> On 9/8/2023 7:12 pm, Sebastian Huber wrote: >>> On 09.08.23 11:10, Cedric Berger wrote: On 09.08.23 10:51, Sebastian Huber wrote: > We could add some text to the option description: > > #