RTEMS 4.11.3

2017-08-21 Thread Chris Johns
These patches are for the RTEMS 4.11 branch. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 2/2] testsuite/dl: Add C++ by default for DL tests which use C++.

2017-08-21 Thread Chris Johns
- Add AM C++ support to the testsuite configure.ac script. - Fix the dependences in the DL tests. Closes #3024. --- testsuites/libtests/configure.ac | 1 + testsuites/libtests/dl01/Makefile.am | 13 + testsuites/libtests/dl02/Makefile.am | 13 + testsuites/libtests/d

[PATCH 1/2] libmisc/shell: Make some internal shell functions public.

2017-08-21 Thread Chris Johns
- Add 'rtems_shell_init_environment()' so a user can create the shell environment without needing to run a shell. - Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd', and 'rtems_shell_execute_cmd' from the internal interface to the public interface. Closes #3104. --- cpukit/libmisc

Re: [PATCH v2 10/15] HiFive1: set up oscillators

2017-08-21 Thread Gedare Bloom
On Mon, Aug 21, 2017 at 7:56 PM, Denis Obrezkov wrote: > --- > c/src/lib/libbsp/riscv32/hifive1/include/prci.h | 9 + > c/src/lib/libbsp/riscv32/hifive1/start/bspstart.c | 23 + > c/src/lib/libbsp/riscv32/hifive1/start/prci.c | 40 > +++ > 3 files chang

[PATCH v2 15/15] Add build support files for HiFive1 BSP

2017-08-21 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/Makefile.am | 104 ++ c/src/lib/libbsp/riscv32/hifive1/bsp_specs| 13 c/src/lib/libbsp/riscv32/hifive1/configure.ac | 39 ++ 3 files changed, 156 insertions(+) create mode 100644 c/src/lib/libbsp/riscv32/hifive1/Make

[PATCH v2 07/15] HiFive1: add irq dispatching function

2017-08-21 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/include/irq.h | 12 +++ c/src/lib/libbsp/riscv32/hifive1/irq/irq.c | 86 ++ c/src/lib/libbsp/riscv32/hifive1/start/start.S | 3 +- .../score/cpu/riscv32/rtems/score/riscv-utility.h | 26 +++ 4 files changed, 126 inserti

[PATCH v2 01/15] HiFive1: add linker file

2017-08-21 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/startup/linkcmds | 379 ++ 1 file changed, 379 insertions(+) create mode 100644 c/src/lib/libbsp/riscv32/hifive1/startup/linkcmds diff --git a/c/src/lib/libbsp/riscv32/hifive1/startup/linkcmds b/c/src/lib/libbsp/riscv32/hifive1/startup/li

[PATCH v2 03/15] HiFive1: add start.S file with basic initialization

2017-08-21 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/start/start.S | 256 + 1 file changed, 256 insertions(+) create mode 100644 c/src/lib/libbsp/riscv32/hifive1/start/start.S diff --git a/c/src/lib/libbsp/riscv32/hifive1/start/start.S b/c/src/lib/libbsp/riscv32/hifive1/start/start.S ne

[PATCH v2 06/15] HiFive1: add PRCI support files

2017-08-21 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/include/prci.h | 75 + c/src/lib/libbsp/riscv32/hifive1/start/prci.c | 32 +++ 2 files changed, 107 insertions(+) create mode 100644 c/src/lib/libbsp/riscv32/hifive1/include/prci.h create mode 100644 c/src/lib/libbsp/riscv32/

[PATCH v2 11/15] HiFive1: add UART support

2017-08-21 Thread Denis Obrezkov
--- .../libbsp/riscv32/hifive1/console/fe310-uart.c| 218 + .../libbsp/riscv32/hifive1/include/fe310-gpio.h| 41 .../libbsp/riscv32/hifive1/include/fe310-uart.h| 38 3 files changed, 297 insertions(+) create mode 100644 c/src/lib/libbsp/riscv32/hifive1/

[PATCH v2 09/15] HiFive1: add clock driver support

2017-08-21 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/clock/clock.c | 60 c/src/lib/libbsp/riscv32/hifive1/include/fe310.h | 5 +- c/src/lib/libbsp/riscv32/hifive1/include/irq.h | 6 ++- c/src/lib/libbsp/riscv32/hifive1/irq/irq.c | 4 +- 4 files changed, 71 insertions(+), 4 de

[PATCH v2 10/15] HiFive1: set up oscillators

2017-08-21 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/include/prci.h | 9 + c/src/lib/libbsp/riscv32/hifive1/start/bspstart.c | 23 + c/src/lib/libbsp/riscv32/hifive1/start/prci.c | 40 +++ 3 files changed, 72 insertions(+) create mode 100644 c/src/lib/libbsp/riscv32/hif

Re: [PATCH 13/15] HiFive1: add interrupts enable/disable support

2017-08-21 Thread Denis Obrezkov
2017-08-21 19:39 GMT+02:00 Gedare Bloom : > On Mon, Aug 21, 2017 at 11:33 AM, Denis Obrezkov > wrote: > > 2017-08-20 5:18 GMT+02:00 Hesham Almatary : > >> > >> On Thu, Aug 17, 2017 at 1:13 AM, Denis Obrezkov < > denisobrez...@gmail.com> > >> wrote: > >> > --- > >> > cpukit/score/cpu/riscv32/rtem

Re: [PATCH 11/15] HiFive1: set up oscillators

2017-08-21 Thread Denis Obrezkov
2017-08-21 19:40 GMT+02:00 Gedare Bloom : > On Mon, Aug 21, 2017 at 12:27 PM, Denis Obrezkov > wrote: > > 2017-08-17 17:16 GMT+02:00 Gedare Bloom : > >> > >> On Wed, Aug 16, 2017 at 11:13 AM, Denis Obrezkov > >> wrote: > >> > --- > >> > c/src/lib/libbsp/riscv32/hifive1/start/bspstart.c | 65 > >

Re: [PATCH 12/15] HiFive1: add UART support

2017-08-21 Thread Denis Obrezkov
2017-08-17 17:21 GMT+02:00 Gedare Bloom : > Remove the extra blank lines, and consider adding some helper > functions (for enable/disable UARTx, for example) > > On Wed, Aug 16, 2017 at 11:13 AM, Denis Obrezkov > wrote: > > --- > > .../libbsp/riscv32/hifive1/console/fe310-uart.c| 215 > +

Re: [PATCH 08/15] HiFive1: add irq dispatching function

2017-08-21 Thread Denis Obrezkov
2017-08-17 17:11 GMT+02:00 Gedare Bloom : > On Wed, Aug 16, 2017 at 11:12 AM, Denis Obrezkov > wrote: > > --- > > c/src/lib/libbsp/riscv32/hifive1/irq/irq.c | 90 > ++ > > 1 file changed, 90 insertions(+) > > create mode 100644 c/src/lib/libbsp/riscv32/hifive1/irq/ir

Re: [PATCH 11/15] HiFive1: set up oscillators

2017-08-21 Thread Gedare Bloom
On Mon, Aug 21, 2017 at 12:27 PM, Denis Obrezkov wrote: > 2017-08-17 17:16 GMT+02:00 Gedare Bloom : >> >> On Wed, Aug 16, 2017 at 11:13 AM, Denis Obrezkov >> wrote: >> > --- >> > c/src/lib/libbsp/riscv32/hifive1/start/bspstart.c | 65 >> > +++ >> > 1 file changed, 65 insertio

Re: [PATCH 10/15] HiFive1: add clock driver support

2017-08-21 Thread Gedare Bloom
On Mon, Aug 21, 2017 at 12:25 PM, Denis Obrezkov wrote: > 2017-08-17 17:13 GMT+02:00 Gedare Bloom : >> >> On Wed, Aug 16, 2017 at 11:13 AM, Denis Obrezkov >> wrote: >> > --- >> > c/src/lib/libbsp/riscv32/hifive1/clock/clock.c | 67 >> > ++ >> > 1 file changed, 67 insertio

Re: [PATCH 13/15] HiFive1: add interrupts enable/disable support

2017-08-21 Thread Gedare Bloom
On Mon, Aug 21, 2017 at 11:33 AM, Denis Obrezkov wrote: > 2017-08-20 5:18 GMT+02:00 Hesham Almatary : >> >> On Thu, Aug 17, 2017 at 1:13 AM, Denis Obrezkov >> wrote: >> > --- >> > cpukit/score/cpu/riscv32/rtems/score/cpu.h | 18 -- >> > 1 file changed, 12 insertions(+), 6 deletio

Re: [PATCH 11/15] HiFive1: set up oscillators

2017-08-21 Thread Denis Obrezkov
2017-08-17 17:16 GMT+02:00 Gedare Bloom : > On Wed, Aug 16, 2017 at 11:13 AM, Denis Obrezkov > wrote: > > --- > > c/src/lib/libbsp/riscv32/hifive1/start/bspstart.c | 65 > +++ > > 1 file changed, 65 insertions(+) > > create mode 100644 c/src/lib/libbsp/riscv32/hifive1/start/

Re: [PATCH 10/15] HiFive1: add clock driver support

2017-08-21 Thread Denis Obrezkov
2017-08-17 17:13 GMT+02:00 Gedare Bloom : > On Wed, Aug 16, 2017 at 11:13 AM, Denis Obrezkov > wrote: > > --- > > c/src/lib/libbsp/riscv32/hifive1/clock/clock.c | 67 > ++ > > 1 file changed, 67 insertions(+) > > create mode 100644 c/src/lib/libbsp/riscv32/hifive1/clock/

Re: [PATCH 15/15] HiFive1: disable/enable interrupts during context switch

2017-08-21 Thread Denis Obrezkov
2017-08-19 14:33 GMT+02:00 Gedare Bloom : > On Fri, Aug 18, 2017 at 11:30 AM, Denis Obrezkov > wrote: > > 2017-08-17 23:58 GMT+02:00 Gedare Bloom : > >> > >> On Thu, Aug 17, 2017 at 4:17 PM, Denis Obrezkov < > denisobrez...@gmail.com> > >> wrote: > >> > 2017-08-17 22:07 GMT+02:00 Gedare Bloom : >

Re: [PATCH 13/15] HiFive1: add interrupts enable/disable support

2017-08-21 Thread Denis Obrezkov
2017-08-20 5:18 GMT+02:00 Hesham Almatary : > On Thu, Aug 17, 2017 at 1:13 AM, Denis Obrezkov > wrote: > > --- > > cpukit/score/cpu/riscv32/rtems/score/cpu.h | 18 -- > > 1 file changed, 12 insertions(+), 6 deletions(-) > > > > diff --git a/cpukit/score/cpu/riscv32/rtems/score/cp

Re: [PATCH 02/15] HiFive1: add linker file

2017-08-21 Thread Denis Obrezkov
2017-08-20 4:17 GMT+02:00 Hesham Almatary : > You can try to share this file (with RISC-V based BSPs and other > shared linkcmds if any that are arch-independent) and avoid > duplications, and only include the relevant parts of your HiFive > boards, similar to ARM-based BSPs. > > It's important yo

Re: [PATCH 08/15] HiFive1: add irq dispatching function

2017-08-21 Thread Gedare Bloom
On Sat, Aug 19, 2017 at 11:08 PM, Hesham Almatary wrote: > On Fri, Aug 18, 2017 at 1:11 AM, Gedare Bloom wrote: >> On Wed, Aug 16, 2017 at 11:12 AM, Denis Obrezkov >> wrote: >>> --- >>> c/src/lib/libbsp/riscv32/hifive1/irq/irq.c | 90 >>> ++ >>> 1 file changed, 90 i