Re: [PATCH 00/16] Remove obsoleted APIs

2020-07-13 Thread Chris Johns
On 14/7/20 2:43 pm, Sebastian Huber wrote: > On 14/07/2020 06:25, Chris Johns wrote: > >> On 13/7/20 4:51 pm, Sebastian Huber wrote: >>> This patch set removes APIs obsoleted in RTEMS 5.1. >> Have the `use this` parts that are also being removed been capture somewhere >> so >> someone who drops

Re: [PATCH 00/16] Remove obsoleted APIs

2020-07-13 Thread Chris Johns
On 14/7/20 2:43 pm, Sebastian Huber wrote: > On 14/07/2020 06:25, Chris Johns wrote: > >> On 13/7/20 4:51 pm, Sebastian Huber wrote: >>> This patch set removes APIs obsoleted in RTEMS 5.1. >> Have the `use this` parts that are also being removed been capture somewhere >> so >> someone who drops

Re: [PATCH] build: Ensure mandatory compiler/linker flags

2020-07-13 Thread Sebastian Huber
On 14/07/2020 06:41, Chris Johns wrote: On 13/7/20 3:05 pm, Sebastian Huber wrote: On 13/07/2020 02:09, Chris Johns wrote: On 8/7/20 9:37 pm, Sebastian Huber wrote: On 08/07/2020 13:34, Chris Johns wrote: Are these flags needed for all BSPs? Yes, these flags are needed to build and use

Re: [PATCH 00/16] Remove obsoleted APIs

2020-07-13 Thread Sebastian Huber
On 14/07/2020 06:25, Chris Johns wrote: On 13/7/20 4:51 pm, Sebastian Huber wrote: This patch set removes APIs obsoleted in RTEMS 5.1. Have the `use this` parts that are also being removed been capture somewhere so someone who drops in after these are pushed knows how to fix something? They

Re: [PATCH] build: Ensure mandatory compiler/linker flags

2020-07-13 Thread Chris Johns
On 13/7/20 3:05 pm, Sebastian Huber wrote: > On 13/07/2020 02:09, Chris Johns wrote: >> On 8/7/20 9:37 pm, Sebastian Huber wrote: >>> On 08/07/2020 13:34, Chris Johns wrote: >>> Are these flags needed for all BSPs? >>> Yes, these flags are needed to build and use libbsd. >> >> Why not define

Re: [PATCH 00/16] Remove obsoleted APIs

2020-07-13 Thread Chris Johns
On 13/7/20 4:51 pm, Sebastian Huber wrote: > This patch set removes APIs obsoleted in RTEMS 5.1. Have the `use this` parts that are also being removed been capture somewhere so someone who drops in after these are pushed knows how to fix something? They seem useful. Chris

Re: [PATCH 01/16] rtems: Remove _RTEMS_version

2020-07-13 Thread Chris Johns
On 13/7/20 4:54 pm, Sebastian Huber wrote: > On 13/07/2020 08:51, Sebastian Huber wrote: >> diff --git a/bsps/shared/rtems-version.c b/bsps/shared/rtems-version.c >> index 99b98966e6..26f7a5731a 100644 >> --- a/bsps/shared/rtems-version.c >> +++ b/bsps/shared/rtems-version.c >> @@ -25,7 +25,7 @@

Re: [GSoC 2020: Daily Update]: Building EPICS with RTEMS5

2020-07-13 Thread Chris Johns
On 12/7/20 12:46 am, Heinz Junkes wrote: > It's not my experience. > > I made my first attempts with RTEMS5 for a beatnik-board (MVME6100). > For this I created the BSP like this: > >  cd build/b-beatnik >     ../../rtems/configure --enable-maintainer-mode > --prefix=$HOME/RTEMS/rtems-5 >

Re: [GSoC 2020: Daily Update]: Building EPICS with RTEMS5

2020-07-13 Thread Chris Johns
Could we please look at separate threads for these status posts, maybe one per week or per topic or something else? I do not think having mega-threads helps. Thanks Chris On 12/7/20 4:04 am, Mritunjay Sharma wrote: > > > On Sat, Jul 11, 2020 at 2:07 AM Gedare Bloom >

Re: [GSoC 2020: Daily Update]: Building EPICS with RTEMS5

2020-07-13 Thread Mritunjay Sharma
Hello everyone, Good news is that my new system is fully functional now with the development environment and I resumed the work today. What I was trying to do was build EPICS 7 with RTEMS 5 by hand for pc-386. As advised in the thread, in my new system, I built pc-386 with '--enable-networking'

Re: [PATCH] Fix for Beaglebone BSP PWM bug

2020-07-13 Thread James Fitzsimons
Hi Christian, Thanks very much for that, much appreciated. Cheers, James On Tue, 14 Jul 2020, 03:52 Christian Mauderer, wrote: > > > On 13/07/2020 11:55, James Fitzsimons wrote: > > Hi Christian and Chris, > > > > On Sun, 12 Jul 2020 at 06:27, Christian Mauderer >

[PATCH 2/2] added the test files for confstr

2020-07-13 Thread Eshan dhawan
closes #3373 Signed-off-by: Eshan dhawan --- libbsd.py | 1 + testsuite/confstr/test_main.c | 71 +++ 2 files changed, 72 insertions(+) create mode 100644 testsuite/confstr/test_main.c diff --git a/libbsd.py b/libbsd.py index

[PATCH 1/2] Confstr Port for RTEMS

2020-07-13 Thread Eshan dhawan
File added to LIBBSD Closes #3373 Signed-off-by: Eshan dhawan --- freebsd/lib/libc/gen/confstr.c | 127 + libbsd.py | 1 + 2 files changed, 128 insertions(+) create mode 100644 freebsd/lib/libc/gen/confstr.c diff --git

[PATCH] Strict thread-stack isolation

2020-07-13 Thread Utkarsh Rai
- This is the complete set of changes for strict isolation of thread stacks. - There needs to be a confiuration operation,(#if defined(USE_THREAD_STACK_PROTECTION) for simple configuration can be used) - The stack attributes are allocated through malloc, this needs to be done through score

Re: [PATCH] Changing pwm pinmux to use better register definitions

2020-07-13 Thread Christian Mauderer
Hello James, like said in the other Thread: I squashed it together with your first patch and pushed it. Thanks for the fix. Best regards Christian On 13/07/2020 11:53, James Fitzsimons wrote: > --- > bsps/arm/beagle/pwm/pwm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >

Re: [PATCH] Fix for Beaglebone BSP PWM bug

2020-07-13 Thread Christian Mauderer
On 13/07/2020 11:55, James Fitzsimons wrote: > Hi Christian and Chris, > > On Sun, 12 Jul 2020 at 06:27, Christian Mauderer > wrote: > > Hello Fitzsimons, > > sorry for the late review and thanks Chris for poking me. > > I have some troubles

Re: [PATCH 00/16] Remove obsoleted APIs

2020-07-13 Thread Sebastian Huber
On 13/07/2020 16:05, Gedare Bloom wrote: On Mon, Jul 13, 2020 at 8:01 AM Gedare Bloom wrote: looks good to me. this is good cleanup to do shortly after a release. I'm a little bit curious if there is a plan for how to deal with remaining deprecated interfaces. I see a lot of deprecated

Re: [PATCH 00/16] Remove obsoleted APIs

2020-07-13 Thread Gedare Bloom
On Mon, Jul 13, 2020 at 8:01 AM Gedare Bloom wrote: > > looks good to me. this is good cleanup to do shortly after a release. > I'm a little bit curious if there is a plan for how to deal with remaining deprecated interfaces. I see a lot of deprecated stuff still in the block/disk device driver

Re: [PATCH 00/16] Remove obsoleted APIs

2020-07-13 Thread Gedare Bloom
looks good to me. this is good cleanup to do shortly after a release. On Mon, Jul 13, 2020 at 12:52 AM Sebastian Huber wrote: > > This patch set removes APIs obsoleted in RTEMS 5.1. > > Sebastian Huber (16): > rtems: Remove _RTEMS_version > rtems: Remove RTEMS_MAXIMUM_NAME_LENGTH > rtems:

Re: Need help in understanding some of the existing code in RTEMS

2020-07-13 Thread Richi Dubey
Hi, We use a zero-length array in the definition of Scheduler_EDF_SMP_Context, but I can not see any code in scheduleredfsmp.c ( https://git.rtems.org/rtems/tree/cpukit/score/src/scheduleredfsmp.c) which actually

Re: [PATCH] Fix for Beaglebone BSP PWM bug

2020-07-13 Thread James Fitzsimons
Hi Christian and Chris, On Sun, 12 Jul 2020 at 06:27, Christian Mauderer wrote: > Hello Fitzsimons, > > sorry for the late review and thanks Chris for poking me. > > I have some troubles understanding the patch and the current code: > > == Regarding your patch: > > There is no pin GPMC_AD(18)

[PATCH] Changing pwm pinmux to use better register definitions

2020-07-13 Thread James Fitzsimons
--- bsps/arm/beagle/pwm/pwm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/arm/beagle/pwm/pwm.c b/bsps/arm/beagle/pwm/pwm.c index 9a346995aa..81ace1254e 100644 --- a/bsps/arm/beagle/pwm/pwm.c +++ b/bsps/arm/beagle/pwm/pwm.c @@ -102,9 +102,9 @@ bool

Re: [PATCH 01/16] rtems: Remove _RTEMS_version

2020-07-13 Thread Sebastian Huber
On 13/07/2020 08:51, Sebastian Huber wrote: diff --git a/bsps/shared/rtems-version.c b/bsps/shared/rtems-version.c index 99b98966e6..26f7a5731a 100644 --- a/bsps/shared/rtems-version.c +++ b/bsps/shared/rtems-version.c @@ -25,7 +25,7 @@ #error "Missing RTEMS_BSP" #endif -const char

[PATCH 11/16] rtems: Remove rtems_context_fp

2020-07-13 Thread Sebastian Huber
This type was deprecated in RTEMS 5.1. Close #3590. --- cpukit/include/rtems/rtems/types.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index 870d443dfe..cf748a0a5f 100644 ---

[PATCH 09/16] rtems: Remove rtems_rate_monotonic_period_time_t

2020-07-13 Thread Sebastian Huber
This type was deprecated in RTEMS 5.1. Close #3596. --- cpukit/include/rtems/rtems/ratemon.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/cpukit/include/rtems/rtems/ratemon.h b/cpukit/include/rtems/rtems/ratemon.h index c5918372a8..16d390d59f 100644 ---

[PATCH 10/16] rtems: Remove rtems_context

2020-07-13 Thread Sebastian Huber
This type was deprecated in RTEMS 5.1. Close #3588. --- cpukit/include/rtems/rtems/types.h | 5 - 1 file changed, 5 deletions(-) diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index b0600eb0a8..870d443dfe 100644 --- a/cpukit/include/rtems/rtems/types.h

[PATCH 08/16] rtems: Remove deprecated rtems_extension

2020-07-13 Thread Sebastian Huber
This type was deprecated in RTEMS 5.1. Close #3988. --- cpukit/include/rtems/extension.h | 3 --- cpukit/include/rtems/score/userext.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/cpukit/include/rtems/extension.h b/cpukit/include/rtems/extension.h index ec9ad7f83f..59d4839bf4 100644

[PATCH 04/16] rtems: Remove deprecated

2020-07-13 Thread Sebastian Huber
Close #3980. --- cpukit/headers.am | 1 - cpukit/include/rtems.h| 1 - cpukit/include/rtems/system.h | 46 --- 3 files changed, 48 deletions(-) delete mode 100644 cpukit/include/rtems/system.h diff --git a/cpukit/headers.am

[PATCH 14/16] rtems: Remove support for RTEMS_DEPRECATED_TYPES

2020-07-13 Thread Sebastian Huber
Close #3584. --- cpukit/include/rtems/rtems/types.h| 23 --- cpukit/include/rtems/score/basedefs.h | 6 -- 2 files changed, 29 deletions(-) diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index 994e097afa..e5dd1afc3b 100644 ---

[PATCH 05/16] rtems: Remove deprecated rtems_io_lookup_name()

2020-07-13 Thread Sebastian Huber
Close #3420. --- cpukit/include/rtems/io.h | 17 + cpukit/libfs/src/imfs/ioman.c | 21 - testsuites/sptests/sp21/init.c | 21 - 3 files changed, 1 insertion(+), 58 deletions(-) diff --git a/cpukit/include/rtems/io.h

[PATCH 12/16] rtems: Remove region_information_block

2020-07-13 Thread Sebastian Huber
This type was deprecated in RTEMS 5.1. Close #3592. --- cpukit/include/rtems/rtems/types.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index cf748a0a5f..51b8297113 100644 ---

[PATCH 03/16] rtems: Remove _Copyright_Notice from API header

2020-07-13 Thread Sebastian Huber
Close #3981. --- bsps/shared/rtems-version.c | 3 ++- cpukit/include/rtems/system.h | 9 - 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/bsps/shared/rtems-version.c b/bsps/shared/rtems-version.c index 26f7a5731a..930e643484 100644 --- a/bsps/shared/rtems-version.c +++

[PATCH 01/16] rtems: Remove _RTEMS_version

2020-07-13 Thread Sebastian Huber
Move declaration and rename constant in _Version_String. Close #3978. --- bsps/shared/rtems-version.c | 2 +- cpukit/include/rtems/score/copyrt.h | 5 + cpukit/include/rtems/system.h | 6 -- cpukit/sapi/src/getversionstring.c | 5 ++--- testsuites/sptests/spsize/size.c

[PATCH 15/16] rtems: Remove deprecated proc_ptr definition

2020-07-13 Thread Sebastian Huber
Close #3586. --- cpukit/include/rtems/score/basedefs.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h index 95d5fc2999..e301292375 100644 --- a/cpukit/include/rtems/score/basedefs.h +++

[PATCH 16/16] score: Remove deprecated Thread

2020-07-13 Thread Sebastian Huber
This type was deprecated in RTEMS 5.1. Close #3991. --- cpukit/include/rtems/score/thread.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/cpukit/include/rtems/score/thread.h b/cpukit/include/rtems/score/thread.h index 2e7380f99a..ee0aee5b79 100644 ---

[PATCH 07/16] rtems: Remove rtems_get_processor_count()

2020-07-13 Thread Sebastian Huber
This function was deprecated in RTEMS 5.1. Close #3990. --- cpukit/include/rtems/rtems/tasks.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/cpukit/include/rtems/rtems/tasks.h b/cpukit/include/rtems/rtems/tasks.h index 6580a209e1..12c323e60e 100644 ---

[PATCH 13/16] rtems: Remove rtems_thread_cpu_usage_t

2020-07-13 Thread Sebastian Huber
This type was deprecated in RTEMS 5.1. Close #3594. --- cpukit/include/rtems/rtems/types.h | 8 1 file changed, 8 deletions(-) diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index 51b8297113..994e097afa 100644 ---

[PATCH 06/16] rtems: Remove rtems_get_current_processor()

2020-07-13 Thread Sebastian Huber
This function was deprecated in RTEMS 5.1. Close #3989. --- cpukit/include/rtems/rtems/tasks.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/cpukit/include/rtems/rtems/tasks.h b/cpukit/include/rtems/rtems/tasks.h index a4af236b6b..6580a209e1 100644 ---

[PATCH 02/16] rtems: Remove RTEMS_MAXIMUM_NAME_LENGTH

2020-07-13 Thread Sebastian Huber
Close #3979. --- cpukit/include/rtems/system.h | 4 1 file changed, 4 deletions(-) diff --git a/cpukit/include/rtems/system.h b/cpukit/include/rtems/system.h index 3a2dff9721..a1018e2c86 100644 --- a/cpukit/include/rtems/system.h +++ b/cpukit/include/rtems/system.h @@ -44,10 +44,6 @@ extern

[PATCH 00/16] Remove obsoleted APIs

2020-07-13 Thread Sebastian Huber
This patch set removes APIs obsoleted in RTEMS 5.1. Sebastian Huber (16): rtems: Remove _RTEMS_version rtems: Remove RTEMS_MAXIMUM_NAME_LENGTH rtems: Remove _Copyright_Notice from API header rtems: Remove deprecated rtems: Remove deprecated rtems_io_lookup_name() rtems: Remove