Re: [PATCH v2 1/4] waf_generator: Copy headers if necessary.

2017-08-16 Thread Sichen Zhao
>> On 17 Aug 2017, at 1:37 am, Sichen Zhao wrote: >> >> Hi Chris, >> Just for remind: can the openssl patch get merged? > Yes they can. I am sorry I had some pressing issues locally and a few patches > queued. I am on the road today and will see if I can get to them remotely. It > is top of my l

[PATCH 6/7] Add wpa_supplicant_fork command.

2017-08-16 Thread Sichen Zhao
Add fork command for wpa supplicant to start a new task. --- freebsd/contrib/wpa/wpa_supplicant/main.c | 67 +- libbsd.py | 1 + libbsd_waf.py | 1 + rtemsbsd/include/machine/rtems-bsd-comm

[PATCH 7/7] Add wpa_spplicant_fork command in test suite media01

2017-08-16 Thread Sichen Zhao
--- testsuite/media01/test_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/media01/test_main.c b/testsuite/media01/test_main.c index 5ca88fb..acc24f2 100644 --- a/testsuite/media01/test_main.c +++ b/testsuite/media01/test_main.c @@ -205,7 +205,8 @@ early_init

[PATCH 4/7] Port strnstr.c to FreeBSD.

2017-08-16 Thread Sichen Zhao
--- libbsd.py | 1 + libbsd_waf.py | 1 + 2 files changed, 2 insertions(+) diff --git a/libbsd.py b/libbsd.py index ea469d3..a0b7f1a 100644 --- a/libbsd.py +++ b/libbsd.py @@ -2534,6 +2534,7 @@ def user_space(mm): 'lib/libc/stdlib/strtonum.c', 'lib/libc/stdlib/strtou

[PATCH 5/7] Add wpa_supplicant command in test suite.

2017-08-16 Thread Sichen Zhao
Add wpa supplicant command in media01. --- testsuite/include/rtems/bsd/test/default-network-init.h | 3 ++- testsuite/media01/test_main.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/testsuite/include/rtems/bsd/test/default-network-init.h b/tes

[PATCH 3/7] Import strnstr.c from FreeBSD.

2017-08-16 Thread Sichen Zhao
--- freebsd/lib/libc/string/strnstr.c | 67 +++ 1 file changed, 67 insertions(+) create mode 100644 freebsd/lib/libc/string/strnstr.c diff --git a/freebsd/lib/libc/string/strnstr.c b/freebsd/lib/libc/string/strnstr.c new file mode 100644 index 000..247a2b

Re: [PATCH v2 1/4] waf_generator: Copy headers if necessary.

2017-08-16 Thread Chris Johns
> On 17 Aug 2017, at 1:37 am, Sichen Zhao wrote: > > Hi Chris, > Just for remind: can the openssl patch get merged? Yes they can. I am sorry I had some pressing issues locally and a few patches queued. I am on the road today and will see if I can get to them remotely. It is top of my list.

[PATCH 2/7] Port wpa supplicant to RTEMS.

2017-08-16 Thread Sichen Zhao
Add wpa_supplicant lib support and shell command support in RTEMS. --- builder.py | 1 + freebsd/contrib/wpa/src/utils/os_unix.c | 10 +- freebsd/contrib/wpa/wpa_supplicant/config.h | 4 +- freebsd/contrib/wpa/wpa_supplicant/main.c | 15

Illustration about the WPA patches

2017-08-16 Thread Sichen Zhao
The WPA patches need the openssl patches support, and first patches of WPA patches about import the wpa files from FreeBSD may can not send to ml, because of the large size. But this patches does no matter for review. ___ devel mailing list devel@rtem

Re: [PATCH v2 1/4] waf_generator: Copy headers if necessary.

2017-08-16 Thread Sichen Zhao
Hi Chris, Just for remind: can the openssl patch get merged? Best Regards Sichen Zhao From: devel on behalf of Sichen Zhao Sent: Saturday, August 12, 2017 17:24 To: Christian Mauderer; Chris Johns; Sichen Zhao; devel@rtems.org Cc: Christian Mauderer Su

[PATCH 14/15] HiFive1: add authorship note

2017-08-16 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/startup/linkcmds | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c/src/lib/libbsp/riscv32/hifive1/startup/linkcmds b/c/src/lib/libbsp/riscv32/hifive1/startup/linkcmds index 8bf56a0..ff106e7 100644 --- a/c/src/lib/libbsp/riscv32/hifive1/startup/linkcmds +

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

2017-08-16 Thread Denis Obrezkov
--- 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/clock.c diff --git a/c/src/lib/libbsp/riscv32/hifive1/clock/clock.c b/c/src/lib/libbsp/riscv32/hifive1/clock/clock.c new

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

2017-08-16 Thread Denis Obrezkov
--- cpukit/score/cpu/riscv32/riscv-context-switch.S | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/cpukit/score/cpu/riscv32/riscv-context-switch.S b/cpukit/score/cpu/riscv32/riscv-context-switch.S index a199596..bcdfe0e 100644 --- a/cpukit/score/cpu/riscv32/risc

[PATCH 09/15] HiFive1: add timer support

2017-08-16 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/timer/timer.c | 71 ++ 1 file changed, 71 insertions(+) create mode 100644 c/src/lib/libbsp/riscv32/hifive1/timer/timer.c diff --git a/c/src/lib/libbsp/riscv32/hifive1/timer/timer.c b/c/src/lib/libbsp/riscv32/hifive1/timer/timer.c new

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

2017-08-16 Thread Denis Obrezkov
--- 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/irq.c diff --git a/c/src/lib/libbsp/riscv32/hifive1/irq/irq.c b/c/src/lib/libbsp/riscv32/hifive1/irq/irq.c new file mode 1

[PATCH 07/15] HiFive1: add PRCI support files

2017-08-16 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/include/prci.h | 74 + c/src/lib/libbsp/riscv32/hifive1/start/prci.c | 33 +++ 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 04/15] HiFive1: add start.S file with basic initialization

2017-08-16 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/start/start.S | 290 + 1 file changed, 290 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 13/15] HiFive1: add interrupts enable/disable support

2017-08-16 Thread Denis Obrezkov
--- 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/cpu.h b/cpukit/score/cpu/riscv32/rtems/score/cpu.h index 8f8a864..9b484e6 100644 --- a/cpukit/score/cpu/riscv32/rtems/score/c

[PATCH 11/15] HiFive1: set up oscillators

2017-08-16 Thread Denis Obrezkov
--- 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/bspstart.c diff --git a/c/src/lib/libbsp/riscv32/hifive1/start/bspstart.c b/c/src/lib/libbsp/riscv32/hifive1/start/bspst

[PATCH 12/15] HiFive1: add UART support

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

[PATCH 06/15] HiFive1: add header file with board description

2017-08-16 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/include/fe310.h | 30 1 file changed, 30 insertions(+) create mode 100644 c/src/lib/libbsp/riscv32/hifive1/include/fe310.h diff --git a/c/src/lib/libbsp/riscv32/hifive1/include/fe310.h b/c/src/lib/libbsp/riscv32/hifive1/include/fe310

[PATCH 05/15] HiFive1: add basic header files

2017-08-16 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/include/bsp.h | 53 + c/src/lib/libbsp/riscv32/hifive1/include/bspopts.h | 68 ++ c/src/lib/libbsp/riscv32/hifive1/include/irq.h | 57 ++ c/src/lib/libbsp/riscv32/hifive1/include/tm27.h| 53 +++

[PATCH 03/15] HiFive1: add configure file

2017-08-16 Thread Denis Obrezkov
--- c/src/lib/libbsp/riscv32/hifive1/make/custom/hifive1.cfg | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 c/src/lib/libbsp/riscv32/hifive1/make/custom/hifive1.cfg diff --git a/c/src/lib/libbsp/riscv32/hifive1/make/custom/hifive1.cfg b/c/src/lib/libbsp/riscv32/hifive1/make/cus

[PATCH 02/15] HiFive1: add linker file

2017-08-16 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 01/15] Add build support files for HiFive1 BSP

2017-08-16 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

Re: RISC-V interrupts in HiFive1

2017-08-16 Thread Denis Obrezkov
2017-08-16 10:27 GMT+02:00 Denis Obrezkov : > 2017-08-16 3:09 GMT+02:00 Hesham Almatary : > >> On Wed, Aug 16, 2017 at 10:57 AM, Joel Sherrill wrote: >> > >> > >> > On Tue, Aug 15, 2017 at 7:50 PM, Denis Obrezkov < >> denisobrez...@gmail.com> >> > wrote: >> >> >> >> 2017-08-16 2:06 GMT+02:00 Hesh

Re: Does rtems-test work on MinGW64?

2017-08-16 Thread Chris Johns
On 16/08/2017 07:02, Jiri Gaisler wrote: > I have fixed the compile problems for the sis simulator on MinGW64, and > I am now trying to run it through the rtems-test utility. This does > however not work and gives the following error log: > > > $ rtems-test --rtems-bsp=erc32-sis > sparc-rtems4.

Re: RISC-V interrupts in HiFive1

2017-08-16 Thread Denis Obrezkov
2017-08-16 3:09 GMT+02:00 Hesham Almatary : > On Wed, Aug 16, 2017 at 10:57 AM, Joel Sherrill wrote: > > > > > > On Tue, Aug 15, 2017 at 7:50 PM, Denis Obrezkov > > > wrote: > >> > >> 2017-08-16 2:06 GMT+02:00 Hesham Almatary : > >>> > >>> / > >>> > >>> On Wed, Aug 16, 2017 at 3:03 AM, Denis Obr