Re: Version Numbers

2015-07-27 Thread Sebastian Huber
- Chris Johns schrieb: > On 28/07/2015 6:01 am, Sebastian Huber wrote: > > > > - Gedare Bloom schrieb: > >> Extrapolating a bit, we would have: > >> 4.11.0 release series (following old conventions) > >> 5.0 next development version, no release

Re: [PATCH] [RTEMS] Add

2015-07-27 Thread Sebastian Huber
testing and documentation first ? Since testing and documentation will be contained in RTEMS I would really appreciate if we can commit this Newlib patch first since RTEMS and GCC patches depend on it. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Ph

Re: SMP support for Raspberry Pi 2

2015-07-27 Thread Sebastian Huber
i 1. Thanks. On 22 Jul 2015 18:59, "Sebastian Huber" mailto:sebastian.hu...@embedded-brains.de>> wrote: Sorry, I cannot help you here since I never worked with a Raspberry Pi. -- Sebastian Huber, embedded brains GmbH

Re: [PATCH] GSoC: Cache configurations Raspberry Pi 2 support

2015-07-27 Thread Sebastian Huber
rier_align : 1M; +bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M; + bsp_translation_table_base = ORIGIN (RAM_MMU); INCLUDE linkcmds.armv4 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone

Re: [rpi bsp] configure fb section in mmu table and improvement for mailbox

2015-07-29 Thread Sebastian Huber
devel list. I am not sure why you need additional sections in the MMU table for the frame buffer. In case it needs non-cachable memory, why don't you put it into the .bsp_nocache section? You can also use a heap for this section, see rtems_cache_coherent_allocate(). -- Sebastian Huber,

Re: SMP support for Raspberry Pi 2

2015-07-29 Thread Sebastian Huber
On 29/07/15 11:52, Rohini Kulkarni wrote: On Tue, Jul 28, 2015 at 12:24 PM, Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: Hello Rohini, please use the devel list. On 28/07/15 07:41, Rohini Kulkarni wrote: Hi, I wish to underst

Re: [rpi bsp] configure fb section in mmu table and improvement for mailbox

2015-07-29 Thread Sebastian Huber
On 29/07/15 10:17, Pavel Pisa wrote: Hello Sebastian, On Wednesday 29 of July 2015 09:06:47 Sebastian Huber wrote: On 28/07/15 02:31, Pavel Pisa wrote: I think it's much closer to what we expected. you may checkout my github and my dropbox.  https://github.com/yangqiao/rtems

Re: [PATCH] [RTEMS] Move header files

2015-07-29 Thread Sebastian Huber
Hello Joel, maybe this is a problem with the e-mail client. I attached it as a TAR archive. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber at embedded-brains.de

Nice surprise with C++11

2015-07-29 Thread Sebastian Huber
Hello, please have a look at the following bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 This is really nice in combination with defines and macros that use ( ) to make sure the content stays together. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178

Re: Nice surprise with C++11

2015-07-30 Thread Sebastian Huber
r variables are GCC specific. Is it possible to construct objects without an address via plain C++? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de

[PATCH] [RTEMS] Update RTEMS thread model

2015-07-30 Thread Sebastian Huber
RTEMS. In the long run support for thread join and detach should be added to the API independent RTEMS services. libgcc/ChangeLog 2015-07-31 Sebastian Huber * config/gthr-rtems.h (__GTHREADS_CXX0X): New. (__GTHREAD_HAS_COND): Likewise. (__gthread_t): Likewise

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-07-30 Thread Sebastian Huber
On 31/07/15 08:28, Chris Johns wrote: On 31/07/2015 4:11 pm, Sebastian Huber wrote: For synchronization objects use the self-contained objects available via Newlib . https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;a=commit;h=ecaef05f6601f1e8acb78fb65b411a258f39988a Enable the C

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-07-31 Thread Sebastian Huber
On 31/07/15 09:10, Chris Johns wrote: On 31/07/2015 4:44 pm, Sebastian Huber wrote: > >>Is this for 4.12 ? > >This is just a proof-of-concept patch, but it would be nice to include >this in the next release along with the C11 threads support. > If you have tests and

Re: Nice surprise with C++11

2015-07-31 Thread Sebastian Huber
as no address, since this is a real register. This, however, is not a problem: int *h(void) { register int i; return &i; } -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mai

Re: GSoC 2015 RPi USB Support

2015-07-31 Thread Sebastian Huber
On 31/07/15 15:17, Yurii Shevtsov wrote: Where is the linker script which is responsible for .rtemsroset.bsd.nexus.content section? This is linkcmds.base, search for rtemsroset. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189

Re: building RTEMS 4.11 leon3 with floating point support?

2015-08-30 Thread Sebastian Huber
/devel -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im

[PATCH] rbtree: Delete rtems_rbtree_find_control()

2015-08-31 Thread Sebastian Huber
This function is hard to support in alternative implementations. It has no internal use case. --- cpukit/sapi/include/rtems/rbtree.h| 10 -- cpukit/score/include/rtems/score/rbtree.h | 25 - testsuites/sptests/sprbtree01/init.c | 7 --- 3 files ch

Re: [PATCH] rbtree: Delete rtems_rbtree_find_control()

2015-08-31 Thread Sebastian Huber
I would like to back port this patch to the 4.11 branch. On 31/08/15 10:43, Sebastian Huber wrote: This function is hard to support in alternative implementations. It has no internal use case. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone

[PATCH 3/3] JFFS2: Use RTEMS red-black tree implementation

2015-08-31 Thread Sebastian Huber
--- cpukit/libfs/Makefile.am | 1 - cpukit/libfs/src/jffs2/include/linux/rbtree.h | 128 ++-- cpukit/libfs/src/jffs2/src/compat-rbtree.c| 422 -- 3 files changed, 98 insertions(+), 453 deletions(-) delete mode 100644 cpukit/libfs/src/jffs2/sr

[PATCH 1/3] rbtree: Replace implementation

2015-08-31 Thread Sebastian Huber
Use the BSD implementation since it is faster, more flexible and uses less storage. See https://github.com/sebhub/rb-bench. --- cpukit/score/include/rtems/score/rbtree.h | 277 + cpukit/score/include/rtems/score/rbtreeimpl.h | 118 cpukit/score/src/rbtreeextract.c |

[PATCH 2/3] rbtree: Add _RBTree_Replace_node()

2015-08-31 Thread Sebastian Huber
--- cpukit/score/Makefile.am | 1 + cpukit/score/include/rtems/score/rbtree.h | 13 +++ cpukit/score/src/rbtreereplace.c | 61 +++ 3 files changed, 75 insertions(+) create mode 100644 cpukit/score/src/rbtreereplace.c diff --git a/cpukit/

Re: [PATCH 2/3] rbtree: Add _RBTree_Replace_node()

2015-08-31 Thread Sebastian Huber
On 31/08/15 16:30, Gedare Bloom wrote: It's on the caller to ensure no ordering violation? Yes, I added this function for the Linux rbtree support. One user is the JFFS2 file system. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone

Re: [rtems commit] Add __synch_synchronize function for arm

2015-09-01 Thread Sebastian Huber
ARM_MULTILIB_HAS_BARRIER_INSTRUCTIONS + asm volatile("dmb" : : : "memory"); +#else + asm volatile("" : : : "memory"); +#endif +} \ No newline at end of file ___ vc mailing list v...@rtems.org http://lists.rtems.org/mailman/li

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-01 Thread Sebastian Huber
On 31/07/15 09:23, Sebastian Huber wrote: On 31/07/15 09:10, Chris Johns wrote: On 31/07/2015 4:44 pm, Sebastian Huber wrote: > >>Is this for 4.12 ? > >This is just a proof-of-concept patch, but it would be nice to include >this in the next release along with the C

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-01 Thread Sebastian Huber
On 01/09/15 12:10, Sebastian Huber wrote: Shared mutexes are not implemented in general. This works now also: https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00027.html -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16

[PATCH] [RTEMS] Update RTEMS thread model

2015-09-01 Thread Sebastian Huber
RTEMS. In the long run support for thread join and detach should be added to the API independent RTEMS services. libgcc/ChangeLog 2015-09-01 Sebastian Huber * config/gthr-rtems.h (__GTHREADS_CXX0X): New. (__GTHREAD_HAS_COND): Likewise. (__gthread_t): Likewise

[PATCH] posix: glibc compatibility

2015-09-01 Thread Sebastian Huber
--- cpukit/posix/src/setcancelstate.c | 7 +++ cpukit/posix/src/setcanceltype.c| 7 +++ testsuites/psxtests/psxcancel/init.c| 8 testsuites/psxtests/psxcancel/psxcancel.scn | 6 +++--- 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/c

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-02 Thread Sebastian Huber
On 01/09/15 13:05, Sebastian Huber wrote: On 01/09/15 12:10, Sebastian Huber wrote: Shared mutexes are not implemented in general. This works now also: https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00027.html With this additional fix: https://gcc.gnu.org/ml/gcc/2015-09/msg00021.html

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-02 Thread Sebastian Huber
On 02/09/15 02:50, Chris Johns wrote: On 1/09/2015 8:52 pm, Daniel Gutson wrote: > >El 31/7/2015 3:28, "Chris Johns" <mailto:chr...@rtems.org>> escribió: >> >>On 31/07/2015 4:11 pm, Sebastian Huber wrote: >> >For synchronization object

Re: Outstanding Issues on 4.11 branch?

2015-09-02 Thread Sebastian Huber
have no outstanding patches for the 4.11 branch. What else prevents the release? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-02 Thread Sebastian Huber
On 02/09/15 13:32, Daniel Gutson wrote: El 2/9/2015 5:28, "Sebastian Huber" <mailto:sebastian.hu...@embedded-brains.de>> escribió: > > > > On 02/09/15 02:50, Chris Johns wrote: >> >> On 1/09/2015 8:52 pm, Daniel Gutson wrote: >>> >

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-02 Thread Sebastian Huber
On 02/09/15 13:27, Daniel Gutson wrote: El 2/9/2015 5:17, "Sebastian Huber" <mailto:sebastian.hu...@embedded-brains.de>> escribió: > > > > On 01/09/15 13:05, Sebastian Huber wrote: >> >> On 01/09/15 12:10, Sebastian Huber wrote: >>&g

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-02 Thread Sebastian Huber
Committed: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=227428 -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-02 Thread Sebastian Huber
On 02/09/15 16:58, Martin Galvan wrote: On 02/09/2015 15:00, Sebastian Huber wrote: I deleted the test tree. It will take a couple of days before I create a new one. I think it makes more sense if you run the tests yourself, so that you can debug them. I use the realview_pbx_a9_qemu BSP for

[PATCH 2/4] score: Documentation

2015-09-03 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/threadq.h | 31 -- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/cpukit/score/include/rtems/score/threadq.h b/cpukit/score/include/rtems/score/threadq.h index 8f2b138..2b58310 100644 --- a/cpukit/score/include/rtems

[PATCH 4/4] score: Implement priority boosting

2015-09-03 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/threadimpl.h | 31 + cpukit/score/include/rtems/score/threadqimpl.h | 25 +++ cpukit/score/src/coremutexseize.c | 2 +- cpukit/score/src/coremutexsurrender.c | 1 + cpukit/score/src/mutex.c | 15

[PATCH 1/4] smp: Documentation

2015-09-03 Thread Sebastian Huber
--- doc/user/smp.t | 38 ++ 1 file changed, 38 insertions(+) diff --git a/doc/user/smp.t b/doc/user/smp.t index 1b4849a..ba700e0 100644 --- a/doc/user/smp.t +++ b/doc/user/smp.t @@ -147,6 +147,44 @@ another processor. So if we enable interrupts during this tr

[PATCH 3/4] score: Implement SMP specific priority queue

2015-09-03 Thread Sebastian Huber
--- cpukit/sapi/include/confdefs.h | 7 +- cpukit/score/include/rtems/score/threadq.h | 44 +++- cpukit/score/include/rtems/score/threadqimpl.h | 16 ++ cpukit/score/src/thread.c | 3 +- cpukit/score/src/threadinitialize.c| 4 +- cpukit/

[PATCH] smp: Documentation

2015-09-03 Thread Sebastian Huber
--- doc/user/smp.t | 66 ++ 1 file changed, 66 insertions(+) diff --git a/doc/user/smp.t b/doc/user/smp.t index 2ab9aaf..a06be8a 100644 --- a/doc/user/smp.t +++ b/doc/user/smp.t @@ -465,6 +465,72 @@ architecture please consult the @cite{RTEM

[wwwdocs] GCC 6 Release Notes for RTEMS

2015-09-03 Thread Sebastian Huber
ys/lock.h> and offers a significantly better performance compared +to the POSIX configuration of libgomp. It is possible to +configure thread pools for each scheduler instance via the environment +variable GOMP_RTEMS_THREAD_POOLS. + + -- Sebastian Huber, embedded brains GmbH

Re: [PATCH 1/4] smp: Documentation

2015-09-03 Thread Sebastian Huber
On 03/09/15 16:59, Gedare Bloom wrote: On Thu, Sep 3, 2015 at 8:01 AM, Sebastian Huber wrote: >--- > doc/user/smp.t | 38 ++ > 1 file changed, 38 insertions(+) > >diff --git a/doc/user/smp.t b/doc/user/smp.t >index 1b4849a..ba700e0 1006

Re: [PATCH] smp: Documentation

2015-09-03 Thread Sebastian Huber
On 03/09/15 17:09, Gedare Bloom wrote: On Thu, Sep 3, 2015 at 8:46 AM, Sebastian Huber wrote: --- doc/user/smp.t | 66 ++ 1 file changed, 66 insertions(+) diff --git a/doc/user/smp.t b/doc/user/smp.t index 2ab9aaf..a06be8a 100644

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-03 Thread Sebastian Huber
On 03/09/15 15:47, Martin Galvan wrote: Hi Sebastian! Thanks for your answer. There are a couple of things I still don't get :) On Thu, Sep 3, 2015 at 2:48 AM, Sebastian Huber wrote: I updated the rtems-testing repository. 1. You have to adjust the VERSIONS file. Is this file meant to

Re: Uniprocessor implementation of nested mutex problem of priority inversion.

2015-09-04 Thread Sebastian Huber
gt;> > TA02: priority 34 after releasing S1 >>>>>>> > >>>>>>> > TA02: suspending >>>>>>> > >>>>>>> > TA01: priority 36 >>>>>>> > >>>>>>> > TA01: exiting >>>>>>> > >>>>>>> > *** END

Re: Patch for nested mutex project solving priority inversion problem for uniprocessor.

2015-09-06 Thread Sebastian Huber
think the suggested implementation would even work on SMP systems quite well. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Publi

Re: Patch for nested mutex project solving priority inversion problem for uniprocessor.

2015-09-06 Thread Sebastian Huber
, Sep 7, 2015 at 3:04 PM, Sebastian Huber wrote: Hello Saurabh, On 05/09/15 01:52, Saurabh Gadia wrote: This is the patch for solving priority inversion problem for uniprocessor architecture. It works correctly for all test cases on master. For 4.11 the patch get applied cleanly but the branch

Re: Memory protection on RTEMS?

2015-09-09 Thread Sebastian Huber
just an MPU. Would it be feasible to support that? The GR740 has an IOMMU (chapter 17). http://microelectronics.esa.int/ngmp/GR740-UM-DS-v1.pdf -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 4

Re: Version Numbers

2015-09-09 Thread Sebastian Huber
pt in 4.11. Once we have 5.0 and waf, buildbot will decide when a release is ready. When the feature set for the release is available and buildbot shows the code is suitable it can be released. It might be months or just weeks. We have the 4.11 release branch, but still no release. Independent

Re: Version Numbers

2015-09-10 Thread Sebastian Huber
On 10/09/15 09:49, Pavel Pisa wrote: Hello Sebastian, On Thursday 10 of September 2015 08:52:37 Sebastian Huber wrote: On 28/07/15 09:48, Chris Johns wrote: Either scheme fits pretty well with RTEMS release cycle I think. Even if we can get down to one release per year, the numbers won&#

[PATCH] Upgrade to 4.11.99.0

2015-09-10 Thread Sebastian Huber
--- aclocal/version.m4| 4 ++-- c/src/aclocal/version.m4 | 4 ++-- cpukit/aclocal/version.m4 | 4 ++-- testsuites/aclocal/version.m4 | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/aclocal/version.m4 b/aclocal/version.m4 index 6ca81ac..6ced838 100644 -

Re: OR1K does not build on master

2015-09-10 Thread Sebastian Huber
^ compilation terminated. I added some months ago to Newlib: 2015-03-23 Sebastian Huber * libc/include/sys/tree.h: New file. The or1k should use the upstream Newlib. If this is not possible, then we should add some Autoconf stuff to provide a if necessary (similar to ). -- Sebas

Re: Patch for nested mutex project solving priority inversion problem for uniprocessor.

2015-09-11 Thread Sebastian Huber
care that we don't get deadlocks, since this would result in an infinite loop with interrupts disabled. note: *Cyrille* please mention any other doubts if I have missed any. Thanks, Saurabh Gadia On Sun, Sep 6, 2015 at 11:04 PM, Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de

Re: Patch for nested mutex project solving priority inversion problem for uniprocessor.

2015-09-11 Thread Sebastian Huber
sting? Will it be fine with RTEMS? note: Cyrille please mention any other doubts if I have missed any. Thanks, Saurabh Gadia On Sun, Sep 6, 2015 at 11:04 PM, Sebastian Huber wrote: Hello Saurabh, On 05/09/15 01:52, Saurabh Gadia wrote: This is the patch for solving priority inversion problem

Re: rtems_set_errno_and_return_minus_one in driver not returning correct value

2015-09-11 Thread Sebastian Huber
f you want more control: https://docs.rtems.org/doxygen/cpukit/html/group__IMFSGenericNodes.html -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.d

Re: rtems_set_errno_and_return_minus_one in driver not returning correct value

2015-09-11 Thread Sebastian Huber
what rtems_status_code_to_errno() does for you. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist

Re: Patch for nested mutex project solving priority inversion problem for uniprocessor.

2015-09-13 Thread Sebastian Huber
er. With respect to the verification you can only verify a subset, e.g. consider only ordered acquire/release sequences if this helps. On Fri, Sep 11, 2015 at 4:18 PM, Sebastian Huber wrote: Hello Saurabh, On 11/09/15 02:14, Saurabh Gadia wrote: Hi Sebastian, Sorry for late reply. I was

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-14 Thread Sebastian Huber
09:00:00, 09:00:04,..., 09:00:34 immediately. Is this a normal behaviour for this test in this BSP? Yes, in case the fast idle is enabled (default). This helps to speed up test suite runs. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone :

Re: [PATCH v3] ARMv7M: Fix exception handler for supporting FPU

2015-09-15 Thread Sebastian Huber
devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public

Re: broken gcc 5.2

2015-09-18 Thread Sebastian Huber
the bug report. Andres will fix it and will let you know about the progress. Thanks, Daniel. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-18 Thread Sebastian Huber
you Joel! I have another question if you don't mind: where i can find the realview_pbx_a9_qemu.exp file? I can't find it in dejagnu/boards. Sorry, I check this file in. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47

Re: New BSP Advice

2015-09-20 Thread Sebastian Huber
Hello Isaac, what is the license of the ST code? The last time I looked at this code it had a license incompatible to open source projects. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09

[PATCH 3/3] C11 threads support

2015-09-21 Thread Sebastian Huber
Import from latest FreeBSD. Move types and defines to so that it can be customized per target. newlib/ChangeLog 2015-09-21 Sebastian Huber * libc/include/threads.h: New. * libc/sys/rtems/include/machine/_threads.h: Likewise. --- newlib/libc/include/threads.h

[PATCH 1/3] Add FreeBSD style changes to

2015-09-21 Thread Sebastian Huber
newlib/ChangeLog 2015-09-21 Sebastian Huber * libc/include/sys/cdefs.h: Add style changes of latest FreeBSD version. --- newlib/libc/include/sys/cdefs.h | 64 - 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/newlib/libc

[PATCH 2/3] Synchronize with FreeBSD

2015-09-21 Thread Sebastian Huber
newlib/ChangeLog 2015-09-21 Sebastian Huber * libc/include/sys/cdefs.h: Synchronize with latest FreeBSD version. --- newlib/libc/include/sys/cdefs.h | 160 ++-- 1 file changed, 138 insertions(+), 22 deletions(-) diff --git a/newlib/libc

[PATCH 2/2] libstdthreads: Add C11 threads

2015-09-21 Thread Sebastian Huber
--- cpukit/Makefile.am | 1 + cpukit/configure.ac| 4 + cpukit/libstdthreads/Makefile.am | 21 + cpukit/libstdthreads/call_once.c | 6 +- cpukit/libstdthreads/cnd.c |

[PATCH 1/2] libstdthreads: Import from FreeBSD

2015-09-21 Thread Sebastian Huber
--- cpukit/libstdthreads/call_once.c | 44 ++ cpukit/libstdthreads/cnd.c | 98 ++ cpukit/libstdthreads/mtx.c | 116 +++ cpukit/libstdthreads/thrd.c | 128 +++ cpukit/libst

Re: [PATCH v4] ARMv7M: Improve exception handler routine and add comments on SP selection

2015-09-21 Thread Sebastian Huber
ter. This should apply over Sudarshan's patch. Is this this one https://lists.rtems.org/pipermail/devel/2015-August/012382.html ? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail

Re: New BSP Advice

2015-09-21 Thread Sebastian Huber
Hello Isaac, this sounds all right in case all the files added to RTEMS provided by ST contain this header in the ZIP file distributed by ST. One commit should add all these files unmodified. A download link for this ZIP file in the commit message would be nice. -- Sebastian Huber, embedded

Re: [PATCH v4] ARMv7M: Improve exception handler routine and add comments on SP selection

2015-09-23 Thread Sebastian Huber
Thanks for your patience. I checked in both patches. Please let me know if it works. In this case I add them to the 4.11 branch. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail

Re: [PATCH] [RTEMS] Update RTEMS thread model

2015-09-23 Thread Sebastian Huber
ctly. Ok, its a classic stack overflow (80 bytes on the stack, stack size is 256KiB). -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP

[PATCH] C11 support for

2015-09-24 Thread Sebastian Huber
Import some function declarations from latest FreeBSD. newlib/ChangeLog 2015-09-24 Sebastian Huber * libc/include/stdlib.h (alloc_aligned): Declare. (at_quick_exit): Likewise. (quick_exit): Likewise. --- newlib/libc/include/stdlib.h | 11 +++ 1 file changed

Re: Math lib inclusion in BSP

2015-09-24 Thread Sebastian Huber
lists.rtems.org/pipermail/devel/2014-September/008191.html -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on requ

Re: [rtems commit] score: Fix atomic compare exchange

2015-09-26 Thread Sebastian Huber
Hello Gedare, this part of the compare exchange operation is not used in 4.11. There are a couple of other issues with the low level SMP code that turned up after a review and this is a preparation patch. - Am 25. Sep 2015 um 22:38 schrieb Gedare Bloom ged...@rtems.org: > Sebastian, > Doe

Re: FWIW intptr_t and uintptr_t

2015-09-26 Thread Sebastian Huber
The fixed size 8-bit, 16-bit, 32-bit and 64-bit integer types are optional too. I don't think this is a compiler issue. Some architectures may have problems to support such types. - Am 26. Sep 2015 um 21:30 schrieb Joel Sherrill joel.sherr...@oarcorp.com: > Hi > > I was doing some invest

FYI: GCC: Convert SPARC to LRA

2015-09-28 Thread Sebastian Huber
Hello, https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00562.html This means that GCC 6 needs thorough testing on SPARC. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Sebastian Huber
nd the AT697F (LEON2-FT)? Why do we have no leon3 variant without fixes for the UT699 and AT697F? Which multilib do you suggest now for the NGMP/GR740? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 4

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Sebastian Huber
On 28/09/15 14:33, Sebastian Huber wrote: On 28/09/15 14:13, Daniel Hellstrom wrote: Now that muser-mode is default the multilib definitions does not require to specify that switch any more. Add UT699 to multilib after recent patches. Add AT697F multilib since there are many LEON2 users

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Sebastian Huber
would be nice if you can update the RTEMS documentation accordingly similar to ARM and PowerPC, e.g. https://docs.rtems.org/doc-current/share/rtems/html/cpu_supplement/ARM-Specific-Information-Multilibs.html#ARM-Specific-Information-Multilibs -- Sebastian Huber, embedded brains GmbH Address

Re: [PATCH] Update RTEMS multilib for SPARC

2015-09-28 Thread Sebastian Huber
On 28/09/15 15:39, Daniel Hellstrom wrote: On 09/28/2015 03:37 PM, Sebastian Huber wrote: On 28/09/15 15:20, Daniel Hellstrom wrote: Which multilibs do we have after this change? .; soft;@msoft-float v8;@mcpu=v8 leon3;@mcpu=leon3 leon3v7;@mcpu=leon3v7 leon;@mcpu=leon leon/ut699;@mcpu

Re: [rtems-libbsd commit] builder.py: addTargetSourceCPUDependentSourceFiles

2015-10-01 Thread Sebastian Huber
Why do you think it is wrong? The background for this change is that we need an explicit one-to-one mapping of libbsd and original FreeBSD files. - Chris Johns schrieb: > On 1/10/2015 2:56 am, Sebastian Huber wrote: > > diff --git a/wscript b/wscript > > index 673479f.

Re: [rtems-libbsd commit] builder.py: addTargetSourceCPUDependentSourceFiles

2015-10-01 Thread Sebastian Huber
- Chris Johns schrieb: > On 2/10/2015 8:33 am, Sebastian Huber wrote: > > Why do you think it is wrong? > > Because the check is for 'arm' and the file is 'mips'. The mips variant is generic (C code only). There is no functional change. Before this ch

Re: [PATCH] Fix exception handler for supporting FPU

2015-10-06 Thread Sebastian Huber
On 07/10/15 05:13, Chris Johns wrote: On 23/09/2015 11:33 am, Gedare Bloom wrote: >ping. i will try to get to this tomorrow if no one else does. What happened to this change? https://lists.rtems.org/pipermail/devel/2015-September/012612.html -- Sebastian Huber, embedded brains G

Re: [PATCH] Fix exception handler for supporting FPU

2015-10-07 Thread Sebastian Huber
On 07/10/15 09:04, Chris Johns wrote: On 7/10/2015 4:33 pm, Sebastian Huber wrote: > > >On 07/10/15 05:13, Chris Johns wrote: >>On 23/09/2015 11:33 am, Gedare Bloom wrote: >>> >ping. i will try to get to this tomorrow if no one else does. >>What h

Re: [PATCH 3/3] C11 threads support

2015-10-07 Thread Sebastian Huber
that at least RTEMS or another configuration supports or plans to support threads.h and functions. C11 says that the flag __STDC_NO_THREADS__ can be used to indicate that threads.h and the functions are missing. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim

Re: LwIP port using directly RTEMS semaphores and message queues

2015-10-11 Thread Sebastian Huber
am not sure if its really useful. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist

Re: [PATCH] cpukit/libnetworking/libc/getifaddrs.c: Fix undefined behavior on freeing auto variable if NET_RT_IFLIST isn't defined.

2015-10-14 Thread Sebastian Huber
Since NET_RT_IFLIST is defined in socket.h, the else block is essentially dead code. How did you find this problem? Does it make sense to use the latest FreeBSD version? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16

[PATCH] Add RTEMS linker sets

2015-10-14 Thread Sebastian Huber
Update #2408. --- c/src/lib/libbsp/arm/gba/startup/linkcmds | 2 + c/src/lib/libbsp/avr/avrtest/startup/linkcmds | 2 + c/src/lib/libbsp/bfin/TLL6527M/startup/linkcmds| 2 + c/src/lib/libbsp/bfin/bf537Stamp/startup/linkcmds | 2 + c/src/lib/libbsp/bfin/eZKit533/startup/l

Re: [PATCH] Add RTEMS linker sets

2015-10-14 Thread Sebastian Huber
rt for the lexicographical sorting, then you just have to enumerate the sections by hand. That's the price for using bad tools. We have to evaluate if a linker set based initialization is a problem for mission-critical or safety-critical applications. -- Sebastian Huber, embedded brains GmbH Address

[PATCH 6/6] basdefs.h: Add and use RTEMS_PACKED

2015-10-15 Thread Sebastian Huber
--- c/src/lib/libbsp/i386/pc386/include/edid.h | 20 ++-- c/src/lib/libbsp/i386/pc386/include/vbe3.h | 14 +++--- .../libbsp/i386/shared/realmode_int/realmode_int.c | 4 ++-- .../libbsp/i386/shared/realmode_int/realmode_int.h | 2 +- c/src/lib/libc

[PATCH 1/6] basedefs.h: Add compiler attributes

2015-10-15 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/basedefs.h | 41 - 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index 695ab8f..8e145f5 100644 --- a/cpukit/score/include/rtem

[PATCH 3/6] basdefs.h: Add RTEMS_PURE

2015-10-15 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/basedefs.h | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score/include/rtems/score/basedefs.h index 5575a06..9e6bc0a 100644 --- a/cpukit/score/include/rtems/score/basedefs.h +++

[PATCH 4/6] basdefs.h: Add and use RTEMS_DEPRECATED

2015-10-16 Thread Sebastian Huber
--- c/src/librtems++/include/rtems++/rtemsTask.h | 4 ++-- cpukit/libblock/include/rtems/ide_part_table.h | 6 +++--- cpukit/rtems/include/rtems/rtems/clock.h | 2 +- cpukit/rtems/include/rtems/rtems/tasks.h | 12 ++-- cpukit/rtems/include/rtems/rtems/tasksimpl.h | 2 +-

[PATCH 2/6] basedefs.h: Add and use RTEMS_NO_RETURN

2015-10-16 Thread Sebastian Huber
--- c/src/lib/libbsp/shared/include/bootcard.h| 2 +- c/src/lib/libbsp/shared/include/fatal.h | 2 +- c/src/lib/libbsp/sparc/leon3/include/leon.h | 2 +- cpukit/libcsupport/include/rtems/error.h | 2 +- cpukit/libmisc/stackchk/check.c | 2 +- cpukit/sapi/include

[PATCH 5/6] basdefs.h: Add and use RTEMS_UNUSED

2015-10-16 Thread Sebastian Huber
--- .../libbsp/arm/shared/lpc/network/lpc-ethernet.c | 6 ++-- c/src/lib/libbsp/i386/pc386/console/fb_cirrus.c| 2 +- c/src/lib/libbsp/i386/shared/comm/uart.c | 2 +- .../libbsp/powerpc/beatnik/network/if_em/if_em.c | 2 +- .../lib/libbsp/powerpc/virtex4/startup/bspstart.c |

Re: [PATCH 1/6] basedefs.h: Add compiler attributes

2015-10-18 Thread Sebastian Huber
On 17/10/15 02:14, Chris Johns wrote: On 16/10/2015 5:59 pm, Sebastian Huber wrote: --- cpukit/score/include/rtems/score/basedefs.h | 41 - 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/cpukit/score/include/rtems/score/basedefs.h b/cpukit/score

Re: [PATCH 1/6] basedefs.h: Add compiler attributes

2015-10-18 Thread Sebastian Huber
On 19/10/15 07:50, Chris Johns wrote: On 19/10/2015 4:47 pm, Sebastian Huber wrote: Since its not explained what a '-' means in the RTEMS project its probably subject to interpretation. GCC and other GNU projects clarify this in READMEs for example. We should clarify this. Would y

Re: erc32 failures on master

2015-10-19 Thread Sebastian Huber
- Am 19. Okt 2015 um 20:51 schrieb Joel Sherrill joel.sherr...@oarcorp.com: > Hi > > psxcancel and spcontext01 fail on the master. This is https://devel.rtems.org/ticket/2402 and (SPARC floating point support on uni-processor configurations is not bullet proof) https://devel.rtems.org/

GCC -include option and waf

2015-10-19 Thread Sebastian Huber
;-o', 'freebsd/sys/contrib/ncsw/Peripherals/BM/bm.c.16.o'] E.g. what is the equivalent of $(top_srcdir) or $(srcdir) in waf? This -include is something else than a simple -I. It instructs GCC to include the specified file. So, this is a command line #include <...>. -- Seb

Re: [rtems commit] bsp/qoriq: Use U-Boot provided FDT

2015-10-20 Thread Sebastian Huber
ed until a better proposal is put forward. What is your alternative? There is no way for a QorIQ device as complex as a T4240 without FDT. On 19/10/2015 6:53 pm, Sebastian Huber wrote: > c/src/lib/libbsp/shared/include/fdt.h | 30 +++ > c/src/lib/libbsp/shar

Re: [rtems commit] libfdt: Initial import

2015-10-20 Thread Sebastian Huber
alternative (spending several man months to write a boot loader from scratch is not really an option for us). -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu

<    1   2   3   4   5   6   7   8   9   10   >