Re: Xilinx Zynq console rx not working

2021-08-16 Thread Chris Johns
On 17/8/21 8:59 am, Chris Johns wrote: > On 16/8/21 11:03 pm, Kinsey Moore wrote: >> On 8/16/2021 04:45, Chris Johns wrote: >>> On 16/8/21 6:38 pm, Chris Johns wrote: I have taken a closer look at the driver. I am receiving RX interrupts and the characters are being queued however

Re: Xilinx Zynq console rx not working

2021-08-16 Thread Chris Johns
On 16/8/21 11:03 pm, Kinsey Moore wrote: > On 8/16/2021 04:45, Chris Johns wrote: >> On 16/8/21 6:38 pm, Chris Johns wrote: >>> I have taken a closer look at the driver. I am receiving RX interrupts and >>> the >>> characters are being queued however the receive FIFO trigger interrupt is >>>

Re: RTEMS Tools on 5 release can't be build with modern LLVM

2021-08-16 Thread Chris Johns
Looks good and thank you for sorting this out. Chris On 17/8/21 1:17 am, Christian MAUDERER wrote: > Am 16.08.21 um 17:12 schrieb Joel Sherrill: >> On Mon, Aug 16, 2021 at 10:08 AM Christian MAUDERER >> wrote: >>> >>> Hello Joel, >>> >>> Am 16.08.21 um 17:03 schrieb Joel Sherrill: On Mon,

[PATCH rtems-tools 1/2] rt: Add diff method to git.py

2021-08-16 Thread Ida Delphine
Signed-off-by: Ida Delphine --- rtemstoolkit/git.py | 5 + 1 file changed, 5 insertions(+) diff --git a/rtemstoolkit/git.py b/rtemstoolkit/git.py index f65300b..b544a9b 100644 --- a/rtemstoolkit/git.py +++ b/rtemstoolkit/git.py @@ -119,6 +119,10 @@ class repo: args = [args]

[PATCH rtems-tools 2/2] misc: Add rtems-style command

2021-08-16 Thread Ida Delphine
Signed-off-by: Ida Delphine This command helps to check for style issues or reformat code given a file or directory. There are 4 flags: * -c, --check : Checks for style issues * -r, --reformat : Reformats the code * -p, --path : Path to file or dir to be checked or reformatted * -i, --ignore :

Re: RTEMS Tools on 5 release can't be build with modern LLVM

2021-08-16 Thread Christian MAUDERER
Am 16.08.21 um 17:12 schrieb Joel Sherrill: On Mon, Aug 16, 2021 at 10:08 AM Christian MAUDERER wrote: Hello Joel, Am 16.08.21 um 17:03 schrieb Joel Sherrill: On Mon, Aug 16, 2021 at 9:49 AM Christian MAUDERER wrote: Hello, I noted that I can't build the RTEMS 5 toolchain if I have a

Re: RTEMS Tools on 5 release can't be build with modern LLVM

2021-08-16 Thread Joel Sherrill
On Mon, Aug 16, 2021 at 10:08 AM Christian MAUDERER wrote: > > Hello Joel, > > Am 16.08.21 um 17:03 schrieb Joel Sherrill: > > On Mon, Aug 16, 2021 at 9:49 AM Christian MAUDERER > > wrote: > >> > >> Hello, > >> > >> I noted that I can't build the RTEMS 5 toolchain if I have a modern LLVM > >>

Re: RTEMS Tools on 5 release can't be build with modern LLVM

2021-08-16 Thread Christian MAUDERER
Hello Joel, Am 16.08.21 um 17:03 schrieb Joel Sherrill: On Mon, Aug 16, 2021 at 9:49 AM Christian MAUDERER wrote: Hello, I noted that I can't build the RTEMS 5 toolchain if I have a modern LLVM installed using the RTEMS source builder. Therefore I would like to backport the patch

Re: RTEMS Tools on 5 release can't be build with modern LLVM

2021-08-16 Thread Joel Sherrill
On Mon, Aug 16, 2021 at 9:49 AM Christian MAUDERER wrote: > > Hello, > > I noted that I can't build the RTEMS 5 toolchain if I have a modern LLVM > installed using the RTEMS source builder. Therefore I would like to > backport the patch 37ad446d9dce3 ([1]) to the 5 branch. Is that OK? If >

RTEMS Tools on 5 release can't be build with modern LLVM

2021-08-16 Thread Christian MAUDERER
Hello, I noted that I can't build the RTEMS 5 toolchain if I have a modern LLVM installed using the RTEMS source builder. Therefore I would like to backport the patch 37ad446d9dce3 ([1]) to the 5 branch. Is that OK? If someone acknowledges it, I would do the following steps without further

Re: Xilinx Zynq console rx not working

2021-08-16 Thread mbenson
Ah. Yes. I did not test input. Thanks for the heads up. Sent from my iPhone > On Aug 16, 2021, at 09:04, Kinsey Moore wrote: > > On 8/16/2021 08:40, mben...@windhoverlabs.com wrote: >> I just built and ran the zc702 build on Qemu yesterday with no problems. I >> ran the hello.exe sample.

Re: Xilinx Zynq console rx not working

2021-08-16 Thread Kinsey Moore
On 8/16/2021 08:40, mben...@windhoverlabs.com wrote: I just built and ran the zc702 build on Qemu yesterday with no problems. I ran the hello.exe sample. But, I launched it using Vitis 2020.2 so maybe it was a qemu difference? Master branch. RTEMS 6. Sent from my iPhone Output seems to

Re: Xilinx Zynq console rx not working

2021-08-16 Thread mbenson
I just built and ran the zc702 build on Qemu yesterday with no problems. I ran the hello.exe sample. But, I launched it using Vitis 2020.2 so maybe it was a qemu difference? Master branch. RTEMS 6. Sent from my iPhone > On Aug 16, 2021, at 08:03, Kinsey Moore wrote: > > On 8/16/2021

Re: Xilinx Zynq console rx not working

2021-08-16 Thread Kinsey Moore
On 8/16/2021 04:45, Chris Johns wrote: On 16/8/21 6:38 pm, Chris Johns wrote: I have taken a closer look at the driver. I am receiving RX interrupts and the characters are being queued however the receive FIFO trigger interrupt is only raised when the FIFO reaches the set threshold of half the

[PATCH 3/5] score: Simplify _Thread_Kill_zombies()

2021-08-16 Thread Sebastian Huber
--- cpukit/score/src/threadrestart.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index 4b1907a2d9..5b1d6ae5f1 100644 --- a/cpukit/score/src/threadrestart.c +++

[PATCH 1/5] score: Simplify _Thread_Create_idle_for_CPU()

2021-08-16 Thread Sebastian Huber
Online processors have a scheduler assigned. --- cpukit/score/src/threadcreateidle.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cpukit/score/src/threadcreateidle.c b/cpukit/score/src/threadcreateidle.c index 395dcc9c12..f5ffc9bad8 100644 ---

[PATCH 2/5] score: Simplify _Per_CPU_Wait_for_job()

2021-08-16 Thread Sebastian Huber
The _SMP_Fatal() is a no-return function, so the "break" statement is superfluous. --- cpukit/score/src/percpujobs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cpukit/score/src/percpujobs.c b/cpukit/score/src/percpujobs.c index f273f7d17d..3de3e4a7bd 100644 ---

[PATCH 4/5] score: Make zombie registry observable

2021-08-16 Thread Sebastian Huber
This helps to write tests for _Thread_Wait_for_execution_stop(). Rename Thread_Zombie_control in Thread_Zombie_registry. --- cpukit/include/rtems/score/threadimpl.h | 27 +++ cpukit/score/src/threadrestart.c| 29 +++-- 2 files changed, 40

[PATCH 5/5] score: Delete unused rtems_ada_self

2021-08-16 Thread Sebastian Huber
--- cpukit/include/rtems/score/threadimpl.h | 5 - 1 file changed, 5 deletions(-) diff --git a/cpukit/include/rtems/score/threadimpl.h b/cpukit/include/rtems/score/threadimpl.h index 45c0795d9c..f25e347e33 100644 --- a/cpukit/include/rtems/score/threadimpl.h +++

[PATCH rtems-docs] bsps/raspberrypi: Change firmware version, add SPI & I2C support

2021-08-16 Thread pranav
--- user/bsps/arm/raspberrypi.rst | 51 ++- 1 file changed, 45 insertions(+), 6 deletions(-) diff --git a/user/bsps/arm/raspberrypi.rst b/user/bsps/arm/raspberrypi.rst index c26f4b5..11dcc30 100644 --- a/user/bsps/arm/raspberrypi.rst +++

Re: Xilinx Zynq console rx not working

2021-08-16 Thread Chris Johns
On 16/8/21 6:38 pm, Chris Johns wrote: > On 14/8/21 12:40 am, Kinsey Moore wrote: >> On 8/13/2021 03:05, Chris Johns wrote: >>> Hi, >>> >>> I am bring up a major app on RTEMS 6 and LibBSD on custom Zynq hardware and >>> I am >>> not getting any receive interrupts from the console UART. The same

Re: Xilinx Zynq console rx not working

2021-08-16 Thread Chris Johns
On 14/8/21 12:40 am, Kinsey Moore wrote: > On 8/13/2021 03:05, Chris Johns wrote: >> Hi, >> >> I am bring up a major app on RTEMS 6 and LibBSD on custom Zynq hardware and >> I am >> not getting any receive interrupts from the console UART. The same hardware >> works with RTEMS 4.11 and RTEMS 5.