Re: Question regarding newlib/libgloss

2019-10-14 Thread Sebastian Huber
you use Newlib/GCC configured for RTEMS for other systems. For example RTEMS provides its own GCC thread model and Newlib lock implementation. -- 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

Re: Arm Multilib Question

2019-10-11 Thread Sebastian Huber
=armv7-a+simd -mfloat-abi=hard Why do they use -mfpu=vfpv3-d16? This seems to be quite a non-standard ARMv7-A chip. -- 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: How to build multiple BSPs with waf?

2019-10-11 Thread Sebastian Huber
On 05/10/2019 01:50, Chris Johns wrote: On 4/10/19 11:33 pm, Sebastian Huber wrote: Hello, I tried to figure how a standard waf build can be configured so that out-of-tree or multiple build trees can be used. I couldn't get this working. The Samba project seems to have support for out-of-tree

Re: [PATCH v4] riscv: add freedom E310 Arty A7 bsp

2019-10-11 Thread Sebastian Huber
? Arty A7 100T has a 256 MB of RAM. So, do you want me to make RISCV_RAM_REGION_SIZE to default 64 MB for frdme310arty? Since we have now a BSP variant for this board I think it makes sense to have all RAM available by default. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D

Re: Testing the interrupt extension API?

2019-10-10 Thread Sebastian Huber
variant B supports only M0, so the vectors used by M1 and M2 are not used (disabled). -- 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 :

Re: Newlib updated .. x86 fenv support merged

2019-10-09 Thread Sebastian Huber
Hello Joel, I wait for an integration of some patches for a libbsd update to the latest FreeBSD master branch. I would like to update the RSB once this is done. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH 1/3] rtems/confdefs.h add another initial extension set

2019-10-07 Thread Sebastian Huber
On 04/10/2019 16:05, Joel Sherrill wrote: On Fri, Oct 4, 2019 at 12:02 AM Sebastian Huber <mailto:sebastian.hu...@embedded-brains.de>> wrote: On 04/10/2019 00:08, Joel Sherrill wrote: > This adds back the capability for the BSP to configure an > in

Re: [PATCH 2/3] Add hook for BSP to act when time is set

2019-10-07 Thread Sebastian Huber
code paths non-paravirtualized environments. A generalization of the API is easy and may be beneficial in the future (e.g. use in RTC drivers). At the moment I don't see a need for a public API. We can add a wrapper later if necessary. -- Sebastian Huber, embedded brains GmbH Address

Re: How to build start.o using waf?

2019-10-07 Thread Sebastian Huber
On 05/10/2019 01:05, Chris Johns wrote: On 4/10/19 5:55 pm, Sebastian Huber wrote: On 04/10/2019 09:20, Chris Johns wrote: On 4/10/19 4:21 pm, Sebastian Huber wrote: On 03/10/2019 04:32, Chris Johns wrote: On 3/10/19 3:30 am, Gedare Bloom wrote: On Wed, Oct 2, 2019 at 5:12 AM Sebastian

[PATCH] Add CC-BY-SA-4.0 license text

2019-10-06 Thread Sebastian Huber
Retrieved from: https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt This license is inteded for code which are shared with the documentation, e.g code examples. Such code should be dual licensed BSD-2-Clause or CC-BY-SA-4.0 with the following license identifier:

Re: Adding RTEMS_INTERRUPTED

2019-10-06 Thread Sebastian Huber
Hallo Joel, I am in favour of RTEMS_INTERRUPTED and not RTEMS_EINTER since abbreviations are not used in the Classic API in general. -- 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: Use YAML configuration files for the build?

2019-10-04 Thread Sebastian Huber
- Am 4. Okt 2019 um 19:41 schrieb joel j...@rtems.org: > On Fri, Oct 4, 2019 at 12:25 PM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> - Am 4. Okt 2019 um 16:15 schrieb joel j...@rtems.org: >> >> > On Fri, Oct 4, 2019 at 8:29 AM

Re: Use YAML configuration files for the build?

2019-10-04 Thread Sebastian Huber
- Am 4. Okt 2019 um 16:15 schrieb joel j...@rtems.org: > On Fri, Oct 4, 2019 at 8:29 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> Hello, >> >> I would like to use YAML configuration files for the new build system. >> > >

How to build multiple BSPs with waf?

2019-10-04 Thread Sebastian Huber
BSPs (or one BSP with different options) with waf? -- 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

Use YAML configuration files for the build?

2019-10-04 Thread Sebastian Huber
library. So, everyone building RTEMS would be required to install the PyYAML package. On a Linux distribution this should be easily available. It can be also installed via "pip install pyyaml". -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Ger

[PATCH] ttest01: Adjust SPDX-License-Identifier

2019-10-04 Thread Sebastian Huber
Update #3199. --- testsuites/libtests/ttest01/test-example.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testsuites/libtests/ttest01/test-example.c b/testsuites/libtests/ttest01/test-example.c index bcbf7b33b0..0e68b014c9 100644 ---

[PATCH 3/3] linkersets: Avoid use of zero-length array

2019-10-04 Thread Sebastian Huber
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead. --- cpukit/include/rtems/linkersets.h | 34 ++ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/cpukit/include/rtems/linkersets.h b/cpukit/include/rtems/linkersets.h index bad046999c..4a23d7a696

[PATCH 1/3] score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION()

2019-10-04 Thread Sebastian Huber
Update #3799. --- cpukit/include/rtems/score/basedefs.h | 19 +++ testsuites/sptests/spmisc01/init.c| 7 +++ 2 files changed, 26 insertions(+) diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h index 782958920c..5f38559b6d 100644

[PATCH 2/3] config: Avoid zero-length array

2019-10-04 Thread Sebastian Huber
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead. Close #3799. --- cpukit/include/rtems/confdefs.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index 5eb5425283..4e6b91ad2c 100644 ---

Re: How to build start.o using waf?

2019-10-04 Thread Sebastian Huber
On 04/10/2019 09:20, Chris Johns wrote: On 4/10/19 4:21 pm, Sebastian Huber wrote: On 03/10/2019 04:32, Chris Johns wrote: On 3/10/19 3:30 am, Gedare Bloom wrote: On Wed, Oct 2, 2019 at 5:12 AM Sebastian Huber wrote: On 30/09/2019 15:14, Sebastian Huber wrote: Hello, I would like to work

Re: Testing the interrupt extension API?

2019-10-04 Thread Sebastian Huber
On 03/10/2019 07:44, Chris Johns wrote: On 2/10/19 5:28 pm, Sebastian Huber wrote: the interrupt extension API implementation is already quite complex and not covered by the test suite: https://git.rtems.org/rtems/tree/bsps/shared/irq In order to write generic tests for this we have to know

Re: Testing the interrupt extension API?

2019-10-04 Thread Sebastian Huber
On 02/10/2019 19:44, Gedare Bloom wrote: On Wed, Oct 2, 2019 at 1:28 AM Sebastian Huber wrote: Hello, the interrupt extension API implementation is already quite complex and not covered by the test suite: https://git.rtems.org/rtems/tree/bsps/shared/irq In order to write generic tests

Re: [PATCH 2/3] Add hook for BSP to act when time is set

2019-10-04 Thread Sebastian Huber
On 04/10/2019 08:06, Chris Johns wrote: On 4/10/19 3:10 pm, Sebastian Huber wrote: On 04/10/2019 04:44, Chris Johns wrote: Is this only useful for virtual BSPs and is it always a requirement to implement this call in those environments? Would this call be useful to a non-virtual BSP

Re: Waf and Ada?

2019-10-04 Thread Sebastian Huber
On 04/10/2019 08:08, Chris Johns wrote: On 4/10/19 3:17 pm, Sebastian Huber wrote: On 03/10/2019 04:38, Chris Johns wrote: On 2/10/19 9:21 pm, Sebastian Huber wrote: the waf build prototype contains no examples for building Ada objects, libraries and executables. https://git.rtems.org/amar

Re: How to build start.o using waf?

2019-10-04 Thread Sebastian Huber
On 03/10/2019 04:32, Chris Johns wrote: On 3/10/19 3:30 am, Gedare Bloom wrote: On Wed, Oct 2, 2019 at 5:12 AM Sebastian Huber wrote: On 30/09/2019 15:14, Sebastian Huber wrote: Hello, I would like to work on a new build system prototype. The idea is to use specification items maintained

Re: [PATCH v2 3/3] ttest01: New test

2019-10-03 Thread Sebastian Huber
On 02/10/2019 19:48, Gedare Bloom wrote: On Tue, Oct 1, 2019 at 10:52 PM Sebastian Huber wrote: On 01/10/2019 23:40, Gedare Bloom wrote: +/* + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-License-Identifier: CC-BY-SA-4.0 + * + * Copyright (C) 2018, 2019 embedded brains GmbH

Re: Waf and Ada?

2019-10-03 Thread Sebastian Huber
On 03/10/2019 04:38, Chris Johns wrote: On 2/10/19 9:21 pm, Sebastian Huber wrote: the waf build prototype contains no examples for building Ada objects, libraries and executables. https://git.rtems.org/amar/waf-old.git/ Searching the internet revealed also nothing. It would be great to have

Re: [PATCH 2/3] Add hook for BSP to act when time is set

2019-10-03 Thread Sebastian Huber
one hook, e.g. typedef enum { TOD_ACTION_SET_CLOCK } TOD_Action; typedef struct TOD_Hook { Chain_Node Node; int (*handler)(struct TOD_Handler *, TOD_Action, const struct timespec *); } TOD_Hook; -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany

Re: [PATCH 1/3] rtems/confdefs.h add another initial extension set

2019-10-03 Thread Sebastian Huber
don't think this patch is necessary. A BSP is free to provide its own initial extension. Just don't add the #include to the bsp.h. -- 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

Waf and Ada?

2019-10-02 Thread Sebastian Huber
). -- 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

Re: How to build start.o using waf?

2019-10-02 Thread Sebastian Huber
On 30/09/2019 15:14, Sebastian Huber wrote: Hello, I would like to work on a new build system prototype. The idea is to use specification items maintained by Doorstop (YAML files), a Python configuration script and waf to build RTEMS and the tests. This is similar to the libbsd build

Testing the interrupt extension API?

2019-10-02 Thread Sebastian Huber
rtems_interrupt_get_capabilities( rtems_vector_number vector, rtems_interrupt_capabilities *capabilities ); Interrupts with cap.can_raise set and cap.has_peripheral cleared can be safely software controlled and used for tests. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr

[PATCH v3] user: Document patch review process

2019-10-02 Thread Sebastian Huber
--- v2: * Added ticket comments to checklist for patches. * Added checklist for patches step to figure:

[PATCH v2] user: Document patch review process

2019-10-02 Thread Sebastian Huber
--- v2: * Added ticket comments to checklist for patches. * Added checklist for patches step to figure:

[PATCH 1/2] libtest: Add more action events

2019-10-02 Thread Sebastian Huber
This allows more control over the initialization and finalization run. Update #3199. --- cpukit/include/t.h | 6 -- cpukit/libtest/t-test-hash-sha256.c | 4 ++-- cpukit/libtest/t-test-rtems-fds.c | 2 +- cpukit/libtest/t-test-rtems-heap.c | 2 +-

[PATCH 2/2] ttest01: Check init/final run output

2019-10-02 Thread Sebastian Huber
Update #3199. --- testsuites/libtests/ttest01/init.c | 85 ++ 1 file changed, 85 insertions(+) diff --git a/testsuites/libtests/ttest01/init.c b/testsuites/libtests/ttest01/init.c index cb4ad95829..44ffadf112 100644 --- a/testsuites/libtests/ttest01/init.c

Re: [PATCH v2 3/3] ttest01: New test

2019-10-01 Thread Sebastian Huber
m a single source - the interface specification items. -- 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 reque

[PATCH 3/3] ttest01: Add test outputs all test cases

2019-10-01 Thread Sebastian Huber
From: Mikail Yayla --- testsuites/libtests/ttest01/test-assert.c | 21 + testsuites/libtests/ttest01/test-checks.c | 2503 + testsuites/libtests/ttest01/test-destructor.c |7 + testsuites/libtests/ttest01/test-eno.c| 20 +

[PATCH 2/3] ttest01: Add more test cases

2019-10-01 Thread Sebastian Huber
Update #3199. --- testsuites/libtests/Makefile.am | 15 + testsuites/libtests/ttest01/init.c| 54 +- testsuites/libtests/ttest01/test-assert.c | 90 + testsuites/libtests/ttest01/test-checks.c | 2914 +

[PATCH 1/3] libtest: Do all output in test runner

2019-10-01 Thread Sebastian Huber
This ensures that lines are output atomically if they are produced by different other contexts, e.g. interrupts, other processors, other threads. Update #3199. --- cpukit/include/t.h | 2 + cpukit/libtest/t-test.c| 138 ++---

[PATCH 1/3] score: Remove superfluous timecounter members

2019-10-01 Thread Sebastian Huber
--- cpukit/include/sys/timetc.h | 4 +++- cpukit/score/src/kern_tc.c| 10 +++--- testsuites/sptests/sptimecounter01/init.c | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/cpukit/include/sys/timetc.h b/cpukit/include/sys/timetc.h index

[PATCH 3/3] score: Install timecounter according to quality

2019-10-01 Thread Sebastian Huber
This makes it possible to install higher quality timecounter in plug-and-play systems and helps to override the clock driver provided timecounter in some test scenarios. --- cpukit/score/src/kern_tc.c| 2 + testsuites/sptests/sptimecounter01/init.c | 101

[PATCH 2/3] score: Remove strange timecounter init step

2019-10-01 Thread Sebastian Huber
The double call of the timecounter get method was added to FreeBSD in 2002 without a comment. It is not clear why this is needed. --- cpukit/score/src/kern_tc.c| 2 +- testsuites/sptests/sptimecounter01/init.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-)

Re: [PATCH] user: Document patch review process

2019-10-01 Thread Sebastian Huber
On 01/10/2019 09:22, Chris Johns wrote: On 1/10/19 3:50 pm, Sebastian Huber wrote: On 01/10/2019 01:40, Chris Johns wrote: On 30/9/19 10:45 pm, Sebastian Huber wrote: [...] +* The patch builds.  All RTEMS tests link with this patch. + +* The patch does not introduce new compiler warnings

[PATCH] dosfs: Fix format with media block sizes > 512

2019-10-01 Thread Sebastian Huber
--- cpukit/libfs/src/dosfs/msdos_format.c | 93 +-- 1 file changed, 46 insertions(+), 47 deletions(-) diff --git a/cpukit/libfs/src/dosfs/msdos_format.c b/cpukit/libfs/src/dosfs/msdos_format.c index 42f1d74575..326040f004 100644 ---

[PATCH] bsp/erc32: Improve pseudo-SMP support

2019-10-01 Thread Sebastian Huber
Add support for _SMP_Send_message() to the own processor. This is required by the smpmulticast01 test program. --- bsps/sparc/erc32/start/bspsmp.c | 84 c/src/lib/libbsp/sparc/erc32/Makefile.am | 3 +- 2 files changed, 85 insertions(+), 2 deletions(-)

Re: [PATCH] user: Document patch review process

2019-09-30 Thread Sebastian Huber
On 01/10/2019 01:40, Chris Johns wrote: On 30/9/19 10:45 pm, Sebastian Huber wrote: --- images/user/patch-review.png | Bin 0 -> 57130 bytes images/user/patch-review.puml | 44 +++ user/support/contrib.rst | 67 +-

How to build start.o using waf?

2019-09-30 Thread Sebastian Huber
is maintained directly in Python code (libbsd.py). How do you build a singe object file (start.o) from assembly files in waf? An example would be great. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189

Re: [PATCH] eng: Add Software Requirements Engineering chapter

2019-09-30 Thread Sebastian Huber
On 24/07/2019 15:44, Sebastian Huber wrote: +Requirement Traceability + + +The standard |E10-06| demands that requirements shall be under configuration +management, backwards-traceable and forward-traceable. + +History of Requirements +--- + +The RTEMS

[PATCH] user: Document patch review process

2019-09-30 Thread Sebastian Huber
--- images/user/patch-review.png | Bin 0 -> 57130 bytes images/user/patch-review.puml | 44 +++ user/support/contrib.rst | 67 +- 3 files changed, 97 insertions(+), 14 deletions(-) create mode 100644

[PATCH] MAINTAINERS: Remove Martin Galvan

2019-09-30 Thread Sebastian Huber
Remove Martin Galvan due to inactivity from the Write After Approval list. --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 2732d773c4..68137a80d9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -48,7 +48,6 @@ Write After Approval

[PATCH 1/2] Move contributing content from eng to user

2019-09-30 Thread Sebastian Huber
rst @@ -2,6 +2,7 @@ .. Copyright (C) 2019 embedded brains GmbH .. Copyright (C) 2019 Sebastian Huber +.. Copyright (C) 2018 Joel Sherill .. Copyright (C) 2016 Chris Johns .. index:: community; developers @@ -15,3 +16,148 @@ Developers can find help and support on the :r:list:`devel`. Technical documents

[PATCH 2/2] user: Update contributing section

2019-09-30 Thread Sebastian Huber
--- user/support/contrib.rst | 41 +++-- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/user/support/contrib.rst b/user/support/contrib.rst index fb95e34..04c5dd8 100644 --- a/user/support/contrib.rst +++ b/user/support/contrib.rst @@ -21,8

[PATCH] eng: Update issue tracking section

2019-09-30 Thread Sebastian Huber
-Identifier: CC-BY-SA-4.0 -.. Copyright (C) 2018. -.. COMMENT: RTEMS Foundation, The RTEMS Documentation Project +.. Copyright (C) 2019 embedded brains GmbH +.. Copyright (C) 2019 Sebastian Huber +.. Copyright (C) 2018 Joel Sherill Issue Tracking ** -TBD Review process, workflows, etc

Re: [PATCH v3] riscv: add freedom E310 Arty A7 bsp

2019-09-30 Thread Sebastian Huber
over all nodes of the device tree, please add the support for your driver to this loop. -- 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

Re: Help on Newlib x86_64 fenv.h

2019-09-29 Thread Sebastian Huber
Hello Joel, why did you omit the USE_LIBTOOL in newlib/libm/machine/x86_64/Makefile.am which is present in newlib/libm/machine/i386/Makefile.am ? If it is not needed any more, then maybe it should get removed everywhere. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D

Re: libbsd update of master branch

2019-09-25 Thread Sebastian Huber
On 25/09/2019 13:10, mko wrote: On 25/09/2019, at 11:07 PM, Sebastian Huber wrote: On 25/09/2019 13:00, Sebastian Huber wrote: On 25/09/2019 12:37, mko wrote: I just checked the freebsd branch, it’s on Freebsd-12-Stable. Have you consider using the coming FreeBSD-12.1-Release? It’s

Re: libbsd update of master branch

2019-09-25 Thread Sebastian Huber
On 25/09/2019 13:00, Sebastian Huber wrote: On 25/09/2019 12:37, mko wrote: I just checked the freebsd branch, it’s on Freebsd-12-Stable. Have you consider using the coming FreeBSD-12.1-Release? It’s in Beta, and the official release will be on November. I track the stable/12 branch so

Re: libbsd update of master branch

2019-09-25 Thread Sebastian Huber
. -- 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

Re: libbsd update of master branch

2019-09-25 Thread Sebastian Huber
On 20/09/2019 06:55, Sebastian Huber wrote: Hello, are there any pending patches for the libbsd master branch? I would like to update to the latest FreeBSD trunk early next week. I am done with the update and wait currently for some Newlib patch integrations. -- Sebastian Huber, embedded

Newlib update?

2019-09-25 Thread Sebastian Huber
Hello, I would like to update Newlib soon to update the libbsd. What is the status of the fenv.h support which is broken on i386 and x86_64? -- 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

Re: BSD licensed Picolibc 1.0 released

2019-09-25 Thread Sebastian Huber
support. -- 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

Re: [PATCH] implementation of smp test smpmrsp02

2019-09-25 Thread Sebastian Huber
The coding style is not really in line with what is already present in the test suite, but this would be not an issue for me. Please make sure that the tests compile without warnings (I didn't check this). -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, G

Re: What opens stdout? printf() fails after rtems-tester printf() succeeds.

2019-09-24 Thread Sebastian Huber
Hello Peter, did you configure the console driver? https://docs.rtems.org/branches/master/c-user/configuring_a_system.html#configure-application-needs-console-driver -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax

Re: [rtems-libbsd commit] Add pselect()

2019-09-24 Thread Sebastian Huber
. -- 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

Re: LLVM on openSUSE 15.1

2019-09-24 Thread Sebastian Huber
ilder/rtems/build/rtems-llvm-8.0.1-x86_64-linux-gnu-1/llvm-8.0.1/tools/lldb/source/Core/IOHandler.cpp:14:10: fatal error: panel.h: No such file or directory #include ^ compilation terminated. This looks like an openSUSE problem: https://build.opensuse.org/package/view_file

Re: libbsd build problem on powerpc

2019-09-20 Thread Sebastian Huber
On 20/09/2019 12:54, Chris Johns wrote: On 20 Sep 2019, at 5:38 pm, Sebastian Huber wrote: I get the following build error on powerpc with the libbsd: Is this with master? No, the 5-freebsd-12 branch. /scratch/git-rtems-libbsd (5-freebsd-12) > ./waf -j 1 Waf: Entering direct

libbsd build problem on powerpc

2019-09-20 Thread Sebastian Huber
h exit status 1 (run with -v to display more information) I tried to understand how the TestIfHeaderComposer() works, but I did't figure out what the purpose of the "define_keys" is. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49

libbsd update of master branch

2019-09-19 Thread Sebastian Huber
Hello, are there any pending patches for the libbsd master branch? I would like to update to the latest FreeBSD trunk early next week. -- 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

Re: LLVM on openSUSE 15.1

2019-09-18 Thread Sebastian Huber
duplicate adds in a simple way and remove the duplicate patch. Note, the detection can be easily be beaten if the arguments are not the same in same order. Thanks for fixing this. I didn't take into account that the RTEMS file includes the bare/devel file. -- Sebastian Huber, embedded brains GmbH

Re: LLVM on openSUSE 15.1

2019-09-18 Thread Sebastian Huber
On 18/09/2019 10:29, Chris Johns wrote: On 18/9/19 4:09 pm, Sebastian Huber wrote: On 18/09/2019 07:40, Chris Johns wrote: On 18/9/19 3:36 pm, Sebastian Huber wrote: On 17/09/2019 08:07, Sebastian Huber wrote: On 17/09/2019 08:07, Chris Johns wrote: On 17/9/19 3:32 pm, Sebastian Huber

Re: LLVM on openSUSE 15.1

2019-09-18 Thread Sebastian Huber
On 18/09/2019 07:40, Chris Johns wrote: On 18/9/19 3:36 pm, Sebastian Huber wrote: On 17/09/2019 08:07, Sebastian Huber wrote: On 17/09/2019 08:07, Chris Johns wrote: On 17/9/19 3:32 pm, Sebastian Huber wrote: Hello, I didn't get far: config.status: creating t/wrap/automake-1.12 + make

Re: LLVM on openSUSE 15.1

2019-09-17 Thread Sebastian Huber
On 17/09/2019 08:07, Sebastian Huber wrote: On 17/09/2019 08:07, Chris Johns wrote: On 17/9/19 3:32 pm, Sebastian Huber wrote: Hello, I didn't get far: config.status: creating t/wrap/automake-1.12 + make -j 12 all    GEN  automake    GEN  aclocal    GEN  t/ax/shell-no-trail

Re: LLVM on openSUSE 15.1

2019-09-17 Thread Sebastian Huber
On 17/09/2019 08:07, Sebastian Huber wrote: On 17/09/2019 08:07, Chris Johns wrote: On 17/9/19 3:32 pm, Sebastian Huber wrote: Hello, I didn't get far: config.status: creating t/wrap/automake-1.12 + make -j 12 all    GEN  automake    GEN  aclocal    GEN  t/ax/shell-no-trail

Re: LLVM on openSUSE 15.1

2019-09-17 Thread Sebastian Huber
On 17/09/2019 08:07, Chris Johns wrote: On 17/9/19 3:32 pm, Sebastian Huber wrote: Hello, I didn't get far: config.status: creating t/wrap/automake-1.12 + make -j 12 all   GEN  automake   GEN  aclocal   GEN  t/ax/shell-no-trail-bslash   GEN  doc/aclocal.1   GEN  doc

LLVM on openSUSE 15.1

2019-09-16 Thread Sebastian Huber
ems-source-builder/rtems/build/rtems-llvm-8.0.1-x86_64-linux-gnu-1/llvm-8.0.1/tools/lldb/scripts/Python/modules/readline I guess I will stick to the openSUSE package for LLVM. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax

Re: Add chapter for newib build in RTEMS Docs

2019-09-12 Thread Sebastian Huber
nitely aim to consolidate the documentation set and not add new documents. I would put this topic into the RTEMS Software Engineering. -- 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 : se

Re: [PATCH v2] Correct initial POSIX signals mask

2019-09-12 Thread Sebastian Huber
when using a POSIX Initialization thread and POSIX threads. + Adds psxsignal08 to verify functionality when using a Classic API Initialization task and Classic API tasks. Closes #3794. Looks good. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D

Re: [PATCH] Correct initial POSIX signals mask

2019-09-12 Thread Sebastian Huber
tle on SMP systems. Can't you use the executing thread instead, e.g. if _Objects_Get_API( executing->Object.id ) == OBJECTS_INTERNAL_API, then api->signals_unblocked = SIGNAL_ALL_MASK? -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49

Re: [RTEMS][PATCH v2 0/2] riscv: add freedom E310 Arty A7

2019-09-11 Thread Sebastian Huber
would Linux know about the device tree? The bootloader must provide this information. -- 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

Re: [RTEMS][PATCH v2 0/2] riscv: add freedom E310 Arty A7

2019-09-11 Thread Sebastian Huber
hat's your suggestion on this? Yes, this sounds good. If there are to many places with this define, then we have to think again how to proceed. -- 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

Re: [RTEMS][PATCH v2 0/2] riscv: add freedom E310 Arty A7

2019-09-11 Thread Sebastian Huber
/dev They should be initialized in a BSP for example through the device tree. Currently, we lack a proper generic initialization via the device tree. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47

Re: MrsP Testbed

2019-09-10 Thread Sebastian Huber
/tree/LICENSE.BSD-2-Clause Please send a complete patch so that I can build your test case and run it. -- 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

Re: rtems-addr2line not working on ARM?

2019-09-10 Thread Sebastian Huber
Hello, I checked in the variant using LLVM: https://git.rtems.org/rtems-tools/commit/?id=5d80d0b2e1de9decb24c2d7ef481e4b63525595e I hope that I got the waf configure stuff right to only use LLVM if it is installed. I tested on Linux, msys2 and mingw64. -- Sebastian Huber, embedded brains

[PATCH] Add rtems_version_control_key_is_valid()

2019-09-10 Thread Sebastian Huber
--- cpukit/include/rtems/version.h| 19 +-- testsuites/sptests/spversion01/init.c | 8 +++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/cpukit/include/rtems/version.h b/cpukit/include/rtems/version.h index 30dd70cc21..a8aff732f3 100644 ---

Re: rtems-addr2line not working on ARM?

2019-09-09 Thread Sebastian Huber
On 09/09/2019 07:31, Sebastian Huber wrote: On 07/09/2019 16:25, Sebastian Huber wrote: - Am 6. Sep 2019 um 18:06 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: - Am 6. Sep 2019 um 11:09 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: On 06/09/2019 09:26

Re: rtems-addr2line not working on ARM?

2019-09-08 Thread Sebastian Huber
On 07/09/2019 16:25, Sebastian Huber wrote: - Am 6. Sep 2019 um 18:06 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: - Am 6. Sep 2019 um 11:09 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: On 06/09/2019 09:26, Sebastian Huber wrote: On 06/09/2019 09:01

Re: rtems-addr2line not working on ARM?

2019-09-07 Thread Sebastian Huber
- Am 6. Sep 2019 um 18:06 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: > - Am 6. Sep 2019 um 11:09 schrieb Sebastian Huber > sebastian.hu...@embedded-brains.de: > >> On 06/09/2019 09:26, Sebastian Huber wrote: >>> On 06/09/2019 09:01, Chris Johns

Re: rtems-addr2line not working on ARM?

2019-09-06 Thread Sebastian Huber
- Am 6. Sep 2019 um 11:09 schrieb Sebastian Huber sebastian.hu...@embedded-brains.de: > On 06/09/2019 09:26, Sebastian Huber wrote: >> On 06/09/2019 09:01, Chris Johns wrote: >>> On 6/9/19 4:20 pm, Sebastian Huber wrote: >>>> Hello, >>>> >>

Re: [PATCH] record: Add wrappers for malloc() functions

2019-09-06 Thread Sebastian Huber
On 02/09/2019 08:00, Chris Johns wrote: On 2/9/19 3:37 pm, Sebastian Huber wrote: On 01/09/2019 04:29, Chris Johns wrote: On 30/8/19 11:07 pm, Sebastian Huber wrote: Introduce new library librtemsrecordwrap.a which contains wrappers for operating system functions which produce entry/exit

[PATCH] rtems: Make rtems_version_control_key() safer

2019-09-06 Thread Sebastian Huber
Return the empty string instead of a NULL pointer if no version key is available. --- cpukit/include/rtems/version.h | 9 ++--- cpukit/sapi/src/version.c | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/cpukit/include/rtems/version.h b/cpukit/include/rtems/version.h

Re: [PATCH] record: Use addr2line to link to the source code

2019-09-06 Thread Sebastian Huber
Using the native GNU "addr2line" tool delivers different results if I use the same input on Linux and MSYS2. So, this a approach is not really great. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax :

Re: rtems-addr2line not working on ARM?

2019-09-06 Thread Sebastian Huber
On 06/09/2019 09:26, Sebastian Huber wrote: On 06/09/2019 09:01, Chris Johns wrote: On 6/9/19 4:20 pm, Sebastian Huber wrote: Hello, I tried the rtems-addr2line on ARM and SPARC. On SPARC it seems to work fine, however, on ARM I get this: rtems-addr2line -e build/arm-rtems5

[PATCH] record: Use addr2line to link to the source code

2019-09-06 Thread Sebastian Huber
Update #3665. --- trace/record/record-main-lttng.cc | 221 ++ trace/wscript | 12 ++- 2 files changed, 188 insertions(+), 45 deletions(-) diff --git a/trace/record/record-main-lttng.cc b/trace/record/record-main-lttng.cc index

Re: rtems-addr2line not working on ARM?

2019-09-06 Thread Sebastian Huber
On 06/09/2019 09:01, Chris Johns wrote: On 6/9/19 4:20 pm, Sebastian Huber wrote: Hello, I tried the rtems-addr2line on ARM and SPARC. On SPARC it seems to work fine, however, on ARM I get this: rtems-addr2line -e build/arm-rtems5-xilinx_zynq_a9_qemu-everything/media01.exe 0x135a /home/EB

rtems-addr2line not working on ARM?

2019-09-06 Thread Sebastian Huber
e () || !!line.is_an_end_sequence ())) { match = line; } else { match = line; } } } -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax

Re: [rtems commit] Add a parallel bootstrap command.

2019-09-05 Thread Sebastian Huber
Hello Joel, I may have time to work on a new build system later this year. So, I would not put too much work into the existing solutions. - Am 5. Sep 2019 um 14:51 schrieb joel j...@rtems.org: > Hi > > Any chance, the parallel version will ever functionally replace bootstrap? > It needs

Re: [PATCH] record: Add support for interrupt handlers

2019-09-05 Thread Sebastian Huber
- Am 5. Sep 2019 um 7:29 schrieb Chris Johns chr...@rtems.org: > On 5/9/19 2:42 pm, Sebastian Huber wrote: >> - Am 5. Sep 2019 um 0:28 schrieb Chris Johns chr...@rtems.org: >> >>> On 4/9/19 9:46 pm, Sebastian Huber wrote: [...] >>> Also it should be `

Re: Wrap Interrupt Handlers for Recording?

2019-09-04 Thread Sebastian Huber
- Am 5. Sep 2019 um 7:25 schrieb Chris Johns chr...@rtems.org: > On 5/9/19 2:25 pm, Sebastian Huber wrote: >> - Am 4. Sep 2019 um 23:41 schrieb Chris Johns chr...@rtems.org: >> >>> On 5/9/19 2:09 am, Sebastian Huber wrote: >>>> Hello, >>>&

Re: MrsP Testbed

2019-09-04 Thread Sebastian Huber
Hello Ricardo, - Am 4. Sep 2019 um 15:52 schrieb Ricardo Gomes (1161078) 1161...@isep.ipp.pt: > Greetings, > > During the last six months, I have been studying RTEMS as part of my final > project to complete my degree, more specifically analysing the MrsP protocol > in > order to perform

  1   2   3   4   5   6   7   8   9   10   >