Corrected a typo rtems Source Builder Documentation

2016-08-01 Thread Sambeet Panigrahi
Is this patch in the right format? From 610e2a1fabc0a5ea70cbb23bba8dc576e9b03b22 Mon Sep 17 00:00:00 2001 From: Sambeet Panigrahi Date: Mon, 1 Aug 2016 13:55:57 +0530 Subject: [PATCH] Corrected a Typo --- doc/source-builder.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH] linker set: Allow adding any variable into content

2016-08-01 Thread Christian Mauderer
From: Christian Mauderer The newly created macro allows to add any kind of variable into the content of a linker set. This allows (for example) saving an execution state of a function using the following method: - put a group of different variables into one linker set - save the memory area cont

[PATCH v2] linker set: Allow adding any variable into content

2016-08-01 Thread Christian Mauderer
From: Christian Mauderer The newly created macro allows to add any kind of variable into the content of a linker set. This allows (for example) saving an execution state of a function using the following method: - put a group of different variables into one linker set - save the memory area cont

Corrected a typo in RSB docs

2016-08-01 Thread Sambeet Panigrahi
From 1ddfd35822be6c99cee644ed62a716f3cb371ddb Mon Sep 17 00:00:00 2001 From: Sambeet Panigrahi Date: Mon, 1 Aug 2016 16:43:26 +0530 Subject: [PATCH] Corrected another typo in RSB Documentation --- doc/source-builder.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sou

mx6ulevk BSP was: Re: [PATCH] arm: mx6ulevk: Initial BSP support for i.MX 6UltraLite EVK board.

2016-08-01 Thread Thomas Doerfler
Hi, just out of curiosity (and because I might need a i.MX6 BSP for an upcoming project): What is the current state of the BSP? What are the plans for the near future? wkr, Thomas. Am 14.04.2016 um 11:49 schrieb Peng Fan: > Initial BSP support for i.MX 6UltraLite EVK board. > Add uart driver

libbsd: How to add an option for switching off IPv6 (or other BSD Kernel configurations)

2016-08-01 Thread Christian Mauderer
Hello, we have a special use case where we want to use the new network stack but without the IPv6 support. I could need some advice how this could be integrated into the waf build system. If we find a good solution, this could also be an example for other BSD Kernel options. I found multiple pla

Re: nanosleep.c remarks

2016-08-01 Thread Gedare Bloom
On Mon, Aug 1, 2016 at 1:18 AM, Sebastian Huber wrote: > Hello Pavel, > > On 30/07/16 19:40, Pavel Pisa wrote: [...] >> >> Then the time stuff. >> >> nanosleep_helper() does not distinguish between CLOCK_REALTIME >> and CLOCK_MONOTONIC when it computes remaining time (rmtp). >> But the intention o

Re: Internal time representations

2016-08-01 Thread Gedare Bloom
On Mon, Aug 1, 2016 at 1:26 AM, Sebastian Huber wrote: > On 28/07/16 16:53, Gedare Bloom wrote: >> >> Hi Sebastian, >> >> The problem that I encountered was that there are two different >> representations used for the watchdogs, the 34+30 compact timespec, >> a.k.a. "watchdog ticks", used for abso

Re: libbsd: How to add an option for switching off IPv6 (or other BSD Kernel configurations)

2016-08-01 Thread Gedare Bloom
On Mon, Aug 1, 2016 at 10:04 AM, Christian Mauderer wrote: > Hello, > > we have a special use case where we want to use the new network stack > but without the IPv6 support. I could need some advice how this could be > integrated into the waf build system. If we find a good solution, this > could

Re: Internal time representations

2016-08-01 Thread Joel Sherrill
On Aug 1, 2016 11:41 AM, "Gedare Bloom" wrote: > > On Mon, Aug 1, 2016 at 1:26 AM, Sebastian Huber > wrote: > > On 28/07/16 16:53, Gedare Bloom wrote: > >> > >> Hi Sebastian, > >> > >> The problem that I encountered was that there are two different > >> representations used for the watchdogs, the

Re: Internal time representations

2016-08-01 Thread Gedare Bloom
On Mon, Aug 1, 2016 at 12:47 PM, Joel Sherrill wrote: > On Aug 1, 2016 11:41 AM, "Gedare Bloom" wrote: >> >> On Mon, Aug 1, 2016 at 1:26 AM, Sebastian Huber >> wrote: >> > On 28/07/16 16:53, Gedare Bloom wrote: >> >> >> >> Hi Sebastian, >> >> >> >> The problem that I encountered was that there a

Re: [PATCH v2] linker set: Allow adding any variable into content

2016-08-01 Thread Gedare Bloom
The code looks fine, but I don't quite understand the purpose/usefulness of the change. On Mon, Aug 1, 2016 at 7:16 AM, Christian Mauderer wrote: > From: Christian Mauderer > > The newly created macro allows to add any kind of variable into the > content of a linker set. This allows (for example

Re: nanosleep.c remarks

2016-08-01 Thread Pavel Pisa
Hello Gedare On Monday 01 of August 2016 17:21:14 Gedare Bloom wrote: > On Mon, Aug 1, 2016 at 1:18 AM, Sebastian Huber > It would be good to add some test cases calling clock_settime() and > delivering signals while a thread nanosleep()s. I don't know that we > have those cases tested yet. > > Th

Re: [PATCH] doc: source-builder.txt: Update installtion for ubuntu packages

2016-08-01 Thread Gedare Bloom
committed, thanks. On Thu, Jul 28, 2016 at 4:05 PM, Punit Vara wrote: > This patch fixes the most common python missing error for RTEMS > tool chain build and RSB built is tested for ubuntu 16.04.1 LTS > --- > doc/source-builder.txt | 5 +++-- > 1 file changed, 3 insertions(+), 2

Re: [PATCH] doc: source-builder.txt: Update installtion for ubuntu packages

2016-08-01 Thread punit vara
Usually when Newbie run that command I think automake will be updated to 1.5 latest version. Do you it should be removed from there or there should be a note to use automake1.2 ??? On Tue, Aug 2, 2016 at 12:15 AM, Gedare Bloom wrote: > committed, thanks. > > On Thu, Jul 28, 2016 at 4:05 PM, Punit

[PATCH 1/2] rtems: add sys/mman.h

2016-08-01 Thread Gedare Bloom
--- newlib/libc/sys/rtems/include/sys/mman.h | 263 +++ 1 file changed, 263 insertions(+) create mode 100644 newlib/libc/sys/rtems/include/sys/mman.h diff --git a/newlib/libc/sys/rtems/include/sys/mman.h b/newlib/libc/sys/rtems/include/sys/mman.h new file mode 100644

Re: [PATCH] posix: move sys/mman.h to newlib and test it in psxhdrs

2016-08-01 Thread Gedare Bloom
This requires toolchain bump with the sister patch "rtems: add sys/mman.h" on newlib. On Mon, Aug 1, 2016 at 4:11 PM, Gedare Bloom wrote: > --- > cpukit/Makefile.am | 1 - > cpukit/posix/include/sys/mman.h| 189 > - > cpu

Re: [PATCH 2/2] rtems: define _POSIX_CLOCK_SELECTION feature

2016-08-01 Thread Gedare Bloom
This feature enables the prototype for clock_nanosleep, which is now available in RTEMS. On Mon, Aug 1, 2016 at 3:55 PM, Gedare Bloom wrote: > --- > newlib/libc/include/sys/features.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/newlib/libc/include/sys/features.h > b/newlib/libc/inc

[PATCH] posix: move sys/mman.h to newlib and test it in psxhdrs

2016-08-01 Thread Gedare Bloom
--- cpukit/Makefile.am | 1 - cpukit/posix/include/sys/mman.h| 189 - cpukit/posix/src/mprotect.c| 2 +- cpukit/preinstall.am | 4 - testsuites/psxtests/psxhdrs/Makef

[PATCH] posix: nanosleep: adjust elapsed time calculation

2016-08-01 Thread Gedare Bloom
Use clock_gettime before and after sleep to calculate the time spent asleep, and the amount of time remaining. updates #2732 --- cpukit/posix/src/nanosleep.c | 61 ++-- 1 file changed, 31 insertions(+), 30 deletions(-) diff --git a/cpukit/posix/src/nanosle

[PATCH 2/2] rtems: define _POSIX_CLOCK_SELECTION feature

2016-08-01 Thread Gedare Bloom
--- newlib/libc/include/sys/features.h | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index dbc4ebe..93635ba 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -328,6 +328,7 @@ ex

Re: [PATCH] posix: move sys/mman.h to newlib and test it in psxhdrs

2016-08-01 Thread Chris Johns
On 02/08/2016 06:12, Gedare Bloom wrote: This requires toolchain bump with the sister patch "rtems: add sys/mman.h" on newlib. What is the plan to get this patch merged? Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/list

Re: [PATCH v2] linker set: Allow adding any variable into content

2016-08-01 Thread Chris Johns
On 02/08/2016 01:38, Gedare Bloom wrote: The code looks fine, but I don't quite understand the purpose/usefulness of the change. I am wondering if this makes porting BSD user code to RTEMS easier by grouping variables. I would like to see a doc ticket created to be completed once I branch t

Re: libbsd: How to add an option for switching off IPv6 (or other BSD Kernel configurations)

2016-08-01 Thread Chris Johns
On 02/08/2016 00:04, Christian Mauderer wrote: Hello, we have a special use case where we want to use the new network stack but without the IPv6 support. I could need some advice how this could be integrated into the waf build system. If we find a good solution, this could also be an example for

Re: [PATCH 2/2] rtems: define _POSIX_CLOCK_SELECTION feature

2016-08-01 Thread Gedare Bloom
Alright -- I still get some missing prototype warning for clock_nanosleep, so more feature magic might be needed still. On Mon, Aug 1, 2016 at 4:03 PM, Joel Sherrill wrote: > Looks OK to me. > > --joel > > On August 1, 2016 4:01:39 PM EDT, Gedare Bloom wrote: >>This feature enables the prototype

libbsd: Manipulating object files using waf build system

2016-08-01 Thread Christian Mauderer
Hello, I have a second waf problem beneath the one already discussed in the other thread: Is it possible to do some object file manipulation before linking? To be exact I would need to rename some of the sections in the object files. If you want to stop reading, you can do it here. The following

Re: [PATCH v2] linker set: Allow adding any variable into content

2016-08-01 Thread Christian Mauderer
Am 02.08.2016 um 03:08 schrieb Chris Johns: > On 02/08/2016 01:38, Gedare Bloom wrote: >> The code looks fine, but I don't quite understand the >> purpose/usefulness of the change. > > I am wondering if this makes porting BSD user code to RTEMS easier by > grouping variables. > > I would like to

Re: libbsd: How to add an option for switching off IPv6 (or other BSD Kernel configurations)

2016-08-01 Thread Christian Mauderer
Am 01.08.2016 um 17:33 schrieb Gedare Bloom: > On Mon, Aug 1, 2016 at 10:04 AM, Christian Mauderer > wrote: >> Hello, >> >> we have a special use case where we want to use the new network stack >> but without the IPv6 support. I could need some advice how this could be >> integrated into the waf

Re: libbsd: How to add an option for switching off IPv6 (or other BSD Kernel configurations)

2016-08-01 Thread Christian Mauderer
Am 02.08.2016 um 04:09 schrieb Chris Johns: > On 02/08/2016 00:04, Christian Mauderer wrote: >> Hello, >> >> we have a special use case where we want to use the new network stack >> but without the IPv6 support. I could need some advice how this could be >> integrated into the waf build system. I