Re: Xilinx header files installed by BSP

2024-03-27 Thread Chris Johns
On 27/3/2024 7:14 am, Kinsey Moore wrote: > On Mon, Mar 25, 2024 at 3:34 PM Bernd Moessner > wrote: > > > On 25.03.2024 13:26, Sebastian Huber wrote: > > Hello, > > > > the BSPs for the Xilinx Zynq/ZynqMP/Versal platforms use code from > >

Re: [PATCH v2 2/3] dev/serial: Add ZYNQ_UART_[01]_BASE_ADDR

2024-03-27 Thread Chris Johns
On 28/3/2024 6:43 am, Sebastian Huber wrote: > This helps to provide a shared implementation of the kernel I/O support. > --- > bsps/aarch64/xilinx-zynqmp/console/console.c | 4 +- > bsps/aarch64/xilinx-zynqmp/include/bsp.h | 2 + > bsps/arm/xilinx-zynq/console/console-config.c | 5 +- >

[PATCH] Added screenshot of output

2024-03-27 Thread the-m3chanic
--- hello.c | 2 +- output_screenshot.png | Bin 0 -> 111964 bytes 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100755 output_screenshot.png diff --git a/hello.c b/hello.c index 72d1dd4..1d6fa3e 100644 --- a/hello.c +++ b/hello.c @@ -9,6 +9,6 @@ rtems_task Init(

GSOC x86_64 BSP Proposal

2024-03-27 Thread Matheus Pecoraro
Hey, Here is the first draft of my proposal, I appreciate the feedback. https://docs.google.com/document/d/1Q9F-BwuLKz66-83UBcraiPQzoZ_hEbMoWDNWGvbJM4o/edit?usp=sharing ___ devel mailing list devel@rtems.org

[PATCH v2 3/3] dev/serial: Add Zynq UART kernel I/O support

2024-03-27 Thread Sebastian Huber
Replace the BSP_CONSOLE_MINOR BSP option for the Xilinx Zynq BSPs with the new BSP option ZYNQ_UART_KERNEL_IO_BASE_ADDR. Move the kernel I/O support to a shared file. --- bsps/aarch64/xilinx-zynqmp/console/console.c | 41 ++ bsps/arm/xilinx-zynq/console/console-config.c | 50

[PATCH v2 2/3] dev/serial: Add ZYNQ_UART_[01]_BASE_ADDR

2024-03-27 Thread Sebastian Huber
This helps to provide a shared implementation of the kernel I/O support. --- bsps/aarch64/xilinx-zynqmp/console/console.c | 4 +- bsps/aarch64/xilinx-zynqmp/include/bsp.h | 2 + bsps/arm/xilinx-zynq/console/console-config.c | 5 +- bsps/arm/xilinx-zynq/include/bsp.h| 1 +

[PATCH v2 1/3] dev/serial: Simplify some Zynq UART functions

2024-03-27 Thread Sebastian Huber
Make the initialization and polled functions independent of the Termios context. This helps to implement the kernel I/O support without a dependency on the Termios framework. --- bsps/aarch64/xilinx-zynqmp/console/console.c | 23 --- bsps/arm/xilinx-zynq/console/debug-console.c |

Re: [PATCH] bsps/xilinx-zynqmp-rpu: Avoid constant UART reinit

2024-03-27 Thread Sebastian Huber
On 27.03.24 18:34, Kinsey Moore wrote: Constant reinitializations for BSP_output_char causes loss of output data on QEMU. This change only initializes the UART once. This is also fixed by my recent UART patch set. I would prefer to clean up this copy and paste nightmare. -- embedded brains

[PATCH] bsps/xilinx-zynqmp-rpu: Avoid constant UART reinit

2024-03-27 Thread Kinsey Moore
Constant reinitializations for BSP_output_char causes loss of output data on QEMU. This change only initializes the UART once. --- bsps/arm/xilinx-zynqmp-rpu/console/console-config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bsps/arm/xilinx-zynqmp-rpu/console/console-config.c

PowerPC e7400 executable is type powerpc:e500 making debug difficult

2024-03-27 Thread Peter Dufault
The PowerPC e7400 executables I built for the PowerPC-Beatnik BSP have an architecture of "powerpc:e500". I assume it is like this for any powerpc target that includes "ppc_exc_initialize.c". This causes "GDB" to use the wrong size register set in remote debugging, and I couldn't figure out

Re: Xilinx header files installed by BSP

2024-03-27 Thread Kinsey Moore
On Mon, Mar 25, 2024 at 3:34 PM Bernd Moessner wrote: > > On 25.03.2024 13:26, Sebastian Huber wrote: > > Hello, > > > > the BSPs for the Xilinx Zynq/ZynqMP/Versal platforms use code from > > Xilinx. They also install some header files from Xilinx in the > > top-level include directory of the

Re: [PATCH rtems6] Fix: type-cast to wrong type

2024-03-27 Thread Sebastian Huber
On 25.03.24 21:44, berndmoessne...@gmail.com wrote: From: Bernd Moessner --- bsps/include/bsp/irq-generic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsps/include/bsp/irq-generic.h b/bsps/include/bsp/irq-generic.h index 5ed9cac688..31f345486f 100644 ---

Re: Xilinx header files installed by BSP

2024-03-27 Thread Sebastian Huber
On 25.03.24 21:36, Bernd Moessner wrote: On 25.03.2024 13:26, Sebastian Huber wrote: Hello, the BSPs for the Xilinx Zynq/ZynqMP/Versal platforms use code from Xilinx. They also install some header files from Xilinx in the top-level include directory of the BSP, for example: sleep.h 

[PATCH v2] RTEMS: Add multilib configuration for aarch64

2024-03-27 Thread Sebastian Huber
Add a multilib with workarounds for Cortex-A53 errata. gcc/ChangeLog: * config.gcc (aarch64-*-rtems*): Add target makefile fragment t-aarch64-rtems. * config/aarch64/t-aarch64-rtems: New file. --- gcc/config.gcc | 1 +

[PATCH rtems-docs] user/zynqmp-rpu: Add load and debug information

2024-03-27 Thread Kinsey Moore
This adds some information about loading the RPU TCMs from A53 u-boot and additional information about debugging the RPU within QEMU since it is non-standard. --- user/bsps/arm/xilinx-zynqmp-rpu.rst | 35 ++--- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git