Re: Applying an operation to a set of threads in RTEMS

2020-07-03 Thread Utkarsh Rai
On Sat, Jul 4, 2020 at 1:13 AM wrote: > This thought is intended to be evaluated, not adopted. What I meant was I > think you have a "bitmask" of threads that need access to a stack that is > similar to a "bitmask" of threads/processes that may be blocked in select. > The select-mask is a major

Re: ARM GCC machine options for RTEMS 6

2020-07-03 Thread Chris Johns
On 3/7/20 5:06 pm, Sebastian Huber wrote: > Hello, > > someone from ARM changed the machine options used to build the RTEMS multilibs > some time ago (I think GCC 8): Was a reason given? > > arm-rtems6-gcc -print-multi-lib -march=armv4t > .; > thumb;@mthumb > armv5te+fp/hard;@march=armv5te+fp@m

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

2020-07-03 Thread Mritunjay Sharma
[UPDATE]: After using --enable-posix, the 'make' in epics-base worked successfully. With all of yours support, there are no errors. Everything seems to be in order. Heinz, as you suggested, now I have built EPICS with RTEMS 4.10 for pc-386 and as advised that after this we can take care of RTEMS5

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

2020-07-03 Thread Mritunjay Sharma
Thank you so much Gedare, I will do it and revert back to you. Thanks Mritunjay On Sat, Jul 4, 2020 at 3:01 AM Gedare Bloom wrote: > On Fri, Jul 3, 2020 at 3:07 PM Mritunjay Sharma > wrote: > > > > > > > > On Fri, Jul 3, 2020 at 10:53 PM Mritunjay Sharma < > mritunjaysharma...@gmail.com> wrote

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

2020-07-03 Thread Gedare Bloom
On Fri, Jul 3, 2020 at 3:07 PM Mritunjay Sharma wrote: > > > > On Fri, Jul 3, 2020 at 10:53 PM Mritunjay Sharma > wrote: >> >> >> >> >> From: Gedare Bloom >> Sent: Friday, July 3, 2020 9:42 PM >> To: Mritunjay Sharma >> Cc: Heinz Junkes; Chris Johns; RTEMS Devel

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

2020-07-03 Thread Mritunjay Sharma
On Fri, Jul 3, 2020 at 10:53 PM Mritunjay Sharma < mritunjaysharma...@gmail.com> wrote: > > > -- > *From:* Gedare Bloom > *Sent:* Friday, July 3, 2020 9:42 PM > *To:* Mritunjay Sharma > *Cc:* Heinz Junkes; Chris Johns; RTEMS Devel > *Subject:* Re: [GSoC 2020: Daily Upd

Re: Applying an operation to a set of threads in RTEMS

2020-07-03 Thread dufault
This thought is intended to be evaluated, not adopted. What I meant was I think you have a "bitmask" of threads that need access to a stack that is similar to a "bitmask" of threads/processes that may be blocked in select. The select-mask is a major focus across operating systems. That's why I

Application configuration option documentation license change

2020-07-03 Thread Sebastian Huber
Hello, for your information, I carried out the license change of the application configuration options documentation. They are now under a dual CC-BY-SA-4.0 or BSD-2-Clause license. https://git.rtems.org/sebh/rtems-qual.git/commit/?id=c116767b19e109f007d683e477481af67d603816 This allows gene

Re: [PATCH 2/3] eng: Add build system chapter

2020-07-03 Thread Sebastian Huber
On 03/07/2020 17:09, Gedare Bloom wrote: On Fri, Jul 3, 2020 at 3:18 AM Sebastian Huber wrote: Update #3818. --- eng/build-system.rst | 406 +++ eng/index.rst| 1 + images/eng/bld-bsp.dot | 33 images/eng/bld-bsp.pdf | Bin 0

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

2020-07-03 Thread Mritunjay Sharma
From: Gedare Bloom Sent: Friday, July 3, 2020 9:42 PM To: Mritunjay Sharma Cc: Heinz Junkes; Chris Johns; RTEMS Devel Subject: Re: [GSoC 2020: Daily Update]: Building EPICS with RTEMS5 On Fri, Jul 3, 2020 at 9:17 AM Mritunjay Sharma wrote: > > Hello Heinz and e

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

2020-07-03 Thread Gedare Bloom
On Fri, Jul 3, 2020 at 9:17 AM Mritunjay Sharma wrote: > > Hello Heinz and everyone, > > Thank you so much, with this email, I will try to clear all the things, and > what is the status for now. > > First. let me tell you the current status: Vijay helped me last night in an > offlist discussion

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

2020-07-03 Thread Mritunjay Sharma
Hello Heinz and everyone, Thank you so much, with this email, I will try to clear all the things, and what is the status for now. First. let me tell you the current status: Vijay helped me last night in an offlist discussion to clear the confusions which I was having (I will mention them below) d

Re: ARM GCC machine options for RTEMS 6

2020-07-03 Thread Joel Sherrill
On Fri, Jul 3, 2020 at 2:06 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > someone from ARM changed the machine options used to build the RTEMS > multilibs some time ago (I think GCC 8): > > arm-rtems6-gcc -print-multi-lib -march=armv4t > .; > thumb;@mthumb > armv5te+

Re: Applying an operation to a set of threads in RTEMS

2020-07-03 Thread dufault
My thought is that it matches what is needed and is expected to be optimized. > On Jul 3, 2020, at 24:37 , Utkarsh Rai wrote: > > > > On Fri, Jul 3, 2020 at 1:32 AM Peter Dufault wrote: > I finally have gotten to reviewing Utkarsh's work in GSOC. One item that I > don't like is that there i

[PATCH v1 0/1] bsps/pc386: Fix IPI for non-consecutive Apic IDs

2020-07-03 Thread Jan Sommer
Hi, I had some time for more hardware testing of the SMP functionality on a PC. It turns out I missed a few places where the APICID <-> cpuid needed to be translated. This only occurs if the APIC Ids of different cores are not numbered consecutively, which qemu does. With this patch I can now run

[PATCH v1 1/1] bsps/pc386: Fix IPI for non-consecutive APICIDs

2020-07-03 Thread Jan Sommer
- properly use the cpu <-> apic maps for IPIs --- bsps/i386/pc386/start/smp-imps.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/bsps/i386/pc386/start/smp-imps.c b/bsps/i386/pc386/start/smp-imps.c index 0985b8f08f..763ac0afc7 100644 --- a/bsps/i386/pc386/sta

[PATCH 0/3] Document the new build system

2020-07-03 Thread Sebastian Huber
This patch set adds an updated documetation of the new build system. You can have a look at the generated documents here: https://ftp.rtems.org/pub/rtems/people/sebh/user.pdf https://ftp.rtems.org/pub/rtems/people/sebh/eng.pdf Changes from the previous version: * Doorstop was removed as the too

[PATCH 3/3] user: Document new build system

2020-07-03 Thread Sebastian Huber
Update #3818. --- user/bld/index.rst | 283 + user/index.rst | 1 + user/start/bootstrap.rst | 61 user/start/bsp-build.rst | 149 +-- user/start/bsp-test.rst| 14 +- user/start/index.rst | 1 - us

[PATCH 1/3] common: Enable numfig role

2020-07-03 Thread Sebastian Huber
--- common/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/conf.py b/common/conf.py index 257bc4e..8fb06db 100644 --- a/common/conf.py +++ b/common/conf.py @@ -75,6 +75,9 @@ exclude_patterns = [] # The name of the Pygments (syntax highlighting) style to use. pygments_style

ARM GCC machine options for RTEMS 6

2020-07-03 Thread Sebastian Huber
Hello, someone from ARM changed the machine options used to build the RTEMS multilibs some time ago (I think GCC 8): arm-rtems6-gcc -print-multi-lib -march=armv4t .; thumb;@mthumb armv5te+fp/hard;@march=armv5te+fp@mfloat-abi=hard thumb/armv6-m;@mthumb@march=armv6-m thumb/armv7-a;@mthumb@march=