[PATCH v1] bsps/amd64: remove -Werror from ABI flags

2022-08-22 Thread Stephen Clark
From: Stephen Clark The ABI flags for the amd64 BSP contain the -Werror=return-type flag. There is no reason for this to be there so it has been removed. The same option has also been removed amd64.cfg file. --- bsps/x86_64/amd64/config/amd64.cfg | 1 - spec/build/bsps/x86_64/amd64/abi.yml

RE: [PATCH rtems v1 2/2] bsps/zynqmp: Added I2C support for ZynqMP

2021-08-24 Thread Stephen Clark
into their own c files? Thanks, Stephen > -Original Message- > From: Chris Johns > Sent: Monday, August 23, 2021 9:38 PM > To: Stephen Clark ; devel@rtems.org > Subject: Re: [PATCH rtems v1 2/2] bsps/zynqmp: Added I2C support for ZynqMP > > On 24/8/21 8:24 am, Stephen Clark

[PATCH rtems v1 2/2] bsps/zynqmp: Added I2C support for ZynqMP

2021-08-23 Thread Stephen Clark
Added I2C drivers for ZynqMP and updated build system accordingly. --- bsps/aarch64/xilinx-zynqmp/include/bsp.h | 4 ++ bsps/aarch64/xilinx-zynqmp/include/bsp/i2c.h | 63 +++ bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h | 2 + bsps/aarch64/xilinx-zynqmp/start/bspstart.c

[PATCH rtems v1 1/2] bsps/zynq: Moved general i2c files to shared directories

2021-08-23 Thread Stephen Clark
Certain files related to the Zynq BSP's I2C driver are useable by the ZynqMP BSP as well. Moved these files to shared directory in anticipation of I2C support for ZynqMP. --- .../include/bsp => include/dev/i2c}/cadence-i2c-regs.h | 0 .../include/bsp => include/dev/i2c}/cadence-i2c.h

[PATCH rtems-docs v2 2/2] README: Added centOS 8 instructions

2021-07-15 Thread Stephen Clark
Added some instructions for setting up CentOS 8. --- README.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/README.txt b/README.txt index 13bf8e6..828c9e7 100644 --- a/README.txt +++ b/README.txt @@ -287,6 +287,17 @@ PATH: export

[PATCH rtems-docs v2 1/2] README: Minor clarifications and fixes

2021-07-15 Thread Stephen Clark
Fixed some minor typographical errors. Updated a dead link. Reworded some sentences for clarity. --- README.txt | 49 + 1 file changed, 25 insertions(+), 24 deletions(-) diff --git a/README.txt b/README.txt index 03f57ed..13bf8e6 100644 ---

[PATCH rtems-docs v1 2/2] user/bsps/aarch64: Minor formatting fix

2021-07-14 Thread Stephen Clark
Fixed formatting error in user/bsps/aarch64/a53.rst and user/bsps/aarch64/xilinx-zynqmp.rst. --- user/bsps/aarch64/a53.rst | 8 +--- user/bsps/aarch64/xilinx-zynqmp.rst | 8 +--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/user/bsps/aarch64/a53.rst

[PATCH rtems-docs v1 1/2] xilinx-zynqmp.rst: Documented SDIO driver

2021-07-14 Thread Stephen Clark
Added documentation for SDIO driver. --- user/bsps/aarch64/xilinx-zynqmp.rst | 14 ++ 1 file changed, 14 insertions(+) diff --git a/user/bsps/aarch64/xilinx-zynqmp.rst b/user/bsps/aarch64/xilinx-zynqmp.rst index 71b6842..30ae8a3 100644 --- a/user/bsps/aarch64/xilinx-zynqmp.rst +++

[PATCH rtems-docs v1] readme: Minor clarifications and fixes

2021-07-14 Thread Stephen Clark
Added some instructions for setting up CentOS 8. Fixed some minor typographical errors. Updated a dead link. Reworded some sentences for clarity --- README.txt | 58 ++ 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/README.txt

[PATCH rtems-libbsd v1] nexus: Added SDHCI driver to ZynqMP

2021-07-12 Thread Stephen Clark
Made ZynqMP build with the SDHCI driver. --- rtemsbsd/include/bsp/nexus-devices.h | 4 +++ .../include/machine/rtems-bsd-nexus-bus.h | 29 +++ 2 files changed, 33 insertions(+) diff --git a/rtemsbsd/include/bsp/nexus-devices.h b/rtemsbsd/include/bsp/nexus-devices.h

Testing SDIO drivers for ZynqMP in RTEMS-libbsd

2021-06-29 Thread Stephen Clark
in QEMU with SD cards? Thanks, Stephen Clark ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH rtems-libbsd v3 4/4] rtemsbsd: Added a test for the TTCP command.

2021-06-16 Thread Stephen Clark
Added a new test for the TTCP command. Modified default-network-init.h to conditionally build the shell with TTCP. Modified libbsd.py to build the new TTCP test. --- libbsd.py | 1 + .../rtems/bsd/test/default-network-init.h | 7 +++

[PATCH rtems-libbsd v3 3/4] rtemsbsd: Made TTCP command build for RTEMS

2021-06-16 Thread Stephen Clark
Updated ttcp.c to build clean for RTEMS 6 and the machines it originally built for. Also fixed ttcp.c to close network sockets after completion. Defined a shell command for TTCP in rtems-bsd-shell-ttcp.c. Added TTCP to the list of RTEMS network commands in netcmds-config.h. Added declaration of

[PATCH rtems-libbsd v3 1/4] rtemsbsd: Added original TTCP code

2021-06-16 Thread Stephen Clark
Added the original Test TCP (TTCP) program in unmodified form. Also added the original README for TTCP. Both the README and the TTCP program were sourced from the first commit in the RTEMS network demos repository. --- rtemsbsd/ttcp/README | 27 ++ rtemsbsd/ttcp/ttcp.c | 841

[PATCH rtems-libbsd v3 2/4] rtemsbsd:Updated TTCP code with network demo code

2021-06-16 Thread Stephen Clark
Updated the TTCP code to match the ttcp.c in RTEMS network-demos repository (https://git.rtems.org/network-demos/). --- rtemsbsd/ttcp/ttcp.c | 91 +++- 1 file changed, 65 insertions(+), 26 deletions(-) diff --git a/rtemsbsd/ttcp/ttcp.c

[PATCH rtems-libbsd v2 4/4] rtemsbsd: Added a test for the TTCP command.

2021-06-11 Thread Stephen Clark
Added a new test for the TTCP command. Modified default-network-init.h to conditionally build the shell with TTCP. Modified libbsd.py to build the new TTCP test. --- libbsd.py | 1 + .../rtems/bsd/test/default-network-init.h | 7 +++

[PATCH rtems-libbsd v2 3/4] rtemsbsd: Made TTCP command build for RTEMS

2021-06-11 Thread Stephen Clark
Updated ttcp.c to build for RTEMS 6, in addition to the machines it originally built for. Also fixed ttcp.c to close network sockets after completion. Defined a shell command for TTCP in rtems-bsd-shell-ttcp.c. Added TTCP to the list of RTEMS network commands in netcmds-config.h. Added declaration

[PATCH rtems-libbsd v2 1/4] rtemsbsd: Added original TTCP code

2021-06-11 Thread Stephen Clark
Added the original Test TCP (TTCP) program in unmodified form. Also added the original README for TTCP. Both the README and the TTCP program were sourced from the first commit in the RTEMS network demos repository. --- rtemsbsd/ttcp/README | 27 ++ rtemsbsd/ttcp/ttcp.c | 841

[PATCH rtems-libbsd v2 2/4] rtemsbsd:Updated TTCP code with network demo code

2021-06-11 Thread Stephen Clark
Updated the TTCP code to match the ttcp.c in RTEMS network-demos repository (https://git.rtems.org/network-demos/). --- rtemsbsd/ttcp/ttcp.c | 91 +++- 1 file changed, 65 insertions(+), 26 deletions(-) diff --git a/rtemsbsd/ttcp/ttcp.c

[PATCH v1 4/4] rtemsbsd: Added a test for the TTCP command.

2021-06-08 Thread Stephen Clark
Added a new test for the TTCP command. Modified default-network-init.h to conditionally build the shell with TTCP. Modified libbsd.py to build the new TTCP test. --- libbsd.py | 1 + .../rtems/bsd/test/default-network-init.h | 7 +++

[PATCH v1 3/4] rtemsbsd: Made TTCP command build for RTEMS

2021-06-08 Thread Stephen Clark
Updated ttcp.c to build for RTEMS 6. Defined a shell command for TTCP in rtems-bsd-shell-ttcp.c. Added TTCP to the list of RTEMS network commands in netcmds-config.h. Added declaration of the TTCP shell command to rtems-bsd-commands.h Modified libbsd.py to make waf build TTCP and its shell

[PATCH v1 2/4] rtemsbsd:Updated TTCP code with network demo code

2021-06-08 Thread Stephen Clark
Updated the TTCP code to match the ttcp.c in RTEMS network-demos repository (https://git.rtems.org/network-demos/). --- rtemsbsd/ttcp/ttcp.c | 91 +++- 1 file changed, 65 insertions(+), 26 deletions(-) diff --git a/rtemsbsd/ttcp/ttcp.c

[PATCH v1 1/4] rtemsbsd: Added original TTCP code

2021-06-08 Thread Stephen Clark
Added the original Test TCP (TTCP) program in unmodified form. Also added the associated README. --- rtemsbsd/ttcp/README | 27 ++ rtemsbsd/ttcp/ttcp.c | 841 +++ 2 files changed, 868 insertions(+) create mode 100644 rtemsbsd/ttcp/README create mode

[PATCH v8] rtems-debugger: Fixed 32bit pointers

2021-05-14 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. Added hex_decode_addr function to rtems-debugger. --- cpukit/libdebugger/rtems-debugger-server.c |

[PATCH v7] rtems-debugger: Fixed 32bit pointers

2021-05-13 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. Added hex_decode_uintptr function to rtems-debugger. --- cpukit/libdebugger/rtems-debugger-server.c

[PATCH v6] rtems-debugger: Fixed 32bit pointers

2021-05-12 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. Added hex_decode_uintptr function to rtems-debugger. --- cpukit/include/rtems/shellconfig.h

[PATCH v5] rtems-debugger: Fixed 32bit pointers

2021-05-07 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. Added hex_decode_addr function to rtems-debugger. Changed rtems_debugger_target_swbreak_control()

[no subject]

2021-05-04 Thread Stephen Clark
This patch has been tested on a beaglebone black. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH v4] rtems-debugger: Fixed 32bit pointers

2021-05-04 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. Added hex_decode_addr function to rtems-debugger. --- .../rtems/debugger/rtems-debugger-server.h

RE: [PATCH v3] psxtests: Fix math function build warnings

2021-03-19 Thread Stephen Clark
I must have misunderstood your email about using the file header block from https://docs.rtems.org/branches/master/eng/coding-file-hdr.html. Which header were you recommending that I add? -Original Message- From: Gedare Bloom Sent: Friday, March 19, 2021 12:02 PM To: Stephen Clark Cc

[PATCH v3] psxtests: Fix math function build warnings

2021-03-19 Thread Stephen Clark
ull +++ b/testsuites/psxtests/psxhdrs/math/has_long_double.h @@ -0,0 +1,53 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @brief Defines NEWLIB_HAS_LONG_DOUBLE_MATH_FUNCTIONS + * + * This file uses logic copied from newlib's math.h on 21 Jan 2021 + * to determine wheth

[PATCH v3 3/3] stackchk: Fixed 32bit pointers

2021-03-19 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. --- cpukit/libmisc/stackchk/check.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v3 2/3] rtems-fdt: Fixed 32bit pointers

2021-03-19 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. --- cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v3 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-19 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. --- cpukit/libdebugger/rtems-debugger-server.c | 4 ++-- cpukit/libdebugger/rtems-debugger-target.c

RE: [PATCH v1 2/2] psxtests: Fix math function build warnings

2021-03-19 Thread Stephen Clark
into the build system, I talked with Joel and he's not sure how this would be accomplished with the build system, let alone if it would be desirable. The license info will be added. -Original Message- From: Gedare Bloom Sent: Thursday, March 18, 2021 10:56 AM To: Stephen Clark Cc: devel

RE: [PATCH v2 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-18 Thread Stephen Clark
uintptr_t to build on 64-bit CPUs”, there still isn’t room to prepend “rtems-debugger:”. From: Joel Sherrill Sent: Thursday, March 18, 2021 12:50 PM To: Stephen Clark Cc: rtems-de...@rtems.org Subject: Re: [PATCH v2 1/3] rtems-debugger: Fixed 32bit pointers After picking on Ryan, Alex, and Seba

[PATCH v2 3/3] stackchk: Fixed 32bit pointers

2021-03-18 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. --- cpukit/libmisc/stackchk/check.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v2 2/3] rtems-fdt: Fixed 32bit pointers

2021-03-18 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. --- cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH v2 1/3] rtems-debugger: Fixed 32bit pointers

2021-03-18 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. --- cpukit/libdebugger/rtems-debugger-server.c | 4 ++-- cpukit/libdebugger/rtems-debugger-target.c

[PATCH v2] psxtests: Fix math function build warnings

2021-03-18 Thread Stephen Clark
Added conditionals to ensure that long double function tests were only built when newlib has long double math functions. --- testsuites/psxtests/psxhdrs/math/acoshl.c| 3 +++ testsuites/psxtests/psxhdrs/math/acosl.c | 3 +++ testsuites/psxtests/psxhdrs/math/asinhl.c| 3

[PATCH v1 2/2] psxtests: Fix math function build warnings

2021-03-18 Thread Stephen Clark
Added conditionals to ensure that long double function tests were only built when newlib has long double math functions. --- testsuites/psxtests/psxhdrs/math/acoshl.c| 3 +++ testsuites/psxtests/psxhdrs/math/acosl.c | 3 +++ testsuites/psxtests/psxhdrs/math/asinhl.c| 3

[PATCH v1 1/2] cpukit: Fixed 32bit pointers

2021-03-18 Thread Stephen Clark
Using 32bit types like uint32_t for pointers creates issues on 64 bit architectures like AArch64. Replaced occurrences of these with uintptr_t, which will work for both 32 and 64 bit architectures. --- cpukit/libdebugger/rtems-debugger-server.c | 4 ++-- cpukit/libdebugger/rtems-debugger-target.c

Removed 'unicode' keyword from pkgconfig.py

2020-09-25 Thread Stephen Clark
I have attached a patch to remove the use of the 'unicode' keyword from the pkgconfig.py file. This addresses #4094, where this same patch has been attached. I was able to run the sb-set-builder script on the master, so I don't believe this problem exists on that branch. Thanks, Stephen Clark