[RTEMS][PATCH v2 0/2] riscv: add freedom E310 Arty A7

2019-09-09 Thread Pragnesh Patel
This series added a support for RISCV freedom E310 Arty A7 bsp and add bsps/riscv/shared code for reusability Changes in v2: bsps/riscv/frdme310arty/btimer/btimer.c - Remove the read_csr() function from btimer.c - Remove CONFIG_BTIMER_RISCV_GET_MCYCLES macro to get time in micro

[RTEMS][PATCH v2 2/2] bsp/riscv: Remove duplicate files

2019-09-09 Thread Pragnesh Patel
Delete clockdrv.c, irq.c and bsp_fatal_halt.c and Makefile.am now points to bsps/riscv/shared directory Update #3785. Signed-off-by: Pragnesh Patel --- bsps/riscv/riscv/clock/clockdrv.c| 212 - bsps/riscv/riscv/irq/irq.c | 379 --

[RTEMS][PATCH v2 1/2] riscv: add freedom E310 Arty A7 bsp

2019-09-09 Thread Pragnesh Patel
Update #3785. Signed-off-by: Pragnesh Patel --- bsps/include/bsp/fatal.h | 6 +- bsps/riscv/frdme310arty/btimer/btimer.c| 104 ++ bsps/riscv/frdme310arty/config/frdme310arty.cfg| 11 + bsps/riscv/frdme310arty/console/console-config.c | 146 +

Trying to interrupt a blocking read...

2019-09-09 Thread Benjamin Ellsworth
Hello, The code I'm working with currently does a read() on a device that has been opened with an open() call (a UART if that matters). It nicely blocks waiting for a character (potentially forever). I now need that read to be interrupted... I looked for pselect() so it can block until I t

Re: [rtems commit] Add a parallel bootstrap command.

2019-09-09 Thread Joel Sherrill
On Mon, Sep 9, 2019 at 5:04 PM Chris Johns wrote: > > On 5/9/19 10:51 pm, Joel Sherrill wrote: > > Hi > > > > Any chance, the parallel version will ever functionally replace bootstrap? > > It needs -c to clean and -H for headers.am. > > > > If we want to support exactly the same arguments (I don't

Initial Signal Mask Incompatability

2019-09-09 Thread Joel Sherrill
Hi In porting some user code to RTEMS, I have discovered that RTEMS does not agree with Linux, FreeBSD, or Cygwin on the initial state of the signal mask. POSIX appeared to be ambiguous so I I checked with another RTOS kernel developer I know through FACE who has decades of POSIX experience. I no

Re: [rtems commit] Add a parallel bootstrap command.

2019-09-09 Thread Chris Johns
On 5/9/19 10:51 pm, Joel Sherrill wrote: > Hi > > Any chance, the parallel version will ever functionally replace bootstrap? > It needs -c to clean and -H for headers.am. > > If we want to support exactly the same arguments (I don't care beyond > functionality). > > usage: bootstrap [-c|-h|-H] [

Re: RTEMS qualification and code annotations

2019-09-09 Thread Chris Johns
On 6/9/19 9:40 pm, Andrew Butterfield wrote: > However, if the implementation code contains loops, then we need annotations > in > the code at those loops. The following, from the Frama-C ACSL Tutorial > (https://frama-c.com/acsl_tutorial_index.html) shows the annotations required > to > verify t

Re: [PATCH] rtems: Make rtems_version_control_key() safer

2019-09-09 Thread Chris Johns
On 6/9/19 10:34 pm, Sebastian Huber wrote: > Return the empty string instead of a NULL pointer if no version key is > available. > --- > cpukit/include/rtems/version.h | 9 ++--- > cpukit/sapi/src/version.c | 2 +- > 2 files changed, 7 insertions(+), 4 deletions(-) > > diff --git a/cpuki

Re: rtems-addr2line not working on ARM?

2019-09-09 Thread Sebastian Huber
On 09/09/2019 07:31, Sebastian Huber wrote: On 07/09/2019 16:25, Sebastian Huber wrote: - Am 6. Sep 2019 um 18:06 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: - Am 6. Sep 2019 um 11:09 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: On 06/09/2019 09:26, Se