LibBSD /etc/rc.conf changes

2016-06-21 Thread Chris Johns
Hi, The implementation I added to LibBSD parses the rc.conf file and invokes handers for each directive in the file. The approach has exposed a few issues and I have decided to re-implement the code to better follow the FreeBSD approach. Specially the network start up automatically sets up

Re: Subject: Add PWM driver for beagle bone black

2016-06-21 Thread punit vara
Thank you very much for detailed review. I will do each changes you suggested. Though I have some specific doubt I would like to ask as following. On Wed, Jun 22, 2016 at 1:07 AM, Martin Galvan wrote: > Hi Punit, thanks for sending this. If I understood

RE: [PATCH] pc386: Add virtio network driver

2016-06-21 Thread Jinhyun
Thanks for the comments. We are trying to either use the compiler memory barrier as you people suggested or simply define the variables as volatile. We plan to repost the revised patch in a week. Since new patch would be no longer architecture-independent, we are thinking to locate the files

Re: Raspberry pi not working with latest compiler and rtems-git

2016-06-21 Thread Alan Cudmore
Hi Pavel, I can confirm that your branch and the RTEMS git head work on my Pi A+ and Pi Zero now. The console works when connected. For me, it will not automatically switch to the serial port if the HDMI cable is not connected. I have to comment out the cmdline.txt console switches. The Pi

Re: RTEMS Printer Changes

2016-06-21 Thread Chris Johns
On 21/06/2016 23:57, Sebastian Huber wrote: The goal of this patch set is to avoid visiblity of RTEMS printer implementation details via . Additionally, a specialized printer is added to output via a dedicated task with a defined priority, see sptests/sp20. Really nice change. This is turning

Re: LibBSD nexus bus IRQ unique or shared?

2016-06-21 Thread Chris Johns
On 21/06/2016 15:22, Sebastian Huber wrote: On 21/06/16 03:43, Chris Johns wrote: Hi, Currently the LibBSD nexus bus passes the unique option to the interrupt server when attaching a fast interrupt and I have a PC (Beckhoff CX2030) where sharing interrupts gets me past a configuration where

Re: Raspberry pi not working with latest compiler and rtems-git

2016-06-21 Thread Pavel Pisa
Hello Alan, On Wednesday 22 of June 2016 01:00:39 Alan Cudmore wrote: > Hi Pavel, > The HDMI Console! I do have it enabled, so I’m sure that’s it. > You saved me a lot of time. > Thanks, > Alan but at least on my board/setup when RPi HDMI connector is not connected to monitor then console is not

Re: Raspberry pi not working with latest compiler and rtems-git

2016-06-21 Thread Alan Cudmore
Hi Pavel, The HDMI Console! I do have it enabled, so I’m sure that’s it. You saved me a lot of time. Thanks, Alan > On Jun 21, 2016, at 4:53 PM, Pavel Pisa wrote: > > Hello Alan, > > On Tuesday 21 of June 2016 20:41:43 Alan Cudmore wrote: >> Hi Pavel, >> I compiled

Re: Subject: Add PWM driver for beagle bone black

2016-06-21 Thread Martin Galvan
Hi Punit, thanks for sending this. If I understood correctly this is the BBBIO code plus some changes of your own, right? If so, I think it would be best to send a patch with the BBBIO code as is, and then another with your changes on top of it. I think that was what we were going for with

[PATCH] Subject: Add PWM driver for beagle bone black

2016-06-21 Thread Punit Vara
This patch adds required definitions, registers definitions and testsuit to test pwm driver for beagle bone black. --- c/src/lib/libbsp/arm/beagle/Makefile.am | 3 + c/src/lib/libbsp/arm/beagle/pwm/bbb-pwm.c| 345 ++

Re: Fwd: [PATCH 1/2] score: Add and use Watchdog_Clock for clock types.

2016-06-21 Thread Gedare Bloom
On Tue, Jun 21, 2016 at 1:48 AM, Sebastian Huber wrote: > > > On 16/06/16 08:09, Sebastian Huber wrote: >>> >>> diff --git a/cpukit/score/include/rtems/score/threadqimpl.h >>> b/cpukit/score/include/rtems/score/threadqimpl.h >>> index 73d4de2..f59a334 100644

Re: [PATCH 10/16] score: Introduce map priority scheduler operation

2016-06-21 Thread Sebastian Huber
On 20/06/16 18:00, Gedare Bloom wrote: diff --git a/cpukit/score/include/rtems/score/schedulerimpl.h b/cpukit/score/include/rtems/score/schedulerimpl.h >index 50061fb..fad7ecc 100644 >--- a/cpukit/score/include/rtems/score/schedulerimpl.h >+++

[PATCH 04/10] Rename and move RTEMS_PRINTF_ATTRIBUTE()

2016-06-21 Thread Sebastian Huber
Rename RTEMS_PRINTF_ATTRIBUTE() into RTEMS_PRINTFLIKE() (similar to __printflike()) and move it to . --- cpukit/include/rtems/bspIo.h| 17 + cpukit/include/rtems/print.h| 2 +- cpukit/libmisc/testsupport/test.h | 2 +-

RTEMS Printer Changes

2016-06-21 Thread Sebastian Huber
The goal of this patch set is to avoid visiblity of RTEMS printer implementation details via . Additionally, a specialized printer is added to output via a dedicated task with a defined priority, see sptests/sp20. ___ devel mailing list devel@rtems.org

[PATCH 10/10] sptests/sp20: Use printer task

2016-06-21 Thread Sebastian Huber
This avoids test failures due to slow output devices. --- testsuites/sptests/sp20/init.c | 30 +-- testsuites/sptests/sp20/sp20.scn | 36 +++--- testsuites/sptests/sp20/system.h | 4 ++- testsuites/sptests/sp20/task1.c | 64

[PATCH 08/10] Rename rtems_test_print() into rtems_test_printf()

2016-06-21 Thread Sebastian Huber
--- cpukit/libmisc/testsupport/test.h | 2 +- cpukit/libmisc/testsupport/testbeginend.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libmisc/testsupport/test.h b/cpukit/libmisc/testsupport/test.h index 94f917f..0afd3e9 100644 ---

[PATCH 06/10] Move printer initialization to separate header

2016-06-21 Thread Sebastian Huber
The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the include which would be visible via . --- c/src/lib/libbsp/shared/src/irq-info.c | 2 +- c/src/lib/libbsp/shared/src/irq-shell.c| 1 + cpukit/Makefile.am

[PATCH 02/10] Make rtems_printf_plugin() static

2016-06-21 Thread Sebastian Huber
--- cpukit/include/rtems/bspIo.h | 13 - cpukit/libcsupport/src/printf_plugin.c | 12 ++-- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/cpukit/include/rtems/bspIo.h b/cpukit/include/rtems/bspIo.h index 958103a..fad4e9d 100644 ---

[PATCH 03/10] Make rtems_fprintf_plugin() static

2016-06-21 Thread Sebastian Huber
--- cpukit/include/rtems/bspIo.h | 13 - cpukit/libcsupport/src/print_fprintf.c | 2 +- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/cpukit/include/rtems/bspIo.h b/cpukit/include/rtems/bspIo.h index fad4e9d..112dde6 100644 ---

[PATCH 09/10] Add printer task

2016-06-21 Thread Sebastian Huber
--- cpukit/include/rtems/printer.h | 99 + cpukit/libcsupport/Makefile.am | 1 + cpukit/libcsupport/src/printertask.c | 203 +++ 3 files changed, 303 insertions(+) create mode 100644 cpukit/libcsupport/src/printertask.c diff --git

[PATCH 07/10] Avoid in

2016-06-21 Thread Sebastian Huber
--- cpukit/rtems/include/rtems/rtems/ratemon.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpukit/rtems/include/rtems/rtems/ratemon.h b/cpukit/rtems/include/rtems/rtems/ratemon.h index 6e8fab6..3203eab 100644 --- a/cpukit/rtems/include/rtems/rtems/ratemon.h +++

[PATCH 01/10] Make printk_plugin() static

2016-06-21 Thread Sebastian Huber
--- cpukit/include/rtems/bspIo.h | 10 -- cpukit/libcsupport/src/printk_plugin.c | 19 +-- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/cpukit/include/rtems/bspIo.h b/cpukit/include/rtems/bspIo.h index a7fd959..958103a 100644 ---