Re: [PATCH] rtems: Revise tests: sprmsched01 and spedfsched04

2017-01-30 Thread Sebastian Huber
On 30/01/17 19:34, Kuan-Hsun Chen wrote: Instead of using the target time and console driver, both tests now use assertions and rtems_rate_monotonic_get_status() to verify the count of postponed jobs. The setting of spedfsched04 is slightly changed. Update #2795 I checked in a slightly

Re: [PATCH] rtems: Revise tests: sprmsched01 and spedfsched04

2017-01-30 Thread Kuan Hsun Chen
By taking Sebastian's suggestions, I revise both tests. Now the tests are independent to the target time and console driver. Before I use time unit as second and the results rely on the absolute time. Now I use rtems_test_spin_for_ticks() and downscale the timeunit from second to 100ms. Both

Re: GSoC Mentors / Projects of Interest

2017-01-30 Thread Joel Sherrill
On Mon, Jan 30, 2017 at 5:13 PM, Gedare Bloom wrote: > On Mon, Jan 30, 2017 at 12:25 PM, Tanu Hari Dixit > wrote: > > I'll be glad to do it. Please guide me as to how to proceed. > > > We will need to import each existing Open Project description into a

Re: Documentation: Locking protocols and thread queues

2017-01-30 Thread Joel Sherrill
On Mon, Jan 30, 2017 at 7:47 AM, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I would like to update the documentation of the locking protocols > (priority ceiling, priority inheritance, OMIP, MrsP) and the thread queues. > Since this is API independent I think the

Re: [PATCH] rtems: Revise tests: sprmsched01 and spedfsched04

2017-01-30 Thread Gedare Bloom
Does this fix a deficiency in the current tests? On Mon, Jan 30, 2017 at 1:34 PM, Kuan-Hsun Chen wrote: > Instead of using the target time and console driver, > both tests now use assertions and rtems_rate_monotonic_get_status() to verify > the count of postponed jobs. > The

Re: GSoC Mentors / Projects of Interest

2017-01-30 Thread Gedare Bloom
On Mon, Jan 30, 2017 at 12:25 PM, Tanu Hari Dixit wrote: > I'll be glad to do it. Please guide me as to how to proceed. > We will need to import each existing Open Project description into a new ticket. It would be best to start with one to "try it out". The project title

[PATCH] rtems: Revise tests: sprmsched01 and spedfsched04

2017-01-30 Thread Kuan-Hsun Chen
Instead of using the target time and console driver, both tests now use assertions and rtems_rate_monotonic_get_status() to verify the count of postponed jobs. The setting of spedfsched04 is slightly changed. Update #2795 --- testsuites/sptests/spedfsched04/Makefile.am | 2 +-

Re: GSoC Mentors / Projects of Interest

2017-01-30 Thread Joel Sherrill
On Thu, Jan 26, 2017 at 11:58 AM, Gedare Bloom wrote: > On Thu, Jan 26, 2017 at 12:13 PM, Kuan Hsun Chen > wrote: > > Hello, > > > > Could we invoke a project for https://git.rtems.org/rtems-schedsim/ > again? > > It could be useful to

Re: GSoC Mentors / Projects of Interest

2017-01-30 Thread Tanu Hari Dixit
I'll be glad to do it. Please guide me as to how to proceed. On Mon, Jan 30, 2017 at 9:38 PM, Gedare Bloom wrote: > Yes that would be much nicer. Maybe we can get potential GSoC Students > to do the work ;) > > On Mon, Jan 30, 2017 at 1:40 AM, Sebastian Huber >

[PATCH 03/10] Adding LPC32XX Ethernet and USB OHCI files to script

2017-01-30 Thread Kevin Kirspel
--- libbsd.py | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libbsd.py b/libbsd.py index 7264ac4..43107ee 100755 --- a/libbsd.py +++ b/libbsd.py @@ -148,6 +148,7 @@ def rtems(mm): 'pppd/utils.c', 'sys/dev/usb/controller/ehci_mpc83xx.c',

[PATCH 06/10] Add support for LPC32XX USB driver

2017-01-30 Thread Kevin Kirspel
--- freebsd/sys/dev/usb/controller/ohci.h | 2 - rtemsbsd/sys/dev/usb/controller/ohci_lpc.c | 93 +- rtemsbsd/sys/dev/usb/usb_otg_transceiver.h | 1 + 3 files changed, 3 insertions(+), 93 deletions(-) mode change 100644 => 100755

[PATCH 01/10] Adding LPC32XX ethernet driver support

2017-01-30 Thread Kevin Kirspel
--- freebsd/sys/arm/lpc/if_lpe.c| 1234 +++ freebsd/sys/arm/lpc/if_lpereg.h | 208 +++ freebsd/sys/arm/lpc/lpc_pwr.c | 131 + freebsd/sys/arm/lpc/lpcreg.h| 665 + freebsd/sys/arm/lpc/lpcvar.h| 69 +++ 5 files

[PATCH 08/10] Add LPC32XX LPE0 network driver name

2017-01-30 Thread Kevin Kirspel
--- testsuite/include/rtems/bsd/test/network-config.h.in | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 testsuite/include/rtems/bsd/test/network-config.h.in diff --git a/testsuite/include/rtems/bsd/test/network-config.h.in

[PATCH 09/10] Add nexus device entries

2017-01-30 Thread Kevin Kirspel
--- rtemsbsd/include/bsp/nexus-devices.h | 12 + rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 75 ++ 2 files changed, 87 insertions(+) mode change 100644 => 100755 rtemsbsd/include/bsp/nexus-devices.h mode change 100644 => 100755

[PATCH 07/10] Add nexus device entries and upate waf files

2017-01-30 Thread Kevin Kirspel
--- libbsd_waf.py | 5 - 1 file changed, 4 insertions(+), 1 deletions(-) diff --git a/libbsd_waf.py b/libbsd_waf.py index ecd87af..ef3150b 100644 --- a/libbsd_waf.py +++ b/libbsd_waf.py @@ -722,7 +722,9 @@ def build(bld): source = objs07_source) libbsd_use += ["objs07"]

[PATCH 10/10] Add support for LPC32XX cache

2017-01-30 Thread Kevin Kirspel
--- rtemsbsd/include/machine/rtems-bsd-cache.h | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) mode change 100644 => 100755 rtemsbsd/include/machine/rtems-bsd-cache.h diff --git a/rtemsbsd/include/machine/rtems-bsd-cache.h b/rtemsbsd/include/machine/rtems-bsd-cache.h old mode

[PATCH 05/10] Adding support for LPC32XX network driver and phy

2017-01-30 Thread Kevin Kirspel
--- freebsd/sys/arm/lpc/if_lpe.c | 178 + freebsd/sys/arm/lpc/lpc_pwr.c | 8 ++ freebsd/sys/dev/mii/icsphy.c | 3 + rtemsbsd/include/rtems/bsd/local/miidevs.h | 2 + 4 files changed, 191 insertions(+) mode change 100644

[PATCH 04/10] Add support for ordering the initialization of Nexus devices. This can be used to make sure a device is initialized before a dependant device.

2017-01-30 Thread Kevin Kirspel
--- freebsd/sys/sys/linker_set.h | 6 +- rtemsbsd/include/rtems/bsd/bsd.h | 6 ++ 2 files changed, 11 insertions(+), 1 deletion(-) mode change 100644 => 100755 freebsd/sys/sys/linker_set.h mode change 100644 => 100755 rtemsbsd/include/rtems/bsd/bsd.h diff --git

[PATCH 02/10] Adding LPC32XX USB OHCI support

2017-01-30 Thread Kevin Kirspel
--- rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c | 499 + 1 file changed, 499 insertions(+) create mode 100755 rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c diff --git a/rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c b/rtemsbsd/sys/dev/usb/controller/ohci_lpc32xx.c

Re: GSoC Mentors / Projects of Interest

2017-01-30 Thread Gedare Bloom
Yes that would be much nicer. Maybe we can get potential GSoC Students to do the work ;) On Mon, Jan 30, 2017 at 1:40 AM, Sebastian Huber wrote: > Maybe we should move all this open projects wiki stuff into tickets with > some sort of "GSoC" tag. > > -- >

Documentation: Locking protocols and thread queues

2017-01-30 Thread Sebastian Huber
Hello, I would like to update the documentation of the locking protocols (priority ceiling, priority inheritance, OMIP, MrsP) and the thread queues. Since this is API independent I think the Semaphore Manager chapter is the wrong place. Should I add this to the Key Concepts? -- Sebastian

RE: [PATCH 2/8] Adding LPC32XX USB OHCI support

2017-01-30 Thread Kirspel, Kevin
It probably does but here is my reasoning for a new file. 1. The latest FREEBSD master has support for the lpc32xx where the 9.2 branch did not. It's easy to port the already existing code (i.e. MAC driver, OHCI, MMC, etc...). 2. The ohci_lpc.c driver was not using FREEBSD's bus resources

Re: [PATCH v4] rtems: Fix _Rate_monotonic_Renew_deadline()

2017-01-30 Thread Sebastian Huber
On 30/01/17 14:22, Kuan Hsun Chen wrote: The end of the comment should be "close #2885". I saw that the ticket was closed as well. I closed the ticket manually, since I was not sure if everything was complete. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178

Basic IEEE802.11 (WiFi, WLAN) support for RTEMS (libbsd)

2017-01-30 Thread Sebastian Huber
Hello, we added a basic IEEE802.11 (WiFi, WLAN) support for RTEMS via libbsd. We only tested a RTL8192 based USB device so far (without encryption). You have to add SYSINIT_MODULE_REFERENCE(wlan_ratectl_none); SYSINIT_MODULE_REFERENCE(wlan_sta); SYSINIT_MODULE_REFERENCE(wlan_amrr);