Re: [PATCH v2] Add TOD Hooks to allow BSP to take action when TOD is set

2019-11-14 Thread Sebastian Huber
On 14/11/2019 21:44, Joel Sherrill wrote: +bool _TOD_Hook_Register( + TOD_Hook *hook +) +{ + ISR_lock_Context lock_context; + + /* + * At this time, this method does NOT have a Classic or POSIX API + * that exports it. Any use of this method will be a direct call. + * It should only be

Re: [PATCH v2] Add TOD Hooks to allow BSP to take action when TOD is set

2019-11-14 Thread Chris Johns
On 15/11/19 7:44 am, Joel Sherrill wrote: > Two use cases were envisioned for this. > > 1) a BSP or application which desires to update a real-time clock >when the RTEMS TOD is set. > > 2) a paravirtualized BSP can use this to propagate setting the time >in an RTEMS application to the hos

[PATCH v2] Add TOD Hooks to allow BSP to take action when TOD is set

2019-11-14 Thread Joel Sherrill
Two use cases were envisioned for this. 1) a BSP or application which desires to update a real-time clock when the RTEMS TOD is set. 2) a paravirtualized BSP can use this to propagate setting the time in an RTEMS application to the hosting environment. This enables the entire set of appl

Fwd: The GCC 7 branch is now closed

2019-11-14 Thread Joel Sherrill
GCC 7.5 is available now and this branch is closed. We need to seriously consider moving targets to a newer version -- Forwarded message - From: Richard Biener Date: Thu, Nov 14, 2019 at 1:40 AM Subject: The GCC 7 branch is now closed To: Cc: The GCC 7 branch is now closed,

Re: [PATCH v5] riscv: add freedom E310 Arty A7 bsp

2019-11-14 Thread Joel Sherrill
On Thu, Nov 14, 2019 at 7:21 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 14/11/2019 14:07, Joel Sherrill wrote: > > > > > > On Wed, Oct 23, 2019, 1:16 AM Sebastian Huber > > > > wrote: > > > > Hello Pragnesh, > > > > than

Re: [PATCH v5] riscv: add freedom E310 Arty A7 bsp

2019-11-14 Thread Sebastian Huber
On 14/11/2019 14:07, Joel Sherrill wrote: On Wed, Oct 23, 2019, 1:16 AM Sebastian Huber > wrote: Hello Pragnesh, thanks for your contribution. I checked in the patch without the frdme310arty.dts file. It had no license information and I

Re: [PATCH v5] riscv: add freedom E310 Arty A7 bsp

2019-11-14 Thread Joel Sherrill
On Wed, Oct 23, 2019, 1:16 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello Pragnesh, > > thanks for your contribution. I checked in the patch without the > frdme310arty.dts file. It had no license information and I think it is > not needed by the BSP directly. I guess a boo

Re: [PATCH v5] riscv: add freedom E310 Arty A7 bsp

2019-11-14 Thread Sebastian Huber
Hello Pragnesh, I fixed the formatting a bit, fixed some warnings and simplified some functions. Would you mind testing the latest master branch on your board to check if it still runs? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49

Re: RFC: Building RTEMS/RISC-V with LLVM/Clang

2019-11-14 Thread Sebastian Huber
On 14/11/2019 10:53, Hesham Almatary wrote: To which directory NEWLIB_SYSROOT in the /opt/rtems/5 installation tree must this point? riscv-rtems5. Or the corresponding multilib directory for your RISC-V BSP. So, if I use --sysroot=/opt/rtems/5/riscv-rtems5, then clang will pick up /opt/rtems/5

Re: RFC: Building RTEMS/RISC-V with LLVM/Clang

2019-11-14 Thread Hesham Almatary
On Thu, 14 Nov 2019 at 07:27, Sebastian Huber wrote: > > Hello Hesham, > > On 13/11/2019 16:32, Hesham Almatary wrote: > > On Wed, 13 Nov 2019 at 14:48, Sebastian Huber > > wrote: > >> > >> Hello Hesham, > >> > >> On 23/10/2019 15:50, Hesham Almatary wrote: > >>> Hi, > >>> > >>> I submitted a RFC