Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-14 Thread Joel Sherrill
On Thu, Apr 14, 2016 at 3:56 PM, Deval Shah wrote: > > > On Wed, Apr 6, 2016 at 10:34 PM, Gedare Bloom wrote: > >> On Wed, Apr 6, 2016 at 10:10 AM, Deval Shah >> wrote: >> > >> > >> > On Wed, Apr 6, 2016 at 7:13 PM, Sebastian Huber >> > wrote: >> >> >> >> >> >> >> >> On 06/04/16 15:39, Deval S

Re: Error while building arm/realview_pbx_a9_qemu BSP

2016-04-14 Thread Deval Shah
On Wed, Apr 6, 2016 at 10:34 PM, Gedare Bloom wrote: > On Wed, Apr 6, 2016 at 10:10 AM, Deval Shah wrote: > > > > > > On Wed, Apr 6, 2016 at 7:13 PM, Sebastian Huber > > wrote: > >> > >> > >> > >> On 06/04/16 15:39, Deval Shah wrote: > >>> > >>> I am building this using RTEMS 4.12 and latest ma

Re: PWM driver tested in RTEMS with RGB

2016-04-14 Thread Martin Galvan
On Thu, Apr 14, 2016 at 1:34 PM, punit vara wrote: > Hi all ! > > I had successfully merged the TI Starter Ware Code with RTEMS. That's great. Could you show us the resulting directory structure (perhaps with a diffstat), as well as the changes to Makefile.am? > Then I tried > to test it with sa

Re: [PATCH] cpukit: pppd: fix compile warning

2016-04-14 Thread Gedare Bloom
I applied it as-is, just leave it off for the future On Wed, Apr 13, 2016 at 1:30 AM, Peng Fan wrote: > Hi, > > On Tue, Apr 05, 2016 at 10:23:00AM -0400, Gedare Bloom wrote: >>This should be fine. I don't know, does pppd have an active maintainer? > > Just kindly ping, will this be merged? > >> >

PWM driver tested in RTEMS with RGB

2016-04-14 Thread punit vara
Hi all ! I had successfully merged the TI Starter Ware Code with RTEMS. Then I tried to test it with sample application with RGB. As a result I was able to glow the LED with that code but unfortunately, LED was only glowing constantly. It did not blink (at all !!!) according to duty cycle and freq

[PATCH 11/18] Provide POSIX defined fsblkcnt_t and fsfilcnt_t

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 8 newlib/libc/include/sys/types.h| 6 ++ winsup/cygwin/include/cygwin/types.h | 12 winsup/cygwin/include/machine/_types.h | 8 4 files changed, 22 insertions(+), 12 deleti

[PATCH 14/18] Add BSD guards for fixed-size integer types

2016-04-14 Thread Sebastian Huber
From: Christian Mauderer Signed-off-by: Christian Mauderer --- newlib/libc/include/sys/_stdint.h | 39 +++ 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/newlib/libc/include/sys/_stdint.h b/newlib/libc/include/sys/_stdint.h index add1860..a7f

[PATCH 10/18] Provide POSIX defined blksize_t in

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 4 newlib/libc/include/sys/stat.h | 2 +- newlib/libc/include/sys/types.h| 5 + newlib/libc/sys/rtems/include/machine/_types.h | 5 +++-- winsup/cygwin/include/cygwin/types

[PATCH 04/18] Define mode_t via __mode_t

2016-04-14 Thread Sebastian Huber
Use __uint32_t to avoid the use of GCC-specific _ST_INT32. Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 16 + newlib/libc/include/sys/types.h| 50 -- newlib/libc/sys/rtems/include/machine/_types.h | 2 +- win

[PATCH 13/18] Add BSD guard for useconds_t

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 1 + newlib/libc/include/sys/types.h | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h index 61fc1c5..03e1ba3 100644 --- a/newlib/libc/

[PATCH 09/18] Provide POSIX defined blkcnt_t in

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 4 newlib/libc/include/sys/stat.h | 2 +- newlib/libc/include/sys/types.h| 5 + newlib/libc/sys/rtems/include/machine/_types.h | 4 +++- winsup/cygwin/include/cygwin/types.

[PATCH 17/18] Provide __size_t via

2016-04-14 Thread Sebastian Huber
Various FreeBSD source and header files need a typedef __size_t via . Unfortunately the GCC provided uses #if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \ || defined(__DragonFly__) \ || defined(__FreeBSD_kernel__) /* __size_t is a typedef on FreeBSD 5, must

[PATCH 08/18] Add BSD guard for timer_t

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 3 ++- newlib/libc/include/sys/types.h | 7 --- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h index ba112f5..16fbc13 100644 --- a/newlib/

[PATCH 18/18] Provide FNONBLOCK for BSD compatiblity

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_default_fcntl.h | 4 1 file changed, 4 insertions(+) diff --git a/newlib/libc/include/sys/_default_fcntl.h b/newlib/libc/include/sys/_default_fcntl.h index 3be8f8d..ede90c4 100644 --- a/newlib/libc/include/sys/_default_fcntl.h +++

[PATCH 12/18] Add BSD guard for nlink_t

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 1 + newlib/libc/include/sys/types.h | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h index a1a12f2..61fc1c5 100644 --- a/newlib/libc/

[PATCH 05/18] Add BSD guard for clock_t

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 4 +++- newlib/libc/include/sys/times.h | 7 --- newlib/libc/include/sys/types.h | 7 --- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_typ

[PATCH 01/18] Use __machine_*_t_defined for internal types

2016-04-14 Thread Sebastian Huber
Newlib defines defaults for internal types via and uses to let targets define their own type if necessary. Previously for example #ifndef __dev_t_defined typedef short __dev_t; #endif However, the __*_t_defined pattern conflicts with the glibc type guard pattern for use

[PATCH 15/18] Add __va_list to

2016-04-14 Thread Sebastian Huber
Add __va_list to for BSD compatibility. In FreeBSD this typedef is provided by the various architecture-specific in a copy and paste manner. Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/newlib/libc/include/sys/_t

[PATCH 06/18] Add BSD guard for time_t

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_timespec.h| 3 ++- newlib/libc/include/sys/_timeval.h | 3 ++- newlib/libc/include/sys/_types.h | 4 +++- newlib/libc/include/sys/timeb.h| 7 --- newlib/libc/include/sys/types.h| 7 --- newlib/libc/s

[PATCH 16/18] Include in

2016-04-14 Thread Sebastian Huber
Include in if __BSD_VISIBLE for BSD compatibility. This is in line with glibc . Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/include/sys/types.h b/newlib/libc/include/sys/types.h index f02f170..57b74ef 10064

[PATCH 02/18] Provide POSIX defined id_t in

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 4 newlib/libc/include/sys/types.h| 5 + winsup/cygwin/include/cygwin/types.h | 6 -- winsup/cygwin/include/machine/_types.h | 3 +++ 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/

[PATCH 07/18] Add BSD guard for clockid_t

2016-04-14 Thread Sebastian Huber
Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 4 +++- newlib/libc/include/sys/types.h | 7 --- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/newlib/libc/include/sys/_types.h b/newlib/libc/include/sys/_types.h index ead18cb..ba112f5 100644 --- a/newlib

[PATCH 03/18] Add BSD guard for ino_t in

2016-04-14 Thread Sebastian Huber
Introduce internal type __ino_t. Signed-off-by: Sebastian Huber --- newlib/libc/include/sys/_types.h | 9 + newlib/libc/include/sys/types.h| 10 +++--- newlib/libc/sys/rtems/include/machine/_types.h | 3 +++ winsup/cygwin/include/cygwin/types.h

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

2016-04-14 Thread Peng Fan
Initial BSP support for i.MX 6UltraLite EVK board. Add uart driver Add gpt driver to service tick function The i.MX 6UltraLite is a high performance, ultra-efficient processor family featuring an advanced implementation of a single ARM® Cortex®-A7 core, which operates at speeds up to 528 MHz. The

Re: Build failure for realview_pbx_a9_qemu_smp BSP

2016-04-14 Thread Darshit Shah
On 04/14, Sebastian Huber wrote: On 13/04/16 00:29, Darshit Shah wrote: make[6]: Entering directory '/home/thedoctor/Programming/rtems/builds/realview_pbx_a9_qemu_smp/arm-rtems4.12/c/atsamv/testsuites/samples/hello' Looks you build the atsamv BSP with --enable-smp. What is your configure c

Re: Build failure for realview_pbx_a9_qemu_smp BSP

2016-04-14 Thread Sebastian Huber
On 14/04/16 10:15, Darshit Shah wrote: On 04/14, Sebastian Huber wrote: On 13/04/16 00:29, Darshit Shah wrote: make[6]: Entering directory '/home/thedoctor/Programming/rtems/builds/realview_pbx_a9_qemu_smp/arm-rtems4.12/c/atsamv/testsuites/samples/hello' Looks you build the atsamv BSP wit

Re: Build failure for realview_pbx_a9_qemu_smp BSP

2016-04-14 Thread Sebastian Huber
On 13/04/16 00:29, Darshit Shah wrote: make[6]: Entering directory '/home/thedoctor/Programming/rtems/builds/realview_pbx_a9_qemu_smp/arm-rtems4.12/c/atsamv/testsuites/samples/hello' Looks you build the atsamv BSP with --enable-smp. What is your configure command line? The realview_pbx_a9_