[PATCH] microblaze: Move interrupt context save to BSP

2023-10-24 Thread Alex White
From: Sam Price The interrupt context save is now done in the BSP. This avoids an issue where a register is modified by the interrupt handler before it is saved. Specifically, the MSR register was modified by the `addi` instruction in the interrupt handler before the MSR was saved. This caused

[PATCH] validation: Add wrapped bsp_interrupt_dispatch for MicroBlaze

2023-10-23 Thread Alex White
This adds a MicroBlaze-specific bsp_interrupt_dispatch wrapper which fixes a linker error. --- testsuites/validation/tc-score-isr.c | 17 + 1 file changed, 17 insertions(+) diff --git a/testsuites/validation/tc-score-isr.c b/testsuites/validation/tc-score-isr.c index

[PATCH rtems-docs] user/exe: Add MicroBlaze to Dynamic Loader architecture list

2023-10-05 Thread Alex White
--- user/exe/loader.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/user/exe/loader.rst b/user/exe/loader.rst index be2e78e..fdc54a8 100644 --- a/user/exe/loader.rst +++ b/user/exe/loader.rst @@ -844,6 +844,7 @@ The following architectures are supported: - Intel x86 (i386) - LM32 -

[PATCH] microblaze: Fix relocation targets

2023-09-11 Thread Alex White
Previously the addend was only used in 64 bit relocations. This behavior was incorrect but did not cause the RTEMS libdl tests to fail. --- cpukit/libdl/rtl-mdreloc-microblaze.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git

[PATCH v2 6/6] microblaze: Add link options to dl07, dl08, and dl09

2023-08-29 Thread Alex White
This adds `-u__extendsfdf2` to the `ldflags` for the dl07, dl08, and dl09 tests to force the inclusion of `__extendsfdf2` in the base image. This function is part of the GCC software floating point library and is used in the tests to convert floats to doubles when calling `printf`. ---

[PATCH v2 5/6] build: Allow enabled-by in ldflags for link_cc and link_cxx

2023-08-29 Thread Alex White
This allows for conditionally setting 'ldflags' in scripts that use `link_cc` and `link_cxx`. The immediate use case is allowing a linker flag to be used only for MicroBlaze builds of certain tests. --- wscript | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git

[PATCH v2 3/6] microblaze: Add dl06 to expected failures

2023-08-29 Thread Alex White
Updates #4948 --- spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml b/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml index

[PATCH v2 4/6] microblaze: Add dl05 to expected failures

2023-08-29 Thread Alex White
Updates #4949 --- .../bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml b/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml index 7ff9350cf4..7ae7005bf0

[PATCH v2 1/6] microblaze: Add libdl support

2023-08-29 Thread Alex White
--- cpukit/libdl/rtl-mdreloc-microblaze.c | 297 ++ cpukit/libdl/rtl-tls.c| 2 +- .../microblaze/include/machine/elf_machdep.h | 83 + spec/build/cpukit/cpumicroblaze.yml | 3 + spec/build/cpukit/objdl.yml | 2

[PATCH v2 0/6] Add libdl support to MicroBlaze

2023-08-29 Thread Alex White
Hi, This patch set adds libdl support to MicroBlaze. All tests pass except for dl05 and dl06. To get dl07, dl08, and dl09 to pass, I added `-u__extendsfdf2` to the link options. v2: - Remove changes to dl07, dl08, and dl09 source code - Add link options to dl07, dl08, and dl09 Alex Alex White

[PATCH v2 2/6] microblaze: Align exception-related sections

2023-08-29 Thread Alex White
This fixes unaligned data access exceptions found while debugging test dl05. --- spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml

Re: [PATCH 2/5] testsuites/libtests: Remove floats from libdl tests

2023-08-28 Thread Alex White
On Mon, Aug 28, 2023 at 10:31 AM Sam Price wrote: > > Nevermind that would be done at the linker and not at compile time. I searched for some way to check if soft float routines are being used, but I couldn't find anything. Maybe we just remove the conditional altogether? I don't think it's a

Re: [PATCH 2/5] testsuites/libtests: Remove floats from libdl tests

2023-08-28 Thread Alex White
On Sun, Aug 27, 2023 at 11:48 PM Chris Johns wrote: > > On 28/8/2023 2:12 pm, Alex White wrote: > > On Sun, Aug 27, 2023 at 8:38 PM Chris Johns wrote: > >> The floats need to stay to make sure there are no issues with this type. I > >> see >

Re: [PATCH 2/5] testsuites/libtests: Remove floats from libdl tests

2023-08-27 Thread Alex White
On Sun, Aug 27, 2023 at 8:38 PM Chris Johns wrote: > The floats need to stay to make sure there are no issues with this type. I see > the tests with floats as valid. > > Is the only missing function `__extendsfdf2`? Yes, that is the only missing function. If I change the floats to doubles, the

[PATCH 2/5] testsuites/libtests: Remove floats from libdl tests

2023-08-27 Thread Alex White
This patch addresses an issue seen with MicroBlaze in the dl07, dl08, and dl09 tests by removing the use of floats. The issue relates to the fact that the MicroBlaze BSPs use software floating point routines. Any float passed to `printf` is converted to a double automatically because of default

[PATCH 5/5] microblaze: Add dl05 to expected failures

2023-08-27 Thread Alex White
Updates #4949 --- .../bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml b/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml index 7ff9350cf4..7ae7005bf0

[PATCH 1/5] microblaze: Add libdl support

2023-08-27 Thread Alex White
--- cpukit/libdl/rtl-mdreloc-microblaze.c | 291 ++ cpukit/libdl/rtl-tls.c| 2 +- .../microblaze/include/machine/elf_machdep.h | 83 + spec/build/cpukit/cpumicroblaze.yml | 3 + spec/build/cpukit/objdl.yml | 2

[PATCH 4/5] microblaze: Add dl06 to expected failures

2023-08-27 Thread Alex White
Updates #4948 --- spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml b/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml index

[PATCH 3/5] microblaze: Align exception-related sections

2023-08-27 Thread Alex White
This fixes unaligned data access exceptions found while debugging test dl05. --- spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml

[PATCH 0/5] Add libdl support to MicroBlaze

2023-08-27 Thread Alex White
Hi, This patch set adds libdl support to MicroBlaze. All tests pass except for dl05 and dl06. To get dl07, dl08, and dl09 to pass, I removed the use of floating point numbers from those tests. Alex Alex White (5): microblaze: Add libdl support testsuites/libtests: Remove floats from libdl

MicroBlaze Dynamic Loader Test Failures

2023-07-31 Thread Alex White
Hi, I am currently working on RTEMS dynamic loader support for MicroBlaze. I got most of the dynamic loader tests working, but for a few of them, I had to modify the test. I believe the failures are because the MicroBlaze RTEMS port uses soft floating point emulation. Tests dl07, dl08, and

Re: [PATCH 4/4] bsps/xqspipsu: Use device information from the FCT

2023-06-07 Thread Alex White
These patches look good to me. Thanks, Alex ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 2/2] bsps/microblaze: Add device tree support to GPIO

2023-05-18 Thread Alex White
--- .../microblaze_fpga/gpio/microblaze-gpio.c| 63 +++ .../include/bsp/microblaze-gpio.h | 18 ++ 2 files changed, 81 insertions(+) diff --git a/bsps/microblaze/microblaze_fpga/gpio/microblaze-gpio.c b/bsps/microblaze/microblaze_fpga/gpio/microblaze-gpio.c

[PATCH 1/2] bsps/microblaze: Remove GPIO build system options

2023-05-18 Thread Alex White
The number of GPIO devices along with each of their particular configurations is application-specific. Encoding this information as build options also introduced a lot of clutter. --- .../microblaze_fpga/gpio/microblaze-gpio.c| 32 --- .../include/bsp/microblaze-gpio.h

[PATCH 0/2] bsps/microblaze: GPIO improvements

2023-05-18 Thread Alex White
Alex White (2): bsps/microblaze: Remove GPIO build system options bsps/microblaze: Add device tree support to GPIO .../microblaze_fpga/gpio/microblaze-gpio.c| 93 --- .../include/bsp/microblaze-gpio.h | 26 -- .../bsps/microblaze/microblaze_fpga/grp.yml | 18

Re: Static analysis

2023-05-15 Thread Alex White
You should be able to use `bear` (https://github.com/rizsotto/Bear). I have it installed via my package manager. After a `./waf clean`, run `bear -- ./waf` to generate compile_commands.json. Then you should be able to run `cppcheck --project=compile_commands.json`. Alex

Re: [rtems-source-builder] devel/qemu-xilinx: Fix source URL

2023-05-10 Thread Alex White
On Mon, May 8, 2023 at 1:28 PM Gedare Bloom wrote: > > I think the https works though? Or does it break? > > I recall there are sometimes issues that users face based on their IT > site policy that prevents git protocol from working properly while > https almost always works (tunnels) right. Hi

[rtems-source-builder] devel/qemu-xilinx: Fix source URL

2023-05-05 Thread Alex White
The source URL for Xilinx QEMU appears to have been incorrect from the start. Since we are cloning a git repository, we should use 'git://'. --- bare/config/devel/qemu-xilinx-v2020.2-1.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH rtems-docs] user/microblaze: Document GPIO driver

2023-04-19 Thread Alex White
--- user/bsps/bsps-microblaze.rst | 19 +++ 1 file changed, 19 insertions(+) diff --git a/user/bsps/bsps-microblaze.rst b/user/bsps/bsps-microblaze.rst index 3ad8179..0f28491 100644 --- a/user/bsps/bsps-microblaze.rst +++ b/user/bsps/bsps-microblaze.rst @@ -80,6 +80,15 @@ from

[PATCH] bsps/microblaze: Add device tree support to GPIO driver

2023-04-19 Thread Alex White
This removes the ability to statically configure a second GPIO device. Instead, any number of GPIO devices can be configured using the device tree. If a device tree is not used, a single GPIO device can still be configured statically. --- .../microblaze_fpga/gpio/microblaze-gpio.c| 188

Re: [PATCH v3 1/3] bsps/microblaze: Allow copying FDT from U-Boot

2023-04-11 Thread Alex White
On Mon, Apr 10, 2023 at 9:25 PM Chris Johns wrote: > > On 10/4/2023 1:47 pm, Alex White wrote: > > .../microblaze_invalidate_dcache_range.S | 104 ++ > > Why not provide the RTEMS cache API and use that? Hi Chris, Good catch. It would be ideal to provide

[PATCH v3 1/3] bsps/microblaze: Allow copying FDT from U-Boot

2023-04-09 Thread Alex White
From: "Maldonado, Sergio E. (GSFC-580.0)" --- bsps/microblaze/microblaze_fpga/include/bsp.h | 3 + .../microblaze_fpga/start/crtinit.S | 6 +- .../microblaze_invalidate_dcache_range.S | 104 ++ .../shared/fdt/microblaze-fdt-support.c | 36 +-

[PATCH v3 2/3] bsps/microblaze: Add support for multiple UARTs

2023-04-09 Thread Alex White
From: "Maldonado, Sergio E. (GSFC-580.0)" --- bsps/microblaze/include/dev/serial/uartlite.h | 2 + .../microblaze_fpga/console/console-io.c | 205 -- bsps/microblaze/shared/dev/serial/uartlite.c | 8 +- .../bsps/microblaze/microblaze_fpga/grp.yml | 10 +

[PATCH v3 0/3] bsps/microblaze: FDT support and UART driver improvements

2023-04-09 Thread Alex White
v3: - Support multiple UARTs only if the BSP is configured to use FDT. This allows for flexibility since the user now just has to specify the maximum number of UARTs, and the UART configurations will be read from the FDT. In the previous version of this patch set, the extra UARTs were all

[PATCH v3 3/3] bsps/microblaze: Fix UART transmit interrupt

2023-04-09 Thread Alex White
From: "Maldonado, Sergio E. (GSFC-580.0)" --- bsps/microblaze/include/dev/serial/uartlite.h | 2 ++ bsps/microblaze/shared/dev/serial/uartlite.c | 22 ++- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/bsps/microblaze/include/dev/serial/uartlite.h

[PATCH 1/2] user/microblaze: Document QSPI NOR JFFS2 driver

2023-04-04 Thread Alex White
--- user/bsps/bsps-microblaze.rst | 10 ++ 1 file changed, 10 insertions(+) diff --git a/user/bsps/bsps-microblaze.rst b/user/bsps/bsps-microblaze.rst index 32aad90..2a8a6dd 100644 --- a/user/bsps/bsps-microblaze.rst +++ b/user/bsps/bsps-microblaze.rst @@ -61,6 +61,16 @@ to include it in

[PATCH 2/2] user/microblaze: Document device tree support

2023-04-04 Thread Alex White
--- user/bsps/bsps-microblaze.rst | 29 - 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/user/bsps/bsps-microblaze.rst b/user/bsps/bsps-microblaze.rst index 2a8a6dd..864b3c8 100644 --- a/user/bsps/bsps-microblaze.rst +++ b/user/bsps/bsps-microblaze.rst

[PATCH v2 1/3] bsps/microblaze: Allow copying FDT from U-Boot

2023-04-04 Thread Alex White
From: "Maldonado, Sergio E. (GSFC-580.0)" --- bsps/microblaze/microblaze_fpga/include/bsp.h | 3 + .../microblaze_fpga/start/crtinit.S | 6 +- .../microblaze_invalidate_dcache_range.S | 104 ++ .../shared/fdt/microblaze-fdt-support.c | 36 +-

[PATCH v2 0/3] bsps/microblaze: FDT support and UART driver improvements

2023-04-04 Thread Alex White
v2: - Allow UART driver to fill the transmit FIFO rather than just sending one byte at a time. Maldonado, Sergio E. (GSFC-580.0) (3): bsps/microblaze: Allow copying FDT from U-Boot bsps/microblaze: Add support for multiple UARTs bsps/microblaze: Fix UART transmit interrupt

[PATCH v2 3/3] bsps/microblaze: Fix UART transmit interrupt

2023-04-04 Thread Alex White
From: "Maldonado, Sergio E. (GSFC-580.0)" --- bsps/microblaze/include/dev/serial/uartlite.h | 2 ++ bsps/microblaze/shared/dev/serial/uartlite.c | 22 ++- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/bsps/microblaze/include/dev/serial/uartlite.h

[PATCH v2 2/3] bsps/microblaze: Add support for multiple UARTs

2023-04-04 Thread Alex White
From: "Maldonado, Sergio E. (GSFC-580.0)" --- bsps/microblaze/include/dev/serial/uartlite.h | 2 + .../microblaze_fpga/console/console-io.c | 229 -- bsps/microblaze/shared/dev/serial/uartlite.c | 8 +- .../bsps/microblaze/microblaze_fpga/grp.yml | 32 +++

Re: [PATCH 2/3] bsps/microblaze: Add support for multiple UARTs

2023-03-30 Thread Alex White
On Thu, Mar 30, 2023 at 5:54 PM Chris Johns wrote: > > On 31/3/2023 2:55 am, Alex White wrote: > > On Wed, Mar 29, 2023 at 11:04 PM Chris Johns wrote: > >> > >> On 30/3/2023 12:26 pm, Sam Price wrote: > >>> Same IP as the regular KCU105. > >

Re: [PATCH 2/3] bsps/microblaze: Add support for multiple UARTs

2023-03-30 Thread Alex White
On Wed, Mar 29, 2023 at 11:04 PM Chris Johns wrote: > > On 30/3/2023 12:26 pm, Sam Price wrote: > > Same IP as the regular KCU105. > > The current uart ip is dependent on the fpga. > > I don't believe this modifies the kcu105 bsp, but allows other bsps to > > support up to 4 uarts. > > I am not

[PATCH 2/3] bsps/microblaze: Add support for multiple UARTs

2023-03-29 Thread Alex White
From: "Maldonado, Sergio E. (GSFC-580.0)" --- bsps/microblaze/include/dev/serial/uartlite.h | 2 + .../microblaze_fpga/console/console-io.c | 229 -- bsps/microblaze/shared/dev/serial/uartlite.c | 8 +- .../bsps/microblaze/microblaze_fpga/grp.yml | 32 +++

[PATCH 3/3] bsps/microblaze: Fix UART transmit interrupt

2023-03-29 Thread Alex White
From: "Maldonado, Sergio E. (GSFC-580.0)" --- bsps/microblaze/include/dev/serial/uartlite.h | 2 +- bsps/microblaze/shared/dev/serial/uartlite.c | 10 +++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/bsps/microblaze/include/dev/serial/uartlite.h

[PATCH 1/3] bsps/microblaze: Allow copying FDT from U-Boot

2023-03-29 Thread Alex White
From: "Maldonado, Sergio E. (GSFC-580.0)" --- bsps/microblaze/microblaze_fpga/include/bsp.h | 3 + .../microblaze_fpga/start/crtinit.S | 6 +- .../microblaze_invalidate_dcache_range.S | 104 ++ .../shared/fdt/microblaze-fdt-support.c | 36 +-

[PATCH rtems-source-builder] 6: Update MicroBlaze gdb to 12.1

2023-03-08 Thread Alex White
GDB 11.2 fails to compile on Ubuntu 22.04 for MicroBlaze. --- rtems/config/6/rtems-microblaze.bset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtems/config/6/rtems-microblaze.bset b/rtems/config/6/rtems-microblaze.bset index ea59313..e05fd7b 100644 ---

[PATCH] bsps/microblaze: Add AXI GPIO driver

2023-02-14 Thread Alex White
--- .../microblaze_fpga/gpio/microblaze-gpio.c| 261 ++ .../include/bsp/microblaze-gpio.h | 321 ++ .../bsps/microblaze/microblaze_fpga/grp.yml | 18 + .../bsps/microblaze/microblaze_fpga/obj.yml | 2 + .../microblaze_fpga/optgpio1baseaddress.yml

[PATCH 3/3] bsps/xilinx-zynqmp: Add JFFS2 GQSPI NOR driver

2023-01-23 Thread Alex White
--- bsps/aarch64/xilinx-zynqmp/include/bsp/irq.h | 1 + .../include/bsp/jffs2_xqspipsu.h | 62 ++ bsps/aarch64/xilinx-zynqmp/jffs2_xqspipsu.c | 186 ++ spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml | 2 + .../aarch64/xilinx-zynqmp/objjffs2qspinor.yml | 22

[PATCH 2/3] bsps: Add Xilinx GQSPI flash helper

2023-01-23 Thread Alex White
This adds helper functions for working with NOR flash connected to the Xilinx GQSPI controller. The helper functions are based on Xilinx's QSPIPSU flash interrupt example. --- bsps/include/dev/spi/xqspipsu-flash-helper.h | 81 + bsps/shared/dev/spi/xqspipsu-flash-helper.c | 2005

[PATCH 0/3] bsps/xilinx-zynqmp: Add JFFS2 GQSPI NOR driver

2023-01-23 Thread Alex White
This patchset adds a JFFS2 driver for NOR flash using the Xilinx GQSPI controller. It includes an imported XQspipsu driver from Xilinx, a series of helper functions to interface with NOR flash, and a JFFS2 driver that uses the helper functions. Alex White (3): bsps: Import Xilinx GQSPI driver

[PATCH 3/5] bsps/microblaze: Add device tree support to AXI interrupt controller

2023-01-12 Thread Alex White
From: Ryan Long --- .../microblaze_fpga/include/bsp/intc.h| 2 -- bsps/microblaze/microblaze_fpga/irq/irq.c | 36 ++- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/bsps/microblaze/microblaze_fpga/include/bsp/intc.h

[PATCH 5/5] bsps/microblaze: Add device tree support to UART Lite

2023-01-12 Thread Alex White
From: Ryan Long --- .../microblaze_fpga/console/console-io.c | 19 ++-- .../microblaze_fpga/console/debug-io.c| 29 +++ bsps/microblaze/shared/dev/serial/uartlite.c | 9 +- 3 files changed, 49 insertions(+), 8 deletions(-) diff --git

[PATCH 4/5] bsps/microblaze: Add device tree support to JFFS2 QSPI

2023-01-12 Thread Alex White
From: Ryan Long --- bsps/microblaze/microblaze_fpga/fs/jffs2_qspi.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/bsps/microblaze/microblaze_fpga/fs/jffs2_qspi.c b/bsps/microblaze/microblaze_fpga/fs/jffs2_qspi.c index 39328b6b7c..49859a03f1 100644 ---

[PATCH 1/5] bsps/microblaze: Add device tree getter

2023-01-12 Thread Alex White
This allows drivers to read configuration data from the device tree if the BSP is built with device tree support. --- .../include/bsp/microblaze-fdt-support.h | 65 + bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c | 23 -- bsps/microblaze/microblaze_fpga/include/bsp.h | 3

[PATCH 0/5] bsps/microblaze: Add device tree support

2023-01-12 Thread Alex White
will use the device tree to configure the drivers. Alex White (2): bsps/microblaze: Add device tree getter bsps/microblaze: Add device tree support to timer Ryan Long (3): bsps/microblaze: Add device tree support to AXI interrupt controller bsps/microblaze: Add device tree support to JFFS2

[PATCH 2/5] bsps/microblaze: Add device tree support to timer

2023-01-12 Thread Alex White
--- bsps/microblaze/microblaze_fpga/clock/clock.c | 50 --- .../microblaze_fpga/include/bsp/timer.h | 2 - 2 files changed, 32 insertions(+), 20 deletions(-) diff --git a/bsps/microblaze/microblaze_fpga/clock/clock.c b/bsps/microblaze/microblaze_fpga/clock/clock.c index

[PATCH] bsps/microblaze: Fix console interrupt build errors

2022-10-24 Thread Alex White
This fixes build errors seen when building with console interrupts enabled. A few places were missing bspopts.h includes, and one of the UART functions was not defined. --- bsps/microblaze/include/dev/serial/uartlite.h | 1 + .../microblaze/include/dev/serial/uartlite_l.h | 18

[PATCH] bsps/microblaze: Fix build option definition order

2022-07-07 Thread Alex White
The build option definitions were rearranged such that the option definitions used in the linker script were not available. This caused linker errors when building. --- spec/build/bsps/microblaze/microblaze_fpga/bspkcu105.yml | 2 --

Re: linkcmds.yml problems

2022-07-07 Thread Alex White
On Thu, Jul 7, 2022 at 10:31 AM Sam Price wrote: > Is it possible i have a bad python instance ? I was able to reproduce the linker problem using the latest RTEMS upstream code. It looks like it was broken by commit a0aaa394b68727d204904b59514cb0f90840ba6f from 6 days ago. I will submit a

Runtime Loader Exported Symbols Address Size

2022-06-17 Thread Alex White
Hi, While testing libdl on AArch64 QEMU, we found a bug where the exported symbol table appears to always use 32-bit values for addresses, but where the exported symbols table is read in `rtems_rtl_symbol_global_add`, the addresses are expected to be of size `sizeof(unsigned long)`. This did

[PATCH rtems-docs] microblaze: Document BSPs and update CPU supplement

2022-03-18 Thread Alex White
--- cpu-supplement/xilinx_microblaze.rst | 52 +- user/bsps/bsps-microblaze.rst| 149 ++- 2 files changed, 197 insertions(+), 4 deletions(-) diff --git a/cpu-supplement/xilinx_microblaze.rst b/cpu-supplement/xilinx_microblaze.rst index 2a92b61..350aeff

Re: [PATCH] microblaze: Add AXI GPIO driver

2022-03-16 Thread Alex White
On Wed, Mar 16, 2022 at 10:27 AM Gedare Bloom wrote: > > On Tue, Mar 15, 2022 at 2:28 PM Alex White wrote: > > > > --- > >  bsps/include/dev/gpio/xilinx-axi-gpio.h       | 311 ++ > >  bsps/shared/dev/gpio/xilinx-axi-gpio.c        | 221 +

[PATCH] microblaze: Add AXI GPIO driver

2022-03-15 Thread Alex White
--- bsps/include/dev/gpio/xilinx-axi-gpio.h | 311 ++ bsps/shared/dev/gpio/xilinx-axi-gpio.c| 221 + .../bsps/microblaze/microblaze_fpga/obj.yml | 2 + 3 files changed, 534 insertions(+) create mode 100644 bsps/include/dev/gpio/xilinx-axi-gpio.h

[PATCH rtems-libbsd] if_xae: Fix non-FDT BSP build error

2022-03-09 Thread Alex White
This fixes a compiler error that would occur for every BSP that does not define `BSP_FDT_IS_SUPPORTED`. The fdt headers should always be included to provide the needed definitions. --- freebsd/sys/dev/xilinx/axidma.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH] microblaze: Add JFFS2 AXI QSPI driver

2022-03-08 Thread Alex White
ping On Wed, Mar 2, 2022 at 8:30 PM Alex White wrote: > > This driver has been tested with Micron NOR Flash via AXI Quad SPI. > --- >  .../microblaze_fpga/fs/jffs2_qspi.c           | 319 ++ >  .../microblaze_fpga/include/bsp/jffs2_qspi.h  |  56 +++ >  .

[PATCH] microblaze: Add JFFS2 AXI QSPI driver

2022-03-02 Thread Alex White
This driver has been tested with Micron NOR Flash via AXI Quad SPI. --- .../microblaze_fpga/fs/jffs2_qspi.c | 319 ++ .../microblaze_fpga/include/bsp/jffs2_qspi.h | 56 +++ .../bsps/microblaze/microblaze_fpga/grp.yml | 6 +

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

2022-02-23 Thread Alex White
On Mon, Feb 14, 2022 at 7:40 AM Sebastian Huber wrote: > > On 10/02/2022 23:12, Alex White wrote: > > v2: > > - Reworked patches to follow CONTRIBUTING.md guide > > - Excluded unneeded vmem calls > > - Moved ethernet frame alignment handling to the network interface

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

2022-02-10 Thread Alex White
FPGA implementation from the Xilinx's KCU105 PetaLinux BSP. Alex White (1): if_xae: Port to RTEMS Jennifer Averett (2): Add MicroBlaze support if_xae: Import from FreeBSD buildset/default.ini |1 + freebsd/sys/dev/mii/tiphy.h | 57 + freebsd

[PATCH rtems-libbsd v2 1/3] Add MicroBlaze support

2022-02-10 Thread Alex White
From: Jennifer Averett --- .../sys/microblaze/include/machine/in_cksum.h | 83 +++ libbsd.py | 6 +- 2 files changed, 86 insertions(+), 3 deletions(-) create mode 100644 freebsd/sys/microblaze/include/machine/in_cksum.h diff --git

[PATCH rtems-libbsd v2 2/3] if_xae: Import from FreeBSD

2022-02-10 Thread Alex White
From: Jennifer Averett --- freebsd/sys/dev/mii/tiphy.h| 57 ++ freebsd/sys/dev/xdma/xdma.c| 498 + freebsd/sys/dev/xdma/xdma.h| 274 +++ freebsd/sys/dev/xdma/xdma_bank.c | 100 +++ freebsd/sys/dev/xdma/xdma_mbuf.c | 151

[PATCH rtems-libbsd v2 3/3] if_xae: Port to RTEMS

2022-02-10 Thread Alex White
--- buildset/default.ini | 1 + freebsd/sys/dev/xdma/xdma.c | 3 + freebsd/sys/dev/xdma/xdma.h | 11 ++ freebsd/sys/dev/xdma/xdma_sg.c| 13 ++ freebsd/sys/dev/xilinx/axidma.c | 27

[PATCH RSB] microblaze: Add GCC patch to define __ELF__

2022-02-03 Thread Alex White
This fixes compilation errors in rtems-libbsd. --- rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg b/rtems/config/tools/rtems-xilinx-gcc-10-newlib-head.cfg index a83fe46..5366457

[PATCH] microblaze: Change fdt code license to BSD 2-Clause

2022-02-02 Thread Alex White
--- bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c | 28 +++ 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c b/bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c index 2b766ece0c..4725af40e0 100644 ---

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: [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-ke

[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

[PATCH v2 1/2] microblaze: Add support for libbsd.

2022-01-06 Thread Alex White
From: Jennifer Averett --- .../microblaze_fpga/dts/microblaze-dtb.c | 962 ++ .../microblaze/microblaze_fpga/dts/system.dts | 452 bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c | 21 + bsps/microblaze/microblaze_fpga/include/bsp.h | 4 +

[PATCH v2 2/2] microblaze: Add support for libbsd networking

2022-01-06 Thread Alex White
This includes fixes and improvements necessary to get libbsd networking running. --- .../microblaze/microblaze_fpga/dts/system.dts | 4 +-- bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c | 3 ++ bsps/microblaze/microblaze_fpga/include/bsp.h | 5 .../bsp/microblaze-dtb.h}

[PATCH v2 0/2] microblaze: libbsd support

2022-01-06 Thread Alex White
debugging the rtems-libbsd telnetd01 test in QEMU and on the Xilinx KCU105 board. Alex White (1): microblaze: Add support for libbsd networking Jennifer Averett (1): microblaze: Add support for libbsd. .../microblaze/microblaze_fpga/dts/system.dts | 452 bsps/microblaze/microblaz

[PATCH 2/2] microblaze: Add support for libbsd networking

2022-01-04 Thread Alex White
This includes fixes and improvements necessary to get libbsd networking running. --- .../microblaze_fpga/dts/microblaze-dtb.c | 7 +++-- .../microblaze/microblaze_fpga/dts/system.dts | 4 +-- bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c | 1 +

[PATCH 1/2] microblaze: Add support for libbsd.

2022-01-04 Thread Alex White
From: Jennifer Averett --- .../microblaze_fpga/dts/microblaze-dtb.c | 962 ++ .../microblaze/microblaze_fpga/dts/system.dts | 452 bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c | 21 + bsps/microblaze/microblaze_fpga/include/bsp.h | 4 +

[PATCH 0/2] microblaze: libbsd support

2022-01-04 Thread Alex White
This patch set adds support for libbsd to the MicroBlaze BSPs and contains fixes for issues found while debugging the rtems-libbsd telnetd01 test in QEMU and on the Xilinx KCU105 board. Alex White (1): microblaze: Add support for libbsd networking Jennifer Averett (1): microblaze: Add

[PATCH RSB 5] sb: Merge mailer changes from rtems-tools

2021-12-15 Thread Alex White
This adds the improved mailer.py script from rtems-tools. Closes #4554 --- source-builder/sb/mailer.py | 194 +--- source-builder/sb/options.py| 26 +- source-builder/sb/setbuilder.py | 2 + 3 files changed, 189 insertions(+), 33 deletions(-)

[PATCH rtems-tools 5 5/5] rtems-bsp-builder: Fix mail support

2021-12-15 Thread Alex White
This fixes a problem with mailer options support that occurred because check.py uses argparse.ArgumentParser instead of tester.rt.options. Closes #4553 --- rtemstoolkit/mailer.py | 5 +++-- tester/rt/check.py | 17 - 2 files changed, 19 insertions(+), 3 deletions(-) diff

[PATCH rtems-tools 5 4/5] rtemstoolkit/mailer.py: Add --use-gitconfig option

2021-12-15 Thread Alex White
This adds the option to pull mail-related configuration values from the user's git configuration. Updates #4553 --- rtemstoolkit/mailer.py | 46 -- 1 file changed, 44 insertions(+), 2 deletions(-) diff --git a/rtemstoolkit/mailer.py

[PATCH rtems-tools 5 0/5] Port mailer.py fixes to rtems-tools 5 branch

2021-12-15 Thread Alex White
Hi, This patch set adds the changes related to report mailing to rtems-tools 5. See #4553 Thanks, Alex White Alex White (5): rtemstoolkit/mailer.py: Return full smtp-host arg value rtemstoolkit: Filter mail options from log output rtemstoolkit/mailer.py: Add SMTP login options

[PATCH rtems-tools 5 3/5] rtemstoolkit/mailer.py: Add SMTP login options

2021-12-15 Thread Alex White
This adds more options so that the user can authenticate with the SMTP server. Updates #4553 --- rtemstoolkit/mailer.py | 41 +++-- 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/rtemstoolkit/mailer.py b/rtemstoolkit/mailer.py index

[PATCH rtems-tools 5 2/5] rtemstoolkit: Filter mail options from log output

2021-12-15 Thread Alex White
This filters mail-related options out before logging the command line options. This is needed to prevent leaking potentially sensitive information via logs and emails. Updates #4553 --- rtemstoolkit/options.py | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git

[PATCH rtems-tools 5 1/5] rtemstoolkit/mailer.py: Return full smtp-host arg value

2021-12-15 Thread Alex White
This fixes mail.smtp_host() so that it returns the full argument value rather than just the second character. Updates #4553 --- rtemstoolkit/mailer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtemstoolkit/mailer.py b/rtemstoolkit/mailer.py index f8f813c..3ea9d98 100644

[PATCH rtems-tools] rtems-bsp-builder: Fix mail support

2021-10-28 Thread Alex White
This fixes a problem with mailer options support that occurred because check.py uses argparse.ArgumentParser instead of tester.rt.options. --- rtemstoolkit/mailer.py | 2 +- tester/rt/check.py | 17 - 2 files changed, 17 insertions(+), 2 deletions(-) diff --git

[PATCH RSB] Update to dtc 1.6.1

2021-10-28 Thread Alex White
This bumps the dtc version from 1.6.0 to 1.6.1. Building 1.6.0 on FreeBSD 13 was unsuccessful, but 1.6.1 appears to build fine. --- bare/config/devel/dtc-1.6.1-1.cfg | 18 ++ bare/config/devel/dtc.bset | 2 +- bare/config/devel/qemu-couverture.bset | 2 +-

[PATCH RSB] microblaze: Fix FreeBSD 13 build

2021-10-27 Thread Alex White
This bumps the dtc version included in the MicroBlaze toolchain from 1.6.0 to 1.6.1. Building 1.6.0 on FreeBSD 13 was unsuccessful, but 1.6.1 appears to build fine. --- bare/config/devel/dtc-1.6.1-1.cfg| 18 ++ rtems/config/6/rtems-microblaze.bset | 2 +- 2 files changed, 19

[PATCH] bsps/microblaze: Fix uart interrupt conditional code

2021-10-24 Thread Alex White
This includes bspopts.h so that the #define is not lost. This also adds a macro that was missing when console interrupts were enabled. --- bsps/microblaze/include/dev/serial/uartlite.h | 1 + .../include/dev/serial/uartlite_l.h | 20 +++ 2 files changed, 21

[PATCH RSB] rtems-tools-6.cfg: Bump hash to include MicroBlaze

2021-10-18 Thread Alex White
Hash: 323007a6b520140a20b2e268c90b78ff67afaf45 --- 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 cfb..4158753 100644 ---

Re:

2021-10-18 Thread Alex White
Hi, Ignore this. It looks like my ".patch" file was malformed somehow. I will see if I can fix it and resend. Alex From: devel on behalf of Alex White Sent: Monday, October 18, 2021 10:01 AM To: devel@rtems.org Subje

[no subject]

2021-10-18 Thread Alex White
>From c47d01739f2abf79a1423ea3cdcc7e98c621b222 Mon Sep 17 00:00:00 2001 From: Alex White Date: Thu, 14 Oct 2021 01:44:08 -0500 Subject: [PATCH RSB] rtems-tools-6.cfg: Bump hash to include MicroBlaze Hash: 323007a6b520140a20b2e268c90b78ff67afaf45 --- rtems/config/tools/rtems-tools-6.cfg

[PATCH v2 2/3] bsps: Add MicroBlaze FPGA BSP

2021-10-05 Thread Alex White
From: Hesham ALMatary --- .../microblaze_fpga/console/console-io.c | 74 + .../microblaze/microblaze_fpga/include/bsp.h | 48 ++ .../microblaze/microblaze_fpga/include/tm27.h | 48 ++ .../microblaze/microblaze_fpga/start/start.S | 109 +

  1   2   3   >