Regarding BSP executable conversion

2021-04-12 Thread Ayushman Mishra
Hello everyone ,
I am working on project "BSP Executable Conversion"
(https://devel.rtems.org/ticket/4272) where I have to make BSP
specific script for conversion of executables from RTEMS executable
format to the BSP boot loader format so that it can run on target.
I know that the previous version of RTEMS had bsp-post-link in some
BSPs which helped in conversion of BSP executables but it's disabled
in the present version to simplify the build process. It would be
really helpful to know what is the current situation regarding the
conversion of BSP executable, that is how BSP specific executable runs
on target in current version of RTEMS . I have checked the executable
section of the user manual
https://docs.rtems.org/branches/master/user/exe/executables.html but
could not get a specific answer regarding the executables installed
along with installation of BSP.
Also I would be grateful if anyone can please point out some example
regarding it.
Thanks , Ayushman
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


GSOC project: BSP Executable Conversion

2021-04-12 Thread Ayushman Mishra
This is a gentle reminder , if someone can please help me review my
proposal for the project # 4272 BSP Executable Conversion
(https://devel.rtems.org/ticket/4272) and point out some errors which
I may have made especially in the proposed schedule part.
https://docs.google.com/document/d/19HeKc6W2ng2X8PoCMVi68A1Z1BbO5D7C0xVHhkgMgBY/edit?usp=sharing
Thanks , Ayushman
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: GSOC project: #4272 BSP Executable Conversion

2021-04-11 Thread Ayushman Mishra
Hello everyone ,
I am working on project "BSP Executable Conversion"
(https://devel.rtems.org/ticket/4272) where I have to make BSP
specific script for conversion of executables from RTEMS executable
format to the BSP boot loader format so that it can be run on target.
I know that the previous version of RTEMS had bsp-post-link in some
BSPs which helped in conversion of BSP executables but it's disabled
in the present version to simplify the build process. It would be
really helpful to know what is the current situation regarding the
conversion of BSP executable, that is how BSP specific executable runs
on target ,and also would be grateful if you can please point out some
example regarding it.
Thanks , Ayushman

On Thu, Apr 8, 2021 at 1:28 PM Ayushman Mishra  wrote:
>
> Sir I have made a draft for the project
> https://devel.rtems.org/ticket/4272 after some discussion about it on
> discord and mail-list . I would be highly grateful to get some
> comments and reviews about it in improving the draft (for example the
> part related to adding support of newly created scripts in rtems-tools
> to rtems-test.)
> https://docs.google.com/document/d/19HeKc6W2ng2X8PoCMVi68A1Z1BbO5D7C0xVHhkgMgBY/edit?usp=sharing
> . Also since I am little new to this project it will be really helpful
> if anyone can please point out any basic errors which I may have made
> in the project description.
>
> On Tue, Apr 6, 2021 at 10:30 PM Joel Sherrill  wrote:
> >
> >
> >
> > On Tue, Apr 6, 2021 at 6:22 AM Ayushman Mishra  
> > wrote:
> >>
> >> I checked all the BSPs having bsp-post-link in their config file (find
> >> . -name *.cfg | xargs -e grep define | grep bsp-post-link) but
> >> couldn't find similarity between them (other than "$(OBJCOPY) -O
> >> binary --strip-all \ $(basename $@)$(EXEEXT) $(basename $@)$(BINEXT) "
> >> in most of them . Sir I wanted to know is there any specific way to
> >> categorize them from other BSPs, And I am not able to find similar set
> >> of commands in rtems 4.11 (since in project description
> >> "https://devel.rtems.org/ticket/4272; its written that post-link was
> >> active in earlier versions of rtems).
> >
> >
> > In 4.11, these were under c/src/lib/libbsp. There was a source 
> > reorganization
> > between 4.11 and 5 to ease the transition to waf. This command finds the
> > same set of bsp-post-link definitions once you are on the 4.11 branch.
> >
> > find c/src/lib/libbsp -name "*.cfg" | xargs -e grep post-
> >
> > I mentioned there was a few patterns of what these do. mrm332.cfg
> > is creating an S-Record image to download. mvme2100.cfg is creating
> > a compressed binary with a program prepended that decompresses it
> > and jumps to it.
> >
> > I'd suggest using Google Sheets to capture a list of every BSP with
> > a bsp-post-link stanza and a second column to categorize them based
> > on the output format. You and I have talked about the compressed
> > binary with header, S-Records, and mkimage for U-Boot. I would
> > expect that without those types, you will find similarities and a set
> > of repeating things that get tailored from BSP to BSP.
> >
> > Compare two that have the same output format. The S-Record
> > output ones should be easy to compare.
> >
> >>
> >> Also I have started making a draft on this project and wanted to know
> >> where I should post it to get some initial reviews on it.
> >
> >
> > This is pressing as is getting an application and draft filed with Google.
> >
> > --joel
> >
> >>
> >> Thanks, Ayushman
> >>
> >> On Mon, Apr 5, 2021 at 9:35 AM Ayushman Mishra  
> >> wrote:
> >> >
> >> > Boot-loader is used to initialize the hardware device , but is there
> >> > any way to simulate the boot-loader without hardware?.
> >> > And I suppose the command "rtems-boot-image" performs somewhat similar
> >> > function to one of the objective of this project "This project is
> >> > about capturing the commands and logic needed to convert the RTEMS
> >> > executable format to the BSP boot loader format"  ( 3rd point of "The
> >> > boot image tool can:"
> >> > https://docs.rtems.org/branches/master/user/tools/boot-image.html)
> >> >
> >> > Also I think potential mentors of this project are Chris Johns and
> >> > Joel Sherrill , please correct me if I'm wrong.
> >> >
> >> > On Sun, Apr 4, 2021 at 10:27 PM Ayushman Mishra
> >> >  wro

Re: GSOC project: #4272 BSP Executable Conversion

2021-04-08 Thread Ayushman Mishra
Sir I have made a draft for the project
https://devel.rtems.org/ticket/4272 after some discussion about it on
discord and mail-list . I would be highly grateful to get some
comments and reviews about it in improving the draft (for example the
part related to adding support of newly created scripts in rtems-tools
to rtems-test.)
https://docs.google.com/document/d/19HeKc6W2ng2X8PoCMVi68A1Z1BbO5D7C0xVHhkgMgBY/edit?usp=sharing
. Also since I am little new to this project it will be really helpful
if anyone can please point out any basic errors which I may have made
in the project description.

On Tue, Apr 6, 2021 at 10:30 PM Joel Sherrill  wrote:
>
>
>
> On Tue, Apr 6, 2021 at 6:22 AM Ayushman Mishra  
> wrote:
>>
>> I checked all the BSPs having bsp-post-link in their config file (find
>> . -name *.cfg | xargs -e grep define | grep bsp-post-link) but
>> couldn't find similarity between them (other than "$(OBJCOPY) -O
>> binary --strip-all \ $(basename $@)$(EXEEXT) $(basename $@)$(BINEXT) "
>> in most of them . Sir I wanted to know is there any specific way to
>> categorize them from other BSPs, And I am not able to find similar set
>> of commands in rtems 4.11 (since in project description
>> "https://devel.rtems.org/ticket/4272; its written that post-link was
>> active in earlier versions of rtems).
>
>
> In 4.11, these were under c/src/lib/libbsp. There was a source reorganization
> between 4.11 and 5 to ease the transition to waf. This command finds the
> same set of bsp-post-link definitions once you are on the 4.11 branch.
>
> find c/src/lib/libbsp -name "*.cfg" | xargs -e grep post-
>
> I mentioned there was a few patterns of what these do. mrm332.cfg
> is creating an S-Record image to download. mvme2100.cfg is creating
> a compressed binary with a program prepended that decompresses it
> and jumps to it.
>
> I'd suggest using Google Sheets to capture a list of every BSP with
> a bsp-post-link stanza and a second column to categorize them based
> on the output format. You and I have talked about the compressed
> binary with header, S-Records, and mkimage for U-Boot. I would
> expect that without those types, you will find similarities and a set
> of repeating things that get tailored from BSP to BSP.
>
> Compare two that have the same output format. The S-Record
> output ones should be easy to compare.
>
>>
>> Also I have started making a draft on this project and wanted to know
>> where I should post it to get some initial reviews on it.
>
>
> This is pressing as is getting an application and draft filed with Google.
>
> --joel
>
>>
>> Thanks, Ayushman
>>
>> On Mon, Apr 5, 2021 at 9:35 AM Ayushman Mishra  
>> wrote:
>> >
>> > Boot-loader is used to initialize the hardware device , but is there
>> > any way to simulate the boot-loader without hardware?.
>> > And I suppose the command "rtems-boot-image" performs somewhat similar
>> > function to one of the objective of this project "This project is
>> > about capturing the commands and logic needed to convert the RTEMS
>> > executable format to the BSP boot loader format"  ( 3rd point of "The
>> > boot image tool can:"
>> > https://docs.rtems.org/branches/master/user/tools/boot-image.html)
>> >
>> > Also I think potential mentors of this project are Chris Johns and
>> > Joel Sherrill , please correct me if I'm wrong.
>> >
>> > On Sun, Apr 4, 2021 at 10:27 PM Ayushman Mishra
>> >  wrote:
>> > >
>> > > Respected Sir,
>> > > I went through project description https://devel.rtems.org/ticket/4272
>> > > (BSP Executable Conversion) and wanted to take it as GSOC project.
>> > > I know python programming ,shell scripting and after working a little
>> > > bit on project #4334 "Replace Mongoose with Civetweb" (in which I am
>> > > not able to proceed further) I have gained some knowledge about bsp
>> > > build system in rtems6.
>> > > I have already build tools and bsp xilinx_zynq_a9_qemu  on rtems5 and
>> > > rtems6 and package libbsd for bsp erc32 and xilinx_zynq_a9_qemu.
>> > >
>> > > Also, I have a few doubts regarding project "BSP Executable Conversion" :
>> > > 1. In description its written to make a command "rtems-exe-convert" ,
>> > > I wanted to ask what will be the actual function of this command like
>> > > after capturing the commands and logic for converting 'RTEMS
>> > > executable format' will it create a boot-loader for specific 

Re: GSOC project: #4272 BSP Executable Conversion

2021-04-06 Thread Ayushman Mishra
I checked all the BSPs having bsp-post-link in their config file (find
. -name *.cfg | xargs -e grep define | grep bsp-post-link) but
couldn't find similarity between them (other than "$(OBJCOPY) -O
binary --strip-all \ $(basename $@)$(EXEEXT) $(basename $@)$(BINEXT) "
in most of them . Sir I wanted to know is there any specific way to
categorize them from other BSPs, And I am not able to find similar set
of commands in rtems 4.11 (since in project description
"https://devel.rtems.org/ticket/4272; its written that post-link was
active in earlier versions of rtems).

Also I have started making a draft on this project and wanted to know
where I should post it to get some initial reviews on it.
Thanks, Ayushman

On Mon, Apr 5, 2021 at 9:35 AM Ayushman Mishra  wrote:
>
> Boot-loader is used to initialize the hardware device , but is there
> any way to simulate the boot-loader without hardware?.
> And I suppose the command "rtems-boot-image" performs somewhat similar
> function to one of the objective of this project "This project is
> about capturing the commands and logic needed to convert the RTEMS
> executable format to the BSP boot loader format"  ( 3rd point of "The
> boot image tool can:"
> https://docs.rtems.org/branches/master/user/tools/boot-image.html)
>
> Also I think potential mentors of this project are Chris Johns and
> Joel Sherrill , please correct me if I'm wrong.
>
> On Sun, Apr 4, 2021 at 10:27 PM Ayushman Mishra
>  wrote:
> >
> > Respected Sir,
> > I went through project description https://devel.rtems.org/ticket/4272
> > (BSP Executable Conversion) and wanted to take it as GSOC project.
> > I know python programming ,shell scripting and after working a little
> > bit on project #4334 "Replace Mongoose with Civetweb" (in which I am
> > not able to proceed further) I have gained some knowledge about bsp
> > build system in rtems6.
> > I have already build tools and bsp xilinx_zynq_a9_qemu  on rtems5 and
> > rtems6 and package libbsd for bsp erc32 and xilinx_zynq_a9_qemu.
> >
> > Also, I have a few doubts regarding project "BSP Executable Conversion" :
> > 1. In description its written to make a command "rtems-exe-convert" ,
> > I wanted to ask what will be the actual function of this command like
> > after capturing the commands and logic for converting 'RTEMS
> > executable format' will it create a boot-loader for specific bsp and
> > provide it with 'RTEMS executable format' ?,
> > and also I wanted to ask what is need for this command (or this
> > project in general) and how will it affect the present building
> > procedure of rtems?
> > (like first building the specific tools then installing the particular bsp)
> >
> > 2. I have build 2 BSP in simulation but wanted to ask are all BSPs
> > available in rtems able to perfectly build in simulation or do I need
> > some specific hardware for any BSP.
> > I would be very thankful if you can please clarify my above doubts and
> > provide a little guidance about this project.
> > Thanks, Ayushman
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: GSOC project: #4272 BSP Executable Conversion

2021-04-04 Thread Ayushman Mishra
Boot-loader is used to initialize the hardware device , but is there
any way to simulate the boot-loader without hardware?.
And I suppose the command "rtems-boot-image" performs somewhat similar
function to one of the objective of this project "This project is
about capturing the commands and logic needed to convert the RTEMS
executable format to the BSP boot loader format"  ( 3rd point of "The
boot image tool can:"
https://docs.rtems.org/branches/master/user/tools/boot-image.html)

Also I think potential mentors of this project are Chris Johns and
Joel Sherrill , please correct me if I'm wrong.

On Sun, Apr 4, 2021 at 10:27 PM Ayushman Mishra
 wrote:
>
> Respected Sir,
> I went through project description https://devel.rtems.org/ticket/4272
> (BSP Executable Conversion) and wanted to take it as GSOC project.
> I know python programming ,shell scripting and after working a little
> bit on project #4334 "Replace Mongoose with Civetweb" (in which I am
> not able to proceed further) I have gained some knowledge about bsp
> build system in rtems6.
> I have already build tools and bsp xilinx_zynq_a9_qemu  on rtems5 and
> rtems6 and package libbsd for bsp erc32 and xilinx_zynq_a9_qemu.
>
> Also, I have a few doubts regarding project "BSP Executable Conversion" :
> 1. In description its written to make a command "rtems-exe-convert" ,
> I wanted to ask what will be the actual function of this command like
> after capturing the commands and logic for converting 'RTEMS
> executable format' will it create a boot-loader for specific bsp and
> provide it with 'RTEMS executable format' ?,
> and also I wanted to ask what is need for this command (or this
> project in general) and how will it affect the present building
> procedure of rtems?
> (like first building the specific tools then installing the particular bsp)
>
> 2. I have build 2 BSP in simulation but wanted to ask are all BSPs
> available in rtems able to perfectly build in simulation or do I need
> some specific hardware for any BSP.
> I would be very thankful if you can please clarify my above doubts and
> provide a little guidance about this project.
> Thanks, Ayushman
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


GSOC project: #4272 BSP Executable Conversion

2021-04-04 Thread Ayushman Mishra
Respected Sir,
I went through project description https://devel.rtems.org/ticket/4272
(BSP Executable Conversion) and wanted to take it as GSOC project.
I know python programming ,shell scripting and after working a little
bit on project #4334 "Replace Mongoose with Civetweb" (in which I am
not able to proceed further) I have gained some knowledge about bsp
build system in rtems6.
I have already build tools and bsp xilinx_zynq_a9_qemu  on rtems5 and
rtems6 and package libbsd for bsp erc32 and xilinx_zynq_a9_qemu.

Also, I have a few doubts regarding project "BSP Executable Conversion" :
1. In description its written to make a command "rtems-exe-convert" ,
I wanted to ask what will be the actual function of this command like
after capturing the commands and logic for converting 'RTEMS
executable format' will it create a boot-loader for specific bsp and
provide it with 'RTEMS executable format' ?,
and also I wanted to ask what is need for this command (or this
project in general) and how will it affect the present building
procedure of rtems?
(like first building the specific tools then installing the particular bsp)

2. I have build 2 BSP in simulation but wanted to ask are all BSPs
available in rtems able to perfectly build in simulation or do I need
some specific hardware for any BSP.
I would be very thankful if you can please clarify my above doubts and
provide a little guidance about this project.
Thanks, Ayushman
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH rtems-docs v2 1/2] Added FAQ page

2021-04-03 Thread Ayushman Mishra
Using "-" makes H4 size headings
(https://documentation-style-guide-sphinx.readthedocs.io/en/latest/style-guide.html#headings).

Could there be a single FAQ section and then internal references, ie
links? : Does it mean making separate .rst pages for each question
(whose answers were previously written in faq page) and the reader
will only see hyper-link questions , and regarding cross-link
questions written single line example: " Please refer section
"Creating a Patch" of RTEMS Software Engineering manual in
https://docs.rtems.org/ ".

On Sun, Apr 4, 2021 at 7:34 AM Chris Johns  wrote:
>
> On 4/4/21 10:37 am, Ayushman Mishra wrote:
> > Sir, can you please clarify a little bit what does "each question needs to 
> > be a
> > section heading of some level" mean , because sir I have used  this "-" 
> > line
> > below every question which is a symbol used for showing the sentence as a
> > heading in sphinx document and after building the questions are 
> > automatically
> > shown as 2.10.1, 2.10.2 ... (upto total questions).
>
> Oh yes it does. Sorry about that.
>
> Hmmm what does this do to the size of the table of contents for HTML and PDF?
>
> I have shortened the length of section headers in the past to remove words 
> that
> are not needed to make the columns and TOCs a manageable width.
>
> I am not sure how this could handled in this context with these questions?
>
> Could there be a single FAQ section and then internal references, ie links?
> Internal links are ok. And also a link back to the question list after each
> question?
>
> Chris
>
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: [PATCH rtems-docs v2 1/2] Added FAQ page

2021-04-03 Thread Ayushman Mishra
And sir , if we can't use cross-link should I write a sentence like
for eg. " (Please refer section 6.1.12. "Creating a Patch" of RTEMS
Software Engineering manual in :r:url:`docs`) for question How do I
make a patch? "

On Sun, Apr 4, 2021 at 5:05 AM Chris Johns  wrote:
>
>
>
> On 3/4/21 6:25 am, Gedare Bloom wrote:
> > On Fri, Apr 2, 2021 at 12:19 PM Ayushman Mishra
> >  wrote:
> >>
> >> ---
> >>  user/bld/index.rst   |   2 +
> >>  user/overview/index.rst  |   2 +
> >>  user/start/faq.rst   | 295 +++
> >>  user/start/index.rst |   1 +
> >>  user/support/contrib.rst |  96 +-
> >>  user/support/support-project.rst |   2 +
> >>  6 files changed, 303 insertions(+), 95 deletions(-)
> >>  create mode 100644 user/start/faq.rst
> >>
> >> diff --git a/user/bld/index.rst b/user/bld/index.rst
> >> index ebedf5a..0cccde2 100644
> >> --- a/user/bld/index.rst
> >> +++ b/user/bld/index.rst
> >> @@ -284,6 +284,8 @@ example configuration file, building of the tests is 
> >> enabled for the
> >>
> >>  [riscv/griscv]
> >>
> >> +.. _Migration_from_AutoconfAutomake:
> >> +
> >>  Migration from Autoconf/Automake
> >>  
> >>
> >> diff --git a/user/overview/index.rst b/user/overview/index.rst
> >> index 550724a..0703ede 100644
> >> --- a/user/overview/index.rst
> >> +++ b/user/overview/index.rst
> >> @@ -20,6 +20,8 @@ You are someone looking for a real-time operating 
> >> system.  This document
> >>
> >>  - helps you to build an example application on top of RTEMS.
> >>
> >> +.. _Features:
> >> +
> >>  Features
> >>  
> >>
> >> diff --git a/user/start/faq.rst b/user/start/faq.rst
> >> new file mode 100644
> >> index 000..910ef8b
> >> --- /dev/null
> >> +++ b/user/start/faq.rst
> >> @@ -0,0 +1,295 @@
> >> +Frequently Asked Questions
> >> +==
> >> +
> >> +What is RTEMS ?
> > No whitespace before punctuation. "What is RTEMS?"
> >
> >> +---
> >> +
> >> +RTEMS is an open source real-time executive which provides a high 
> >> performance
> >> +environment for embedded real-time applications including many features.
> >> +
> >> +The RTEMS Project is the umbrella term used to describe the collection of
> >> +individuals, companies, universities, and research institutions that 
> >> collectively
> >> +maintain and enhance the RTEMS software base.
> >> +
> >> +RTEMS is designed to support applications with the most stringent 
> >> real-time
> >> +requirements while being compatible with open standards such as POSIX.
> >> +RTEMS includes optional functional features such as TCP/IP and various 
> >> file
> >> +systems while still offering minimum executable sizes under 20 KB in 
> >> useful
> >> +configurations.
> >> +
> >> +:ref:`More Features`
> >> +
> >> +Where can I get RTEMS ?
> >> +-
> >> +
> >> +:ref:`Downloading RTEMS`
> >> +
> >
> > What happened to:
> > How can I pronounce RTEMS like Joel?
> >
> >
> >> +What does RTEMS stand for ?
> >> +-
> >> +
> >> +RTEMS is an an acronym for the Real-Time Executive for Multiprocessor 
> >> Systems.
> > "an an" (typo in original wiki page :)
> >
> >> +
> >> +Initially RTEMS stood for the Real-Time Executive for Missile Systems but 
> >> as it
> >> +became clear that the application domains that could use RTEMS extended 
> >> far
> >> +beyond missiles, the "M" changed to mean Military. When maintenance of 
> >> RTEMS
> >> +transferred to OAR, the "M" was changed again to Multiprocessor.
> >> +
> >> +At one point, there were both Ada and C implementations of RTEMS.
> >> +Version 3.2.1 was the last RTEMS version to have implementations in both
> >> +languages. Supporting the Classic API Ada implementation was painful and 
> >> fraught
> >> +with compiler specific pitfalls. With version 3.5.x, the POSIX API was 
> >

Re: [PATCH rtems-docs v2 1/2] Added FAQ page

2021-04-03 Thread Ayushman Mishra
Sir, can you please clarify a little bit what does "each question needs to
be a section heading of some level" mean , because sir I have used  this
"-" line below every question which is a symbol used for showing the
sentence as a heading in sphinx document and after building the questions
are automatically shown as 2.10.1, 2.10.2 ... (upto total questions).

On Sun, Apr 4, 2021, 5:05 AM Chris Johns  wrote:

>
>
> On 3/4/21 6:25 am, Gedare Bloom wrote:
> > On Fri, Apr 2, 2021 at 12:19 PM Ayushman Mishra
> >  wrote:
> >>
> >> ---
> >>  user/bld/index.rst   |   2 +
> >>  user/overview/index.rst  |   2 +
> >>  user/start/faq.rst   | 295 +++
> >>  user/start/index.rst |   1 +
> >>  user/support/contrib.rst |  96 +-
> >>  user/support/support-project.rst |   2 +
> >>  6 files changed, 303 insertions(+), 95 deletions(-)
> >>  create mode 100644 user/start/faq.rst
> >>
> >> diff --git a/user/bld/index.rst b/user/bld/index.rst
> >> index ebedf5a..0cccde2 100644
> >> --- a/user/bld/index.rst
> >> +++ b/user/bld/index.rst
> >> @@ -284,6 +284,8 @@ example configuration file, building of the tests
> is enabled for the
> >>
> >>  [riscv/griscv]
> >>
> >> +.. _Migration_from_AutoconfAutomake:
> >> +
> >>  Migration from Autoconf/Automake
> >>  
> >>
> >> diff --git a/user/overview/index.rst b/user/overview/index.rst
> >> index 550724a..0703ede 100644
> >> --- a/user/overview/index.rst
> >> +++ b/user/overview/index.rst
> >> @@ -20,6 +20,8 @@ You are someone looking for a real-time operating
> system.  This document
> >>
> >>  - helps you to build an example application on top of RTEMS.
> >>
> >> +.. _Features:
> >> +
> >>  Features
> >>  
> >>
> >> diff --git a/user/start/faq.rst b/user/start/faq.rst
> >> new file mode 100644
> >> index 000..910ef8b
> >> --- /dev/null
> >> +++ b/user/start/faq.rst
> >> @@ -0,0 +1,295 @@
> >> +Frequently Asked Questions
> >> +==
> >> +
> >> +What is RTEMS ?
> > No whitespace before punctuation. "What is RTEMS?"
> >
> >> +---
> >> +
> >> +RTEMS is an open source real-time executive which provides a high
> performance
> >> +environment for embedded real-time applications including many
> features.
> >> +
> >> +The RTEMS Project is the umbrella term used to describe the collection
> of
> >> +individuals, companies, universities, and research institutions that
> collectively
> >> +maintain and enhance the RTEMS software base.
> >> +
> >> +RTEMS is designed to support applications with the most stringent
> real-time
> >> +requirements while being compatible with open standards such as POSIX.
> >> +RTEMS includes optional functional features such as TCP/IP and various
> file
> >> +systems while still offering minimum executable sizes under 20 KB in
> useful
> >> +configurations.
> >> +
> >> +:ref:`More Features`
> >> +
> >> +Where can I get RTEMS ?
> >> +-
> >> +
> >> +:ref:`Downloading RTEMS`
> >> +
> >
> > What happened to:
> > How can I pronounce RTEMS like Joel?
> >
> >
> >> +What does RTEMS stand for ?
> >> +-
> >> +
> >> +RTEMS is an an acronym for the Real-Time Executive for Multiprocessor
> Systems.
> > "an an" (typo in original wiki page :)
> >
> >> +
> >> +Initially RTEMS stood for the Real-Time Executive for Missile Systems
> but as it
> >> +became clear that the application domains that could use RTEMS
> extended far
> >> +beyond missiles, the "M" changed to mean Military. When maintenance of
> RTEMS
> >> +transferred to OAR, the "M" was changed again to Multiprocessor.
> >> +
> >> +At one point, there were both Ada and C implementations of RTEMS.
> >> +Version 3.2.1 was the last RTEMS version to have implementations in
> both
> >> +languages. Supporting the Classic API Ada implementation was painful
> and fraught
> >> +with compiler specific pitfalls. With version 

Re: [PATCH 1/2] Added FAQ page

2021-04-02 Thread Ayushman Mishra
Sir, It was given as an issue https://devel.rtems.org/ticket/3958 (
Review wiki/TBR/Website/FAQ for correct links) for the faq page
https://devel.rtems.org/wiki/TBR/Website/FAQ

On Sat, Apr 3, 2021 at 12:10 AM Joel Sherrill  wrote:
>
>
>
> On Fri, Apr 2, 2021 at 1:19 PM Ayushman Mishra  
> wrote:
>>
>> Greetings Sir,
>> I have corrected and send patches regarding FAQ page in user manual.I
>> was able to build the page on my system and also attached a
>> screen-shot of the builded page on browser . I have corrected
>> whitespace consistency and reference links according to other
>> doc-pages
>
>
> Random question. Is this information from the Wiki or just an update
> of what was already in rtems-docs? If this obsoletes any information
> in the wiki, I would like to know so we can remove it.
>
>>
>> . Regarding the issue of cross-link between docs , I had
>> sent mail on devel mail list
>> https://lists.rtems.org/pipermail/devel/2021-March/065882.html but
>> haven't got any response , so few days ago after a little discussion
>> on discord vijay sir said to post the patch and someone might point it
>> to a better way if it exists.
>
>
> I don't know if we know the answer to that with Sphinx. If "we" do, then
> I am not part of that "we".  Hopefully someone will educate us. :)
>
> Gedare.. is the new patch OK? It must be in another thread because
> I don't see it here.
>
> --joel
>>
>>
>> On Wed, Mar 24, 2021 at 1:05 AM Gedare Bloom  wrote:
>> >
>> > Did you build the docs and verify they look good?
>> >
>> > On Tue, Mar 23, 2021 at 12:44 PM Ayushman Mishra
>> >  wrote:
>> > >
>> > > ---
>> > >  user/bld/index.rst   |   4 +-
>> > >  user/overview/index.rst  |   2 +
>> > >  user/start/faq.rst   | 255 +++
>> > >  user/start/index.rst |   1 +
>> > >  user/support/support-project.rst |   2 +
>> > >  5 files changed, 263 insertions(+), 1 deletion(-)
>> > >  create mode 100644 user/start/faq.rst
>> > >
>> > > diff --git a/user/bld/index.rst b/user/bld/index.rst
>> > > index ebedf5a..a8a8a4f 100644
>> > > --- a/user/bld/index.rst
>> > > +++ b/user/bld/index.rst
>> > > @@ -82,7 +82,7 @@ specifies paths to build specification items.  It is 
>> > > an advanced option and
>> > >  there is normally no need to use it.  It may be used to customize the 
>> > > build at
>> > >  the level of the build specification.  For more information see the
>> > >  `Build System` chapter of the
>> > > -`RTEMS Software Engineering 
>> > > <https://docs.rtems.org/branches/master/eng/build-system.rst>`_
>> > > +`RTEMS Software Engineering 
>> > > <https://docs.rtems.org/branches/master/eng/build-system.html>`_
>> > >  guide.
>> > >
>> > >  Help
>> > > @@ -283,6 +283,8 @@ example configuration file, building of the tests is 
>> > > enabled for the
>> > >  [sparc/erc32]
>> > >
>> > >  [riscv/griscv]
>> > > +
>> > > +.. _Autoconf_migration:
>> > this looks like something should be a cleanup separate submission.
>> >
>> > I think the tags are usually directly translated from the section
>> > names with camelcase?
>> > _Migration_from_AutoconfAutomake
>> > or so? check other docs for consistency/guidance.
>> >
>> > >
>> > >  Migration from Autoconf/Automake
>> > >  
>> > > diff --git a/user/overview/index.rst b/user/overview/index.rst
>> > > index 550724a..0703ede 100644
>> > > --- a/user/overview/index.rst
>> > > +++ b/user/overview/index.rst
>> > > @@ -20,6 +20,8 @@ You are someone looking for a real-time operating 
>> > > system.  This document
>> > >
>> > >  - helps you to build an example application on top of RTEMS.
>> > >
>> > > +.. _Features:
>> > > +
>> > >  Features
>> > >  
>> > >
>> > > diff --git a/user/start/faq.rst b/user/start/faq.rst
>> > > new file mode 100644
>> > > index 000..da11ca4
>> > > --- /dev/null
>> > > +++ b/user/start/faq.rst
>> > > @@ -0,0 +1,255 @@
>> > > +Frequently Asked Questions
>> >

[PATCH rtems-docs v2 2/2] Corrected link

2021-04-02 Thread Ayushman Mishra
---
 eng/stakeholders.rst | 4 +++-
 user/bld/index.rst   | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/eng/stakeholders.rst b/eng/stakeholders.rst
index 756c462..a4413cf 100644
--- a/eng/stakeholders.rst
+++ b/eng/stakeholders.rst
@@ -10,4 +10,6 @@ You are a potential RTEMS stakeholder.  RTEMS is a community 
based free and open
 source project.  All users are treated as stakeholders.  It is hoped that as
 stakeholders, users will contribute to the project, sponsor core developers, 
and
 help fund the infrastructure required to host and manage the project.  Please
-have a look at the *Support and Contributing* chapter of the :r:url:`user`.
+have a look at the `Support and Contributing chapter 
+`__ 
+of the *User manual*.
diff --git a/user/bld/index.rst b/user/bld/index.rst
index 0cccde2..47a84b0 100644
--- a/user/bld/index.rst
+++ b/user/bld/index.rst
@@ -82,7 +82,7 @@ specifies paths to build specification items.  It is an 
advanced option and
 there is normally no need to use it.  It may be used to customize the build at
 the level of the build specification.  For more information see the
 `Build System` chapter of the
-`RTEMS Software Engineering 
`_
+`RTEMS Software Engineering 
`_
 guide.
 
 Help
-- 
2.25.1

___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


[PATCH rtems-docs v2 1/2] Added FAQ page

2021-04-02 Thread Ayushman Mishra
---
 user/bld/index.rst   |   2 +
 user/overview/index.rst  |   2 +
 user/start/faq.rst   | 295 +++
 user/start/index.rst |   1 +
 user/support/contrib.rst |  96 +-
 user/support/support-project.rst |   2 +
 6 files changed, 303 insertions(+), 95 deletions(-)
 create mode 100644 user/start/faq.rst

diff --git a/user/bld/index.rst b/user/bld/index.rst
index ebedf5a..0cccde2 100644
--- a/user/bld/index.rst
+++ b/user/bld/index.rst
@@ -284,6 +284,8 @@ example configuration file, building of the tests is 
enabled for the
 
 [riscv/griscv]
 
+.. _Migration_from_AutoconfAutomake:
+
 Migration from Autoconf/Automake
 
 
diff --git a/user/overview/index.rst b/user/overview/index.rst
index 550724a..0703ede 100644
--- a/user/overview/index.rst
+++ b/user/overview/index.rst
@@ -20,6 +20,8 @@ You are someone looking for a real-time operating system.  
This document
 
 - helps you to build an example application on top of RTEMS.
 
+.. _Features:
+
 Features
 
 
diff --git a/user/start/faq.rst b/user/start/faq.rst
new file mode 100644
index 000..910ef8b
--- /dev/null
+++ b/user/start/faq.rst
@@ -0,0 +1,295 @@
+Frequently Asked Questions
+==
+
+What is RTEMS ?
+---
+
+RTEMS is an open source real-time executive which provides a high performance 
+environment for embedded real-time applications including many features.
+
+The RTEMS Project is the umbrella term used to describe the collection of 
+individuals, companies, universities, and research institutions that 
collectively
+maintain and enhance the RTEMS software base.
+
+RTEMS is designed to support applications with the most stringent real-time 
+requirements while being compatible with open standards such as POSIX. 
+RTEMS includes optional functional features such as TCP/IP and various file 
+systems while still offering minimum executable sizes under 20 KB in useful 
+configurations.
+
+:ref:`More Features`
+
+Where can I ​get RTEMS ?
+-
+
+:ref:`Downloading RTEMS`
+
+What does RTEMS stand for ?
+-
+
+RTEMS is an an acronym for the Real-Time Executive for Multiprocessor Systems.
+
+Initially RTEMS stood for the Real-Time Executive for Missile Systems but as it
+became clear that the application domains that could use RTEMS extended far 
+beyond missiles, the "M" changed to mean Military. When maintenance of RTEMS 
+transferred to OAR, the "M" was changed again to Multiprocessor.
+
+At one point, there were both Ada and C implementations of RTEMS. 
+Version 3.2.1 was the last RTEMS version to have implementations in both 
+languages. Supporting the Classic API Ada implementation was painful and 
fraught
+with compiler specific pitfalls. With version 3.5.x, the POSIX API was added as
+the means to support the GNU Ada Translator (GNAT). This effectively 
eliminated 
+the need for an implementation in Ada as the C implementation could 
effectively 
+support both languages.
+
+Are there restrictions on the ​RTEMS License ?
+
+
+RTEMS RTEMS is licensed under a combination of permissive licenses and a 
+modified version of the GNU General Public License (GPL).
+For source code "Two Clause BSD” (BSD-2-Clause) and
+for documentation CC-BY-SA-4.0 license is preferred.
+The modification places no restrictions on the applications which use RTEMS but
+protects the interests of those who work on RTEMS.
+
+`License in RTEMS
+`__
+
+What standards are supported by RTEMS?
+-
+
+The original "Classic" RTEMS API is based on the Real-Time Executive Interface 
+Definition (RTEID) and the Open Real-Time Kernel Interface Definition (ORKID). 
+RTEMS also includes support for POSIX threads and real-time extensions.
+
+With the addition of file system infrastructure, RTEMS supports approximately 
+80% of the POSIX 1003.1b-1996 standard. This standard defines the programming 
+interfaces of standard UNIX. This means that much source code that works on 
+UNIX, also works on RTEMS.RTEMS includes a port of the FreeBSD TCP/IP stack and
+thus supports BSD sockets. It also includes support for numerous networking 
+clients (DHCP, TFTP, NFS, etc.) and servers (FTPD, HTTPD, etc.).
+
+What processors is RTEMS available for ?
+--
+
+:ref:`Architectures in RTEMS`
+
+Are there similar commercial products ?
+
+
+`Some Real time operating system similar to RTEMS 
+`__ 
+
+How can I obtain ​RTEMS support ?
+-
+

Re: GSOC project: #4334 Replace Mongoose with Civetweb

2021-04-01 Thread Ayushman Mishra
Respected Sir,

1. I successfully build and installed the tool suit in rtems6
(../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6
devel/qemu.bset) , this time all executable related to qemu
(qemu-system-arm) were installed in 6/bin but the gcc file
(arm-rtems6-gcc) and other arm-rtems- related files weren't installed
which is causing problem in building xilinx_zynq_a9_qemu bsp  (Could
not find the program ['arm-rtems6-gcc'] ). This problem didn't occur
and I was able to build the bsp when I installed tools in rtems5 ( $
../source-builder/sb-set-builder --prefix="$HOME/quick-start/rtems/5"
5/rtems-arm ) but there qemu-system-arm and other qemu- files weren't
installed . I don't why is the problem is occurring but very
enthusiast in solving this if you can please provide a little help.

2, I had drawn my conclusion regarding placement of civetweb package
after reading some of the initial discussion regarding replacing
"mongoose with civetweb" on devel mailing list
(https://lists.rtems.org/pipermail/devel/2016-April/042581.html) but
after going through entire discussion I am getting confused weather to
provide it as an external 3rd party package via the RSB (which I now
think is a good idea) or place it in a separate repository. Also after
reading through discussion I think one other task of project would be
to 1.make build configuration for civetweb as it uses make Cmake and
Makefile build system where as rtems now uses waf build system and 2.
to integrate tests provided by civetweb into rtems.
Sir, I would be highly grateful if you can provide some documentation
to get more information regarding  the current architecture and build
configuration of web-server in rtems as most of the discussions are
pretty old and I wanted to start writing proposal for this project.
thanks , ayushman

On Wed, Mar 31, 2021 at 9:28 PM Gedare Bloom  wrote:
>
> On Wed, Mar 31, 2021 at 3:18 AM Ayushman Mishra
>  wrote:
> >
> > Sir,
> > I am trying to integrate mongoose web-server in simple rtems
> > application (https://devel.rtems.org/wiki/Developer/Mongoose_Web_Server),
> > for that I have to configure networking in rtems. I am using
> > xilinx_zynq_a9_qemu for simulation bsp and following steps given here
> > https://git.rtems.org/rtems-libbsd/tree/README.md but after doing
> > ./waf install , i was not able to find qemu-system-arm in any
> > directory , I did sudo apt-get install qemu but then also
> > qemu-system-arm was not found . I discussed in discord channel and
> > started using rsb recipe devel/qemu4 (
> > $ ../source-builder/sb-set-builder --prefix=
> > devel/qemu4.bset ) present in branch 5 of rsb ( since master branch
> > doesn't have qemu4.bset ) but after building for few minutes it gave
> > BUILD FAILED error
>
> bare/devel/qemu.bset should get you a working version on qemu v5, I
> would guess that should work.
>
> > ( Last lines of error report:
> >  ../../glib-2.46.2/gio/gdbusauth.c: In function '_g_dbus_auth_run_server':
> > ../../glib-2.46.2/gio/gdbusauth.c:1295:11: error: '%s' directive
> > argument is null [-Werror=format-overflow=]
> >  1295 |   debug_print ("SERVER: WaitingForBegin, read '%s'", line);
> >   |   ^~~~
> > cc1: some warnings being treated as errors
> > make[4]: *** [Makefile:3624: libgio_2_0_la-gdbusauth.lo] Error 1
> > make[4]: *** Waiting for unfinished jobs
> > make[4]: Leaving directory
> > '/home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/build/gio'
> > make[3]: *** [Makefile:4094: all-recursive] Error 1
> > make[3]: Leaving directory
> > '/home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/build/gio'
> > make[2]: *** [Makefile:1861: all] Error 2
> > make[2]: Leaving directory
> > '/home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/build/gio'
> > make[1]: *** [Makefile:1212: all-recursive] Error 1
> > make[1]: Leaving directory
> > '/home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/build'
> > make: *** [Makefile:854: all] Error 2
> > shell cmd failed: /bin/sh -ex
> > /home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/do-build
> > error: building glib-2.46.2-x86_64-linux-gnu-1
> > )
> I have the same problem trying to build qemu4, technically this is a
> problem building glib-2.46.2.
>
> > I think i am really stuck here and I would be highly obliged if you
> > can please provide some guidance in configuring networking and
> > integrating mongoose with simple rtems application.
> >
> > Also I think creating a separate repository like rtems

Re: GSOC project: #4334 Replace Mongoose with Civetweb

2021-03-31 Thread Ayushman Mishra
Sir,
I am trying to integrate mongoose web-server in simple rtems
application (https://devel.rtems.org/wiki/Developer/Mongoose_Web_Server),
for that I have to configure networking in rtems. I am using
xilinx_zynq_a9_qemu for simulation bsp and following steps given here
https://git.rtems.org/rtems-libbsd/tree/README.md but after doing
./waf install , i was not able to find qemu-system-arm in any
directory , I did sudo apt-get install qemu but then also
qemu-system-arm was not found . I discussed in discord channel and
started using rsb recipe devel/qemu4 (
$ ../source-builder/sb-set-builder --prefix=
devel/qemu4.bset ) present in branch 5 of rsb ( since master branch
doesn't have qemu4.bset ) but after building for few minutes it gave
BUILD FAILED error
( Last lines of error report:
 ../../glib-2.46.2/gio/gdbusauth.c: In function '_g_dbus_auth_run_server':
../../glib-2.46.2/gio/gdbusauth.c:1295:11: error: '%s' directive
argument is null [-Werror=format-overflow=]
 1295 |   debug_print ("SERVER: WaitingForBegin, read '%s'", line);
  |   ^~~~
cc1: some warnings being treated as errors
make[4]: *** [Makefile:3624: libgio_2_0_la-gdbusauth.lo] Error 1
make[4]: *** Waiting for unfinished jobs
make[4]: Leaving directory
'/home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/build/gio'
make[3]: *** [Makefile:4094: all-recursive] Error 1
make[3]: Leaving directory
'/home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/build/gio'
make[2]: *** [Makefile:1861: all] Error 2
make[2]: Leaving directory
'/home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/build/gio'
make[1]: *** [Makefile:1212: all-recursive] Error 1
make[1]: Leaving directory
'/home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/build'
make: *** [Makefile:854: all] Error 2
shell cmd failed: /bin/sh -ex
/home/ayush/quick-start1/src/rsb/rtems/build/glib-2.46.2-x86_64-linux-gnu-1/do-build
error: building glib-2.46.2-x86_64-linux-gnu-1
)
I think i am really stuck here and I would be highly obliged if you
can please provide some guidance in configuring networking and
integrating mongoose with simple rtems application.

Also I think creating a separate repository like rtems-civetweb would
make the tree more clearer to understand and easy to build and install
, since integrating it with rsb like a package may sometimes cause
build failed due to bugs in rsb.
thanks , Ayushman

On Tue, Mar 30, 2021 at 12:16 PM Christian MAUDERER
 wrote:
>
> Hello Ayushman, hello Gedare,
>
> Am 29.03.21 um 18:50 schrieb Gedare Bloom:
> > CC: Christian
> >
> > On Mon, Mar 29, 2021 at 10:34 AM Ayushman Mishra
> >  wrote:
> >>
> >> Sir ,
> >> It would be very helpful to know about potential mentors of (Replace 
> >> mongoose with civetweb) https://devel.rtems.org/ticket/4334 this project.
> >>
> > I think Christian is the most likely potential mentor.
> >
>
> Possible for the civetweb part. I have done quite a bit with mongoose or
> later civetweb. So most likely I should at least help on this project.
> But I don't think that building civetweb will be the critical part here.
> That is quite straightforward.
>
> The more tricky part of the project will be to find a way to make the
> configuration options available to the users. That means either creating
> a repo (similar to for example rtems-littlevgl) or some integration into
> RSB (no idea how to add options there). We should try to get someone
> with more experience in that area into this project too.
>
> >> On Mon, Mar 29, 2021, 9:39 PM Gedare Bloom  wrote:
> >>>
> >>> On Mon, Mar 29, 2021 at 9:49 AM Ayushman Mishra
> >>>  wrote:
> >>>>
> >>>> I have installed libbsd package (made
> >>>> RTEMS_POSIX_API=True,RTEMS_NETWORKING=True in config.ini file to
> >>>> enable POSIX and networking) but I am still confused about the work
> >>> That doesn't look right. RTEMS_NETWORKING=True enables the legacy
> >>> network stack. If you want to build libbsd, you need to check out
> >>> https://git.rtems.org/rtems-libbsd/
> >>>
> >>>> already done in this project in past. Also after interacting on
> >>>> discord I think completely replacing  mongoose with another web-server
> >>>> is not a good option since it may rise some user complaints who are
> >>>> already using old system and may find it difficult to instantly switch
> >>>> over to new system , instead civetweb can be added as an extra new
> >>>> web-server where user has a choice to either use old mongoose or the
> >>>> new

Re: GSOC project: #4334 Replace Mongoose with Civetweb

2021-03-29 Thread Ayushman Mishra
Sir ,
It would be very helpful to know about potential mentors of (Replace
mongoose with civetweb) https://devel.rtems.org/ticket/4334 this project.

On Mon, Mar 29, 2021, 9:39 PM Gedare Bloom  wrote:

> On Mon, Mar 29, 2021 at 9:49 AM Ayushman Mishra
>  wrote:
> >
> > I have installed libbsd package (made
> > RTEMS_POSIX_API=True,RTEMS_NETWORKING=True in config.ini file to
> > enable POSIX and networking) but I am still confused about the work
> That doesn't look right. RTEMS_NETWORKING=True enables the legacy
> network stack. If you want to build libbsd, you need to check out
> https://git.rtems.org/rtems-libbsd/
>
> > already done in this project in past. Also after interacting on
> > discord I think completely replacing  mongoose with another web-server
> > is not a good option since it may rise some user complaints who are
> > already using old system and may find it difficult to instantly switch
> > over to new system , instead civetweb can be added as an extra new
> > web-server where user has a choice to either use old mongoose or the
> > new web server both having all dependencies and functionalities
> > available.
> >
> No, we will replace mghttpd with civetweb. Anyone who still wants the
> frozen version of mghttpd can revive it, but we want to replace it
> moving forward.
>
> > Also I still don't know whether the project #4334 is long enough for
> > summer of code project and after going through docs I think
> There are other activities involved in getting civetweb to work well
> with RTEMS. It should be sufficient, but you would need to flesh out
> the proposal details with mentor assistance. To be clear, it will be
> C/network programming.
>
> > https://devel.rtems.org/ticket/4272 is also a very interesting project
> > since now I think I know a little bit about BSPs and I am good in
> > python and know shell-scripting. I would be very grateful to know more
> > about this project.
> You should start a new thread to discuss this project. I thought
> someone else may have inquired about this, maybe it was you? I didn't
> see any response yet, but probably because it was buried in other
> content (like this comment) so likely the potential mentor didn't even
> notice it, especially since all you mention here is the ticket number.
>
> Gedare
>
> > Thanks.
> >
> > On Sat, Mar 27, 2021 at 5:36 PM Ayushman Mishra
> >  wrote:
> > >
> > > Greetings to all the respected mentors,
> > > 1. I saw there has been a lot of discussion regarding replacing
> > > mongoose with civetweb (
> > > https://lists.rtems.org/pipermail/devel/2016-April/014661.html ).
> > > I think the basic outline of the project is like this
> > > a. Completely removing mongoose and replace it with civetweb and make
> > > it configurable in rsb
> > > b. check the parameters and options available in civetweb and make it
> > > usable for users in rtems.
> > > c. making test-cases for civetweb (should be similar to mongoose)
> > > d. documentation of using civetweb and web-server in general.
> > > I would be very grateful to know what is the actual current status of
> > > this project and the coding involved in it enough for a summer of code
> > > project or some extra things should be added in it.
> > >
> > > Also,
> > > 2. I have build bsp on rtems6 and a simple application is working
> > > correct, but while trying to build libbsd package in rtems6
> > > (../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 \
> > >   --host=sparc-rtems6 --with-rtems-bsp=erc32 6/rtems-libbsd ) I am
> > > constantly getting build failed
> > > RTEMS Source Builder - Set Builder, 6 (ade089253e70)
> > > Build Set: 6/rtems-libbsd
> > > config: tools/rtems-libbsd-6.cfg
> > > error: rtems-bsp.cfg:155: invalid %if operator:  -mcpu=cypress
> > > -I/home/ayush/quick-start/rtems/6/sparc-rtems6/erc32/lib/include ==
> > > Build FAILED
> > > Build Set: Time 0:00:00.045392
> > > Build FAILED
> > >
> > > I also tried building all packages for bsp erc32
> > > (../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 \
> > > --with-rtems-tests=yes bsps/erc32) but after building for more
> > > than an hour it also gave build failed error.
> > > building: sparc-rtems6-kernel-erc32-1
> > > error: building sparc-rtems6-kernel-erc32-1
> > > Build FAILED
> > >   See error report: rsb-report-sparc-rtems6-kernel-erc32-1.txt
> > > error: building sparc-rtems6-kernel-erc32-1
> > > Build

Re: GSOC project: #4334 Replace Mongoose with Civetweb

2021-03-29 Thread Ayushman Mishra
I have installed libbsd package (made
RTEMS_POSIX_API=True,RTEMS_NETWORKING=True in config.ini file to
enable POSIX and networking) but I am still confused about the work
already done in this project in past. Also after interacting on
discord I think completely replacing  mongoose with another web-server
is not a good option since it may rise some user complaints who are
already using old system and may find it difficult to instantly switch
over to new system , instead civetweb can be added as an extra new
web-server where user has a choice to either use old mongoose or the
new web server both having all dependencies and functionalities
available.

Also I still don't know whether the project #4334 is long enough for
summer of code project and after going through docs I think
https://devel.rtems.org/ticket/4272 is also a very interesting project
since now I think I know a little bit about BSPs and I am good in
python and know shell-scripting. I would be very grateful to know more
about this project.
Thanks.

On Sat, Mar 27, 2021 at 5:36 PM Ayushman Mishra
 wrote:
>
> Greetings to all the respected mentors,
> 1. I saw there has been a lot of discussion regarding replacing
> mongoose with civetweb (
> https://lists.rtems.org/pipermail/devel/2016-April/014661.html ).
> I think the basic outline of the project is like this
> a. Completely removing mongoose and replace it with civetweb and make
> it configurable in rsb
> b. check the parameters and options available in civetweb and make it
> usable for users in rtems.
> c. making test-cases for civetweb (should be similar to mongoose)
> d. documentation of using civetweb and web-server in general.
> I would be very grateful to know what is the actual current status of
> this project and the coding involved in it enough for a summer of code
> project or some extra things should be added in it.
>
> Also,
> 2. I have build bsp on rtems6 and a simple application is working
> correct, but while trying to build libbsd package in rtems6
> (../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 \
>   --host=sparc-rtems6 --with-rtems-bsp=erc32 6/rtems-libbsd ) I am
> constantly getting build failed
> RTEMS Source Builder - Set Builder, 6 (ade089253e70)
> Build Set: 6/rtems-libbsd
> config: tools/rtems-libbsd-6.cfg
> error: rtems-bsp.cfg:155: invalid %if operator:  -mcpu=cypress
> -I/home/ayush/quick-start/rtems/6/sparc-rtems6/erc32/lib/include ==
> Build FAILED
> Build Set: Time 0:00:00.045392
> Build FAILED
>
> I also tried building all packages for bsp erc32
> (../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 \
> --with-rtems-tests=yes bsps/erc32) but after building for more
> than an hour it also gave build failed error.
> building: sparc-rtems6-kernel-erc32-1
> error: building sparc-rtems6-kernel-erc32-1
> Build FAILED
>   See error report: rsb-report-sparc-rtems6-kernel-erc32-1.txt
> error: building sparc-rtems6-kernel-erc32-1
> Build Set: Time 0:23:14.195494
> error: building sparc-rtems6-kernel-erc32-1
> Build Set: Time 3:55:05.826612
> Build FAILED
>
> Thanks, Ayushman
>
> On Mon, Mar 22, 2021 at 6:37 AM Ayushman Mishra
>  wrote:
> >
> > Thanks a lot for help and information , actually i am trying to setup
> > mongoose on simple rtems application
> > (https://devel.rtems.org/wiki/Developer/Mongoose_Web_Server) and for
> > that right now I am trying to configure networking and file-system in
> > the application.
> >
> > On Sun, Mar 21, 2021 at 8:54 PM Joel Sherrill  wrote:
> > >
> > >
> > >
> > > On Sun, Mar 21, 2021, 4:45 AM Christian Mauderer  
> > > wrote:
> > >>
> > >> Hello Ayushman,
> > >>
> > >> On 21/03/2021 04:15, Ayushman Mishra wrote:
> > >> > Ayushman
> > >> > Hello everyone , I am very much interested in taking
> > >> > https://devel.rtems.org/ticket/4334
> > >> > as a GSOC 2021 project. I know some basic networking concepts and 
> > >> > would like to
> > >> > learn more about it and how its applied to OS like RTEMS , regarding
> > >> > this I have some questions.
> > >>
> > >> Note that the ticket will be more about integrating civetweb into a
> > >> RTEMS Source Builder (RSB) recipe and finding a way to make it
> > >> configurable there. Alternative could be some kind of stand alone repo
> > >> like for littlevgl.
> > >
> > >
> > > Making the civitweb configure options available to RTEMS user is a key 
> > > point.
> > >
> > > It may make sense to do a repo with waf build system and config.ini that 
> > &

Re: GSOC project: #4334 Replace Mongoose with Civetweb

2021-03-27 Thread Ayushman Mishra
Greetings to all the respected mentors,
1. I saw there has been a lot of discussion regarding replacing
mongoose with civetweb (
https://lists.rtems.org/pipermail/devel/2016-April/014661.html ).
I think the basic outline of the project is like this
a. Completely removing mongoose and replace it with civetweb and make
it configurable in rsb
b. check the parameters and options available in civetweb and make it
usable for users in rtems.
c. making test-cases for civetweb (should be similar to mongoose)
d. documentation of using civetweb and web-server in general.
I would be very grateful to know what is the actual current status of
this project and the coding involved in it enough for a summer of code
project or some extra things should be added in it.

Also,
2. I have build bsp on rtems6 and a simple application is working
correct, but while trying to build libbsd package in rtems6
(../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 \
  --host=sparc-rtems6 --with-rtems-bsp=erc32 6/rtems-libbsd ) I am
constantly getting build failed
RTEMS Source Builder - Set Builder, 6 (ade089253e70)
Build Set: 6/rtems-libbsd
config: tools/rtems-libbsd-6.cfg
error: rtems-bsp.cfg:155: invalid %if operator:  -mcpu=cypress
-I/home/ayush/quick-start/rtems/6/sparc-rtems6/erc32/lib/include ==
Build FAILED
Build Set: Time 0:00:00.045392
Build FAILED

I also tried building all packages for bsp erc32
(../source-builder/sb-set-builder --prefix=$HOME/quick-start/rtems/6 \
--with-rtems-tests=yes bsps/erc32) but after building for more
than an hour it also gave build failed error.
building: sparc-rtems6-kernel-erc32-1
error: building sparc-rtems6-kernel-erc32-1
Build FAILED
  See error report: rsb-report-sparc-rtems6-kernel-erc32-1.txt
error: building sparc-rtems6-kernel-erc32-1
Build Set: Time 0:23:14.195494
error: building sparc-rtems6-kernel-erc32-1
Build Set: Time 3:55:05.826612
Build FAILED

Thanks, Ayushman

On Mon, Mar 22, 2021 at 6:37 AM Ayushman Mishra
 wrote:
>
> Thanks a lot for help and information , actually i am trying to setup
> mongoose on simple rtems application
> (https://devel.rtems.org/wiki/Developer/Mongoose_Web_Server) and for
> that right now I am trying to configure networking and file-system in
> the application.
>
> On Sun, Mar 21, 2021 at 8:54 PM Joel Sherrill  wrote:
> >
> >
> >
> > On Sun, Mar 21, 2021, 4:45 AM Christian Mauderer  wrote:
> >>
> >> Hello Ayushman,
> >>
> >> On 21/03/2021 04:15, Ayushman Mishra wrote:
> >> > Ayushman
> >> > Hello everyone , I am very much interested in taking
> >> > https://devel.rtems.org/ticket/4334
> >> > as a GSOC 2021 project. I know some basic networking concepts and would 
> >> > like to
> >> > learn more about it and how its applied to OS like RTEMS , regarding
> >> > this I have some questions.
> >>
> >> Note that the ticket will be more about integrating civetweb into a
> >> RTEMS Source Builder (RSB) recipe and finding a way to make it
> >> configurable there. Alternative could be some kind of stand alone repo
> >> like for littlevgl.
> >
> >
> > Making the civitweb configure options available to RTEMS user is a key 
> > point.
> >
> > It may make sense to do a repo with waf build system and config.ini that 
> > maps to their settings.
> >
> >>
> >> civetweb builds on RTEMS nearly out of the box. So don't expect too much
> >> C-Code.
> >
> >
> > I set it up recently on Linux for embedding in their application. As you 
> > turned on options, it had more dependencies. This would have to be managed 
> > with RTEMS.
> >
> >>
> >> I'm not yet sure how much work will be on that ticket. If it is too few
> >> for a whole GSoC, you might want to think about reviving the discussion
> >> about some useful civetweb parameters (for an embedded system) here:
> >>
> >>  https://github.com/civetweb/civetweb/pull/297
> >
> >
> > +1
> >
> > How to present the options to the user and manage their dependencies would 
> > be a key part of this.
> >>
> >>
> >>
> >>
> >> >
> >> > 1. After building a simple hello world application how and where should 
> >> > i write
> >> > configurations of
> >> > https://docs.rtems.org/branches/master/networking/using_networking_rtems_app.html
> >> > OR  
> >> > https://docs.rtems.org/branches/master/user/migration/v4_11-to-v5.html#networking
> >> > to start using networking stack in RTEMS .
> >>
> >> The documentation is currently mostly for the legacy stack. Please
> &

Regarding cross-reference link in docs

2021-03-24 Thread Ayushman Mishra
Hello everyone,
I am writing a document page and i am getting stuck in writing reference
link to different manual of docs. I tried using the .. _reference: ,
:ref:`refrence-link` method but it works for document in same manual but
not in different manuals . And I think this is an issue in several
different pages of docs also since while going through other pages I saw
reference-links given in form of complete url of other doc manual which I
don't think will work once the master branch changes to release version (
and url gets changed) .
It would very helpful if someone can please provide some information about
how to refer to different manual so that I can complete the page and
correct other links of docs.
Thanks,
Ayushman
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: Question regarding an open project and documentation enhancement

2021-03-23 Thread Ayushman Mishra
I have send patches regarding addition of FAQ page in user/quick-start
section of docs . Here I had to make extra links in 7.5
autoconf-migrations ,1.2 features,3.1 project support and corrected
the link in https://docs.rtems.org/branches/master/user/bld/index.html#commands
. In 2nd patch I moved questions of
https://docs.rtems.org/branches/master/user/support/contrib.html#common-questions-and-answers
from 3.3 Contributing section to FAQ page.

On Thu, Mar 18, 2021 at 9:46 PM Gedare Bloom  wrote:
>
> On Thu, Mar 18, 2021 at 10:08 AM Ayushman Mishra
>  wrote:
> >
> > Sorry for the delay (actually I was little busy due to my semester
> > examination) and extremely sorry for my previous behaviour
> >
> > I have created a frequently asked questions (FAQ) page under
> > quick-start section in user guide according to the ticket
> > https://devel.rtems.org/ticket/3958 . I have attached an image of how
> > the page looks after build up, and will send a patch for it as soon as
> > possible ( currently some links are not working correctly) . Most of
> > the questions are from https://devel.rtems.org/wiki/TBR/Website/FAQ
> > but I am also writing a few questions of my own (like about .waf and
> > autoconf build up)
> >
> Great. Maybe, start with the patch to add the new FAQ section to the
> docs, and a second patch to migrate the contents from the Trac, and
> then a third patch to add some more questions.
>
> > Also I wanted to take https://devel.rtems.org/ticket/4334 (Replace
> > Mongoose with Civitweb) as a GSOC project as I have huge interest in
> > networking related projects but lack experience in it. I would be very
> > grateful to know more about this project.
> >
> This is a good project also. Note there is a typo in the ticket title,
> the project is called Civetweb; I fixed the ticket typos. For this
> project, during the proposal preparation phase you should get RTEMS
> working with a networking stack and able to run the existing mongoose
> webserver (mghttpd) would be a very good start. I would suggest you
> start a new thread to discuss this project, and to ask for more
> guidance there.
>
> Gedare
>
> >
> > On Tue, Mar 2, 2021 at 10:28 PM Gedare Bloom  wrote:
> > >
> > > On Tue, Mar 2, 2021 at 9:11 AM Joel Sherrill  wrote:
> > > >
> > > >
> > > >
> > > > On Tue, Mar 2, 2021 at 9:08 AM Ayushman Mishra 
> > > >  wrote:
> > > >>
> > > >> 1. Hello everyone, I went through open ticket "Code Formatting and
> > > >> Style Check for RTEMS score"  (https://devel.rtems.org/ticket/3860) as
> > > >> a possible GSOC project and discussion thread on it
> > > >> https://lists.rtems.org/pipermail/devel/2020-February/057246.html,
> > > >> https://lists.rtems.org/pipermail/devel/2020-February/057057.html .
> > > >> But most of the threads on this project are almost a year old , I
> > > >> wanted to know has there been any recent development on this project
> > > >> and is there any specific tool developed/under-development for it. I
> > > >> would be grateful to connect with mentor of this project in-order to
> > > >> know more about the complexity involved and resources available for
> > > >> it.
> > > >
> > > >
> > > > As Sebastian said, it hasn't had any recent work but still needs 
> > > > attention.
> > > > I think we have a first candidate style description and tool but it has 
> > > > not
> > > > been checked against the code to see what differences exist between the
> > > > RTEMS style and the generated style. These differences could be because
> > > > the formatting specification to the tool needs tweaking, the input 
> > > > RTEMS code
> > > > didn't follow the rules before, or we could need to consider changing 
> > > > our style
> > > > rules.
> > > >
> > > > The score/src directory is thought to be the one of the ones which would
> > > > follow the RTEMS style most consistently. Focusing there should help
> > > > establish a baseline style, scripts, and change recommendations.
> > > >
> > > > Style adherence also has to be accounted for as part of the patch review
> > > > and git commit process. Hopefully it can be automated.
> > > >
> > > > Taking a broad view of this could be a good GSoC project. At least I
> > > > think there is enough programming in it to count as one.
> > > &

[PATCH 2/2] moved common questions and answers to faq

2021-03-23 Thread Ayushman Mishra
---
 user/start/faq.rst   | 87 
 user/support/contrib.rst | 95 
 2 files changed, 87 insertions(+), 95 deletions(-)

diff --git a/user/start/faq.rst b/user/start/faq.rst
index da11ca4..4558bce 100644
--- a/user/start/faq.rst
+++ b/user/start/faq.rst
@@ -246,6 +246,93 @@ system initialization although task stacks and message 
buffer areas are also
 allocated from here.
 
 
+Why should we work with the RTEMS developers
+---
+
+Our engineers understand our target environment better than anyone else, and 
+we have a tight schedule. Why should we work with the RTEMS developers, when 
+we can get the code out faster by whacking it out on our own?
+
+
+You understand your target environment better than anyone else.
+However, the RTEMS developers understand RTEMS better than anyone
+else; furthermore, the RTEMS developers tend to have a wide breadth
+of experience across a large number of processors, boards, peripherals,
+and application domains. It has been our experience that few problems
+encountered in embedded systems development are unique to a particular
+processor or application. The vast majority of the time an issue that
+arises in one project has also shown up in other projects.
+
+The intimate knowledge of RTEMS internals as well as a wide breadth of
+embedded systems knowledge means that there is a good chance that at
+least one RTEMS developer has already addressed issues you are likely
+to face when doing your port, BSP, or application. The developers can
+help guide you towards a workable long term solution, possibly saving
+you significant time in your development cycle.
+
+If getting the sources into the official RTEMS distributions is one of
+your goals, then engaging other RTEMS developers early will also likely
+shorten your development time. By interacting as early as possible you
+are more likely to write code which can be easily accepted into the official
+sources when you are finished. If you wait until you think you are done
+to begin interacting with the RTEMS team, you might find that you did
+some things wrong and you may have to rewrite parts of your RTEMS port,
+which is a waste of your valuable time.
+
+
+Why should we integrate our port into the official RTEMS sources? 
+--
+
+Why should we care if our port is integrated into the official RTEMS sources? 
+We can distribute it ourselves to whoever is interested.
+
+
+
+Yes, the RTEMS licenses allows you to do that. But by doing so, you end up
+having to maintain that code yourself; this can be a significant
+effort over time as the RTEMS sources change rapidly.
+
+You also lose the advantage of wider exposure by including your port
+in the official RTEMS sources maintained by the RTEMS Project.
+The wider exposure in the RTEMS developer and tester community will
+help keep your work up to date with the current sources. You may even
+find that volunteers will run the ever-growing test suite on your port
+and fix problems during the development cycle -- sometimes without your
+intervention.
+
+It has been our experience that integrated ports tend to ultimately
+be of better quality and stay up to date from release to release.
+
+
+Aspects of my target environment that my application exploits are still under 
NDA
+-
+
+Nevertheless, if the target hardware is built of any commercial parts
+that are generally available including, but not limited to, the CPU
+or peripherals, then that portion of your work is still of general use.
+Similarly, if you have written software that adheres to existing API or
+interface standards, then that portion is also of general use.
+Our experience is that most embedded applications do utilize a custom
+mix of hardware and application, but they are built upon layers of hardware
+and software components that are in no way unique to the project.
+
+If you are porting to an unreleased CPU family or model, then just
+announcing it is important because other RTEMS users may be planning
+to use it and some of them may already be trying to port RTEMS on
+their own. Your customers might be happier to know that your port
+will eventually be available. Also, there is no requirement that RTEMS
+include all features or ports at any particular time, so you are encouraged
+to submit discrete pieces of functionality in stages.
+
+Assume that your processor has some new functionality or peripherals.
+However that functionality is still covered by NDA, but the basic core
+architecture is not. It is still to your advantage to go ahead and work
+with the developers early to provide a "base port" for the CPU family.
+That base port would only use the publicly available specifications
+until such time as the NDA is lifted. Once the NDA 

[PATCH 1/2] Added FAQ page

2021-03-23 Thread Ayushman Mishra
---
 user/bld/index.rst   |   4 +-
 user/overview/index.rst  |   2 +
 user/start/faq.rst   | 255 +++
 user/start/index.rst |   1 +
 user/support/support-project.rst |   2 +
 5 files changed, 263 insertions(+), 1 deletion(-)
 create mode 100644 user/start/faq.rst

diff --git a/user/bld/index.rst b/user/bld/index.rst
index ebedf5a..a8a8a4f 100644
--- a/user/bld/index.rst
+++ b/user/bld/index.rst
@@ -82,7 +82,7 @@ specifies paths to build specification items.  It is an 
advanced option and
 there is normally no need to use it.  It may be used to customize the build at
 the level of the build specification.  For more information see the
 `Build System` chapter of the
-`RTEMS Software Engineering 
`_
+`RTEMS Software Engineering 
`_
 guide.
 
 Help
@@ -283,6 +283,8 @@ example configuration file, building of the tests is 
enabled for the
 [sparc/erc32]
 
 [riscv/griscv]
+
+.. _Autoconf_migration:
 
 Migration from Autoconf/Automake
 
diff --git a/user/overview/index.rst b/user/overview/index.rst
index 550724a..0703ede 100644
--- a/user/overview/index.rst
+++ b/user/overview/index.rst
@@ -20,6 +20,8 @@ You are someone looking for a real-time operating system.  
This document
 
 - helps you to build an example application on top of RTEMS.
 
+.. _Features:
+
 Features
 
 
diff --git a/user/start/faq.rst b/user/start/faq.rst
new file mode 100644
index 000..da11ca4
--- /dev/null
+++ b/user/start/faq.rst
@@ -0,0 +1,255 @@
+Frequently Asked Questions
+==
+
+What is RTEMS ?
+---
+
+RTEMS is an open source real-time executive which provides a high performance 
+environment for embedded real-time applications including many features.
+
+The RTEMS Project is the umbrella term used to describe the collection of 
+individuals, companies, universities, and research institutions that 
collectively
+maintain and enhance the RTEMS software base.
+
+RTEMS is designed to support applications with the most stringent real-time 
+requirements while being compatible with open standards such as POSIX. 
+RTEMS includes optional functional features such as TCP/IP and various file 
+systems while still offering minimum executable sizes under 20 KB in useful 
+configurations.
+
+:ref:`More Features`
+
+Where can I ​get RTEMS ?
+-
+
+:ref:`Downloading RTEMS`
+
+
+What does RTEMS stand for ?
+-
+
+RTEMS is an an acronym for the Real-Time Executive for Multiprocessor Systems.
+
+Initially RTEMS stood for the Real-Time Executive for Missile Systems but as it
+became clear that the application domains that could use RTEMS extended far 
+beyond missiles, the "M" changed to mean Military. When maintenance of RTEMS 
+transferred to OAR, the "M" was changed again to Multiprocessor.
+
+At one point, there were both Ada and C implementations of RTEMS. 
+Version 3.2.1 was the last RTEMS version to have implementations in both 
+languages. Supporting the Classic API Ada implementation was painful and 
fraught
+with compiler specific pitfalls. With version 3.5.x, the POSIX API was added as
+the means to support the GNU Ada Translator (GNAT). This effectively 
eliminated 
+the need for an implementation in Ada as the C implementation could 
effectively 
+support both languages.
+
+
+Are there restrictions on the ​RTEMS License ?
+
+
+RTEMS is licensed under a modified version of the GNU General Public License 
(GPL).
+The modification places no restrictions on the applications which use RTEMS but
+protects the interests of those who work on RTEMS.
+
+`License in RTEMS
+`__
+
+
+What standards are supported by RTEMS?
+-
+
+The original "Classic" RTEMS API is based on the Real-Time Executive Interface 
+Definition (RTEID) and the Open Real-Time Kernel Interface Definition (ORKID). 
+RTEMS also includes support for POSIX threads and real-time extensions.
+
+With the addition of file system infrastructure, RTEMS supports approximately 
+80% of the POSIX 1003.1b-1996 standard. This standard defines the programming 
+interfaces of standard UNIX. This means that much source code that works on 
+UNIX, also works on RTEMS.RTEMS includes a port of the FreeBSD TCP/IP stack and
+thus supports BSD sockets. It also includes support for numerous networking 
+clients (DHCP, TFTP, NFS, etc.) and servers (FTPD, HTTPD, etc.).
+
+
+What processors is RTEMS available for ?
+--
+
+:ref:`Architectures in RTEMS`
+
+
+
+Are there similar 

Re: GSOC project: #4334 Replace Mongoose with Civetweb

2021-03-21 Thread Ayushman Mishra
Thanks a lot for help and information , actually i am trying to setup
mongoose on simple rtems application
(https://devel.rtems.org/wiki/Developer/Mongoose_Web_Server) and for
that right now I am trying to configure networking and file-system in
the application.

On Sun, Mar 21, 2021 at 8:54 PM Joel Sherrill  wrote:
>
>
>
> On Sun, Mar 21, 2021, 4:45 AM Christian Mauderer  wrote:
>>
>> Hello Ayushman,
>>
>> On 21/03/2021 04:15, Ayushman Mishra wrote:
>> > Ayushman
>> > Hello everyone , I am very much interested in taking
>> > https://devel.rtems.org/ticket/4334
>> > as a GSOC 2021 project. I know some basic networking concepts and would 
>> > like to
>> > learn more about it and how its applied to OS like RTEMS , regarding
>> > this I have some questions.
>>
>> Note that the ticket will be more about integrating civetweb into a
>> RTEMS Source Builder (RSB) recipe and finding a way to make it
>> configurable there. Alternative could be some kind of stand alone repo
>> like for littlevgl.
>
>
> Making the civitweb configure options available to RTEMS user is a key point.
>
> It may make sense to do a repo with waf build system and config.ini that maps 
> to their settings.
>
>>
>> civetweb builds on RTEMS nearly out of the box. So don't expect too much
>> C-Code.
>
>
> I set it up recently on Linux for embedding in their application. As you 
> turned on options, it had more dependencies. This would have to be managed 
> with RTEMS.
>
>>
>> I'm not yet sure how much work will be on that ticket. If it is too few
>> for a whole GSoC, you might want to think about reviving the discussion
>> about some useful civetweb parameters (for an embedded system) here:
>>
>>  https://github.com/civetweb/civetweb/pull/297
>
>
> +1
>
> How to present the options to the user and manage their dependencies would be 
> a key part of this.
>>
>>
>>
>>
>> >
>> > 1. After building a simple hello world application how and where should i 
>> > write
>> > configurations of
>> > https://docs.rtems.org/branches/master/networking/using_networking_rtems_app.html
>> > OR  
>> > https://docs.rtems.org/branches/master/user/migration/v4_11-to-v5.html#networking
>> > to start using networking stack in RTEMS .
>>
>> The documentation is currently mostly for the legacy stack. Please
>> ignore most of that. You should focus on a BSP that uses libbsd. The
>> legacy stack and it's documentation will be removed from the main repos
>> soon.
>>
>> > Also I think a simple shell has to be spawned to use networking modules in 
>> > RTEMS
>> > and for getting it this
>> > https://docs.rtems.org/branches/master/shell/configuration_and_init.html#attached-to-a-serial-port
>> > I think could be a simple method and for doing so ( like executing
>> > rtems_shell_init with parameters )
>> > do i have to run the specific test in testsuite or re-run the application
>>
>> There is a "mghttpd01" test in rtems-libbsd which is used for the
>> current fixed version of mongoose that is integrated in RTEMS. I would
>> suggest to use that as a starting point.
>>
>> >
>> > 2. Is there any specific device or bsp needed for running networking
>> > or shell configurations
>> > with file-system in RTEMS
>>
>> Basically you can use every BSP that has network support. A good
>> simulation BSP where you don't need any hardware is xilinx_zynq_a9_qemu:
>>
>> https://docs.rtems.org/branches/master/user/bsps/bsps-arm.html#debugging-with-xilinx-zynq-a9-qemu
>>
>> Best Regards
>>
>> Christian
>>
>> > I would be very thankful if someone can please clarify my doubts and
>> > guide me further
>> > with this project as I am getting lost and don't know how to proceed
>> > after building a simple application.
>> > Thank-you
>> > ___
>> > devel mailing list
>> > devel@rtems.org
>> > http://lists.rtems.org/mailman/listinfo/devel
>> >
>> ___
>> devel mailing list
>> devel@rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


GSOC project: #4334 Replace Mongoose with Civetweb

2021-03-20 Thread Ayushman Mishra
Ayushman
Hello everyone , I am very much interested in taking
https://devel.rtems.org/ticket/4334
as a GSOC 2021 project. I know some basic networking concepts and would like to
learn more about it and how its applied to OS like RTEMS , regarding
this I have some questions.

1. After building a simple hello world application how and where should i write
configurations of
https://docs.rtems.org/branches/master/networking/using_networking_rtems_app.html
OR  
https://docs.rtems.org/branches/master/user/migration/v4_11-to-v5.html#networking
to start using networking stack in RTEMS .
Also I think a simple shell has to be spawned to use networking modules in RTEMS
and for getting it this
https://docs.rtems.org/branches/master/shell/configuration_and_init.html#attached-to-a-serial-port
I think could be a simple method and for doing so ( like executing
rtems_shell_init with parameters )
do i have to run the specific test in testsuite or re-run the application

2. Is there any specific device or bsp needed for running networking
or shell configurations
with file-system in RTEMS
I would be very thankful if someone can please clarify my doubts and
guide me further
with this project as I am getting lost and don't know how to proceed
after building a simple application.
Thank-you
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: code reformatting was Re: Regarding gsoc project 3860

2021-03-15 Thread Ayushman Mishra
I am extremely sorry for my behaviour and promise that this won't happen
again . Actually I am pretty new to open source community ( I have
contributed before but not interacted a lot with other people) and I am
really grateful to you for pointing out my mistake , I will definitely make
sure about this point while contributing and interacting with others in
future.

AYUSHMAN

On Tue, Mar 16, 2021, 3:35 AM Gedare Bloom  wrote:

> On Mon, Mar 15, 2021 at 6:44 AM Joel Sherrill  wrote:
> >
> >
> >
> > On Mon, Mar 15, 2021 at 4:20 AM Hesham Almatary <
> hesham.almat...@cl.cam.ac.uk> wrote:
> >>
> >> Hello Ayushman and Ida,
> >>
> >> Usually, if multiple students really want to work on a particular
> >> project (and can't/don't want to choose another), there can be
> >> multiple proposals for the same project and we choose the best one.
> >> Sometimes a project can be split up between two students to work on to
> >> minimise conflicts.
> >
> >
> > There are multiple things that need to be addressed here.
> >
> > First, there have been discussions on devel@ about code formatting
> tools.
> > Sebastian has posted a configuration for the indent program but offhand
> > I don't know where that is. It may be in the documentation.
> >
> I posted about this to Ida. I think it was uncrustify? I think several
> tools have been looked into. No specific tool is required, but we
> should pick the one that best allows us to meet the needs of the
> project.
>
> > For indent to move forward from here, its impact on the code in a
> directory
> > that is thought to follow the RTEMS style well would need to be
> evaluated.
> > Do the rules need to be tweaked to avoid changes? Is the source code
> actually
> > just not in conformance with published rules? The process here is to
> evaluate
> > the difference between tool output and existing code and work to close
> the
> > delta by tweaking rules and fixing code. The end is expected to be that
> there
> > are a few places where the tool can't produce RTEMS style and we have to
> > discuss adopting something the tool can produce.
> >
> > I don't recall if Sebastian evaluated the llvm formatter and created a
> configuration
> > for it. In this case, creating a configuration for this tool before
> evaluating the
> > difference in output would be the path forward. If this formatter is
> better, then
> > I would like to see an RTEMS style added to their options.
> >
> > With either tool, a factor is integrating it into the development
> process. I'm
> > not sure what a GSoC project would do about this.
> >
>
> I think the tool integration is the main piece of GSoC-relevant work,
> as this would involve some level of scripting and automation.
>
> > So there are two potential projects here. My question is not conflict on
> > project choice, it is whether either is an appropriate GSoC project. With
> > the shorter time frame, I think the scope of the project is in the right
> ballpark.
> > Is there enough coding? I don't know.
> >
>
> I'm not currently convinced there is enough coding work for two
> projects in this area. I don't think there would have been enough
> coding work for one project under the old GSoC scope.
>
> Running the code formatter and submitting patches won't really count
> as "code contributions"
>
> > --joel
> >
> >>
> >>
> >> On Mon, 15 Mar 2021 at 09:45, Ida Delphine  wrote:
> >> >
> >> > Umm...did you bring up a discussion regarding this project earlier?
> >> >
> I do not have a record of Ayushman "claiming" this project, and anyway
> we don't allow students to "claim" a project.
>
> >> > On Mon, 15 Mar 2021, 8:10 am Ayushman Mishra, <
> ayushvidush...@gmail.com> wrote:
> >> >>
> >> >> AYUSHMAN MISHRA
> >> >>
> >> >> Hello Ida delphini AYUSHMAN here , Can you please select any other
> project for gsoc as I am also currently working on proposal for the same
> project
> >> >> https://devel.rtems.org/ticket/3860 for gsoc 2021
> >> >
> Ayushman, this is not a polite request for you to make, in addition it
> would best have been made by direct reply to her email in the same
> thread, not by starting a new e-mail thread. In an open-source
> community, you should not impose yourself on another person. It goes
> against the fundamental ideas of "freedom" that open-source is based
> on. Part of GSoC is exactly about learning thi

Regarding gsoc project 3860

2021-03-15 Thread Ayushman Mishra
AYUSHMAN MISHRA

Hello Ida delphini AYUSHMAN here , Can you please select any other project
for gsoc as I am also currently working on proposal for the same project
https://devel.rtems.org/ticket/3860 for gsoc 2021
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Question regarding an open project and documentation enhancement

2021-03-02 Thread Ayushman Mishra
1. Hello everyone, I went through open ticket "Code Formatting and
Style Check for RTEMS score"  (https://devel.rtems.org/ticket/3860) as
a possible GSOC project and discussion thread on it
https://lists.rtems.org/pipermail/devel/2020-February/057246.html,
https://lists.rtems.org/pipermail/devel/2020-February/057057.html .
But most of the threads on this project are almost a year old , I
wanted to know has there been any recent development on this project
and is there any specific tool developed/under-development for it. I
would be grateful to connect with mentor of this project in-order to
know more about the complexity involved and resources available for
it.

2. Also I checked the issue #3958 https://devel.rtems.org/ticket/3958
, fixed some of the broken links of FAQ page but few of the answers I
got were from sites other than user guide. I would like to create a
separate FAQ page in user-guide having some of answers available there
only and some available as links.

Ayushman
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: Question regarding RSB and open projects

2021-02-11 Thread Ayushman Mishra
Thank-you very much for help and clarification , I think i didn't
bootstrap the source code last time because this time I did get
configure file which i then used for make and make install , this time
I used enable-test=samples option and  while using rtems-test on erc32
, 11 test were performed.
And for the error pax is missing , I install pax separately , but
sadly again got Build error ( this time error report was very
confusing).

On Thu, Feb 11, 2021 at 12:40 AM Eshan Dhawan  wrote:
>
>
>
> On Thu, Feb 11, 2021 at 12:26 AM Ayushman Mishra  
> wrote:
>>
>> I tested the environment ./source-builder/sb-check , it gave this
>> result: RTEMS Source Builder - Check, 6 (61dcadee0825)
>> Environment is ok
>> When I used ../source-builder/sb-set-builder
>> --prefix=/home/ayush/quickstart1/rtems/6 --target=sparc-rtems6
>> --with-rtems-bsp=erc32 --with-rtems-tests=yes 6/rtems-sparc , it
>> started rebuilding and installing rtems-sparc tool suite ( just like
>> it did with this ../source-builder/sb-set-builder
>> --prefix=$HOME/quick-start/rtems/5 5/rtems-sparc , and took same
>> amount of time to complete the process) but no erc32 bsp was installed
>> ( bsp test said error: no executables supplied) , and using
>> 6/rtems-kernel instead of 6/rtems-sparc it gives same Build error (pax
>> is missing) , right now rsb is only working properly for rtems5 and
>> not rtems6 on my system.
>
> RSB builds the tools required to build rtems
> erc32 is a sparc BSP
> for building a BSP
> follow this : 
> https://docs.rtems.org/branches/master/user/installation/kernel.html
>>
>>
>> On Wed, Feb 10, 2021 at 11:44 AM Eshan Dhawan  
>> wrote:
>> >
>> >
>> >
>> > On Wed, Feb 10, 2021 at 10:36 AM Ayushman Mishra 
>> >  wrote:
>> >>
>> >> Thanks for the help Eshan but actually I have already performed this
>> >> step (sudo apt-get build-dep build-essential gcc-defaults g++ gdb git
>> >> \
>> >> unzip pax bison flex texinfo unzip python3-dev libpython-dev \
>> >> libncurses5-dev zlib1g-dev) , here since my system was not able to
>> >> find libpython-dev (Unable to find a source package for libpython-dev
>> >> ) so i used libpython2.7-dev , I tried with both python2-dev and 
>> >> python3-dev
>> >> (
>> >>  sudo apt-get build-dep build-essential gcc-defaults g++ gdb git \
>> >> unzip pax bison flex texinfo unzip python2-dev libpython2.7-dev \
>> >> libncurses5-dev zlib1g-dev
>> >> Reading package lists... Done
>> >> Picking 'gcc-defaults' as source package instead of 'g++'
>> >> Picking 'python-defaults' as source package instead of 'python2-dev'
>> >> Picking 'python2.7' as source package instead of 'libpython2.7-dev'
>> >> Picking 'ncurses' as source package instead of 'libncurses5-dev'
>> >> Picking 'zlib' as source package instead of 'zlib1g-dev'
>> >> Reading package lists... Done
>> >> Building dependency tree
>> >> Reading state information... Done
>> >> 0 upgraded, 0 newly installed, 0 to remove and 184 not upgraded.
>> >> ) ,
>> >
>> > did you test the environment
>> >
>> > ./source-builder/sb-check
>> >>
>> >> but then also same Build FAILED error comes up (configure: error: pax
>> >> is missing) . Also I wanted to know does the rsb in rtems6 uses
>> >> autoconf-based build system , since there is no configure file made
>> >> and used.
>> >
>> > Also, try using
>> >
>> > ../source-builder/sb-set-builder --prefix=/home/ayush/quickstart1/rtems/6 
>> > --target=sparc-rtems6 --with-rtems-bsp=erc32 --with-rtems-tests=yes 
>> > 6/rtems-sparc
>> >
>> >>
>> >> On Wed, Feb 10, 2021 at 1:04 AM Eshan Dhawan  
>> >> wrote:
>> >> >
>> >> > Hi ayushman
>> >> > It looks you didn't install all the dependencies required
>> >> > check this : 
>> >> > https://docs.rtems.org/branches/master/user/hosts/posix.html#linux
>> >> >
>> >> > On Wed, Feb 10, 2021 at 12:58 AM Ayushman Mishra 
>> >> >  wrote:
>> >> >>
>> >> >> Ayusman Mishra
>> >> >> 1. I was going through ticket #4145
>> >> >> (https://devel.rtems.org/ticket/4145) and tried building bsp on rtems6
>> >> >> and rtems5 both using rsb
>> >> >> (https://docs.rtems.org/branches/master/user/start/bsp-build.h

Re: Question regarding RSB and open projects

2021-02-10 Thread Ayushman Mishra
I tested the environment ./source-builder/sb-check , it gave this
result: RTEMS Source Builder - Check, 6 (61dcadee0825)
Environment is ok
When I used ../source-builder/sb-set-builder
--prefix=/home/ayush/quickstart1/rtems/6 --target=sparc-rtems6
--with-rtems-bsp=erc32 --with-rtems-tests=yes 6/rtems-sparc , it
started rebuilding and installing rtems-sparc tool suite ( just like
it did with this ../source-builder/sb-set-builder
--prefix=$HOME/quick-start/rtems/5 5/rtems-sparc , and took same
amount of time to complete the process) but no erc32 bsp was installed
( bsp test said error: no executables supplied) , and using
6/rtems-kernel instead of 6/rtems-sparc it gives same Build error (pax
is missing) , right now rsb is only working properly for rtems5 and
not rtems6 on my system.

On Wed, Feb 10, 2021 at 11:44 AM Eshan Dhawan  wrote:
>
>
>
> On Wed, Feb 10, 2021 at 10:36 AM Ayushman Mishra  
> wrote:
>>
>> Thanks for the help Eshan but actually I have already performed this
>> step (sudo apt-get build-dep build-essential gcc-defaults g++ gdb git
>> \
>> unzip pax bison flex texinfo unzip python3-dev libpython-dev \
>> libncurses5-dev zlib1g-dev) , here since my system was not able to
>> find libpython-dev (Unable to find a source package for libpython-dev
>> ) so i used libpython2.7-dev , I tried with both python2-dev and python3-dev
>> (
>>  sudo apt-get build-dep build-essential gcc-defaults g++ gdb git \
>> unzip pax bison flex texinfo unzip python2-dev libpython2.7-dev \
>> libncurses5-dev zlib1g-dev
>> Reading package lists... Done
>> Picking 'gcc-defaults' as source package instead of 'g++'
>> Picking 'python-defaults' as source package instead of 'python2-dev'
>> Picking 'python2.7' as source package instead of 'libpython2.7-dev'
>> Picking 'ncurses' as source package instead of 'libncurses5-dev'
>> Picking 'zlib' as source package instead of 'zlib1g-dev'
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> 0 upgraded, 0 newly installed, 0 to remove and 184 not upgraded.
>> ) ,
>
> did you test the environment
>
> ./source-builder/sb-check
>>
>> but then also same Build FAILED error comes up (configure: error: pax
>> is missing) . Also I wanted to know does the rsb in rtems6 uses
>> autoconf-based build system , since there is no configure file made
>> and used.
>
> Also, try using
>
> ../source-builder/sb-set-builder --prefix=/home/ayush/quickstart1/rtems/6 
> --target=sparc-rtems6 --with-rtems-bsp=erc32 --with-rtems-tests=yes 
> 6/rtems-sparc
>
>>
>> On Wed, Feb 10, 2021 at 1:04 AM Eshan Dhawan  wrote:
>> >
>> > Hi ayushman
>> > It looks you didn't install all the dependencies required
>> > check this : 
>> > https://docs.rtems.org/branches/master/user/hosts/posix.html#linux
>> >
>> > On Wed, Feb 10, 2021 at 12:58 AM Ayushman Mishra 
>> >  wrote:
>> >>
>> >> Ayusman Mishra
>> >> 1. I was going through ticket #4145
>> >> (https://devel.rtems.org/ticket/4145) and tried building bsp on rtems6
>> >> and rtems5 both using rsb
>> >> (https://docs.rtems.org/branches/master/user/start/bsp-build.html#rsb-bsp-build)
>> >> but got Build FAILED (it says pax is missing (configure: error: pax is
>> >> missing.), I have attached full error report txt file). However I did
>> >> build bsp erc32 and pc386 using rsb on rtems5 (first .bootstrap -c
>> >> sb-bootstrap then used configure file
>> >> ($HOME/development/rtems/rtems-5/configure --target=i386-rtems5
>> >> --enable-rtemsbsp=pc386 )) on rtems6 there is no sb-bootstrap file or
>> >> configure file present/made.
>> >> I wanted to know is there anyway of using RSB on rtems6.
>> >> Also while building different bsp toolsets for rtems (erc32/pc386) I
>> >> used rtems on 2 different directories , Is there any way of building
>> >> different BSPs on same rtems?
>> >>
>> >> 2. I went through list of open projects and found projects related to
>> >> testing and development of ecosystem quite interesting,
>> >> #3710 https://devel.rtems.org/ticket/3710
>> >> #3860 https://devel.rtems.org/ticket/3860
>> >> #3892 https://devel.rtems.org/ticket/3892
>> >> I would be very grateful to know if any of the above projects is open
>> >> for participation and if yes then work done/needed to be done in it.
>> >> ___
>> >> devel mailing list
>> >> devel@rtems.org
>> >> http://lists.rtems.org/mailman/listinfo/devel
>> >
>> >
>> >
>> > --
>> > Thanks
>> > - Eshan
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Re: Question regarding RSB and open projects

2021-02-09 Thread Ayushman Mishra
Thanks for the help Eshan but actually I have already performed this
step (sudo apt-get build-dep build-essential gcc-defaults g++ gdb git
\
unzip pax bison flex texinfo unzip python3-dev libpython-dev \
libncurses5-dev zlib1g-dev) , here since my system was not able to
find libpython-dev (Unable to find a source package for libpython-dev
) so i used libpython2.7-dev , I tried with both python2-dev and python3-dev
(
 sudo apt-get build-dep build-essential gcc-defaults g++ gdb git \
unzip pax bison flex texinfo unzip python2-dev libpython2.7-dev \
libncurses5-dev zlib1g-dev
Reading package lists... Done
Picking 'gcc-defaults' as source package instead of 'g++'
Picking 'python-defaults' as source package instead of 'python2-dev'
Picking 'python2.7' as source package instead of 'libpython2.7-dev'
Picking 'ncurses' as source package instead of 'libncurses5-dev'
Picking 'zlib' as source package instead of 'zlib1g-dev'
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 184 not upgraded.
) ,
but then also same Build FAILED error comes up (configure: error: pax
is missing) . Also I wanted to know does the rsb in rtems6 uses
autoconf-based build system , since there is no configure file made
and used.

On Wed, Feb 10, 2021 at 1:04 AM Eshan Dhawan  wrote:
>
> Hi ayushman
> It looks you didn't install all the dependencies required
> check this : 
> https://docs.rtems.org/branches/master/user/hosts/posix.html#linux
>
> On Wed, Feb 10, 2021 at 12:58 AM Ayushman Mishra  
> wrote:
>>
>> Ayusman Mishra
>> 1. I was going through ticket #4145
>> (https://devel.rtems.org/ticket/4145) and tried building bsp on rtems6
>> and rtems5 both using rsb
>> (https://docs.rtems.org/branches/master/user/start/bsp-build.html#rsb-bsp-build)
>> but got Build FAILED (it says pax is missing (configure: error: pax is
>> missing.), I have attached full error report txt file). However I did
>> build bsp erc32 and pc386 using rsb on rtems5 (first .bootstrap -c
>> sb-bootstrap then used configure file
>> ($HOME/development/rtems/rtems-5/configure --target=i386-rtems5
>> --enable-rtemsbsp=pc386 )) on rtems6 there is no sb-bootstrap file or
>> configure file present/made.
>> I wanted to know is there anyway of using RSB on rtems6.
>> Also while building different bsp toolsets for rtems (erc32/pc386) I
>> used rtems on 2 different directories , Is there any way of building
>> different BSPs on same rtems?
>>
>> 2. I went through list of open projects and found projects related to
>> testing and development of ecosystem quite interesting,
>> #3710 https://devel.rtems.org/ticket/3710
>> #3860 https://devel.rtems.org/ticket/3860
>> #3892 https://devel.rtems.org/ticket/3892
>> I would be very grateful to know if any of the above projects is open
>> for participation and if yes then work done/needed to be done in it.
>> ___
>> devel mailing list
>> devel@rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
>
>
>
> --
> Thanks
> - Eshan
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel


Question regarding RSB and open projects

2021-02-09 Thread Ayushman Mishra
Ayusman Mishra
1. I was going through ticket #4145
(https://devel.rtems.org/ticket/4145) and tried building bsp on rtems6
and rtems5 both using rsb
(https://docs.rtems.org/branches/master/user/start/bsp-build.html#rsb-bsp-build)
but got Build FAILED (it says pax is missing (configure: error: pax is
missing.), I have attached full error report txt file). However I did
build bsp erc32 and pc386 using rsb on rtems5 (first .bootstrap -c
sb-bootstrap then used configure file
($HOME/development/rtems/rtems-5/configure --target=i386-rtems5
--enable-rtemsbsp=pc386 )) on rtems6 there is no sb-bootstrap file or
configure file present/made.
I wanted to know is there anyway of using RSB on rtems6.
Also while building different bsp toolsets for rtems (erc32/pc386) I
used rtems on 2 different directories , Is there any way of building
different BSPs on same rtems?

2. I went through list of open projects and found projects related to
testing and development of ecosystem quite interesting,
#3710 https://devel.rtems.org/ticket/3710
#3860 https://devel.rtems.org/ticket/3860
#3892 https://devel.rtems.org/ticket/3892
I would be very grateful to know if any of the above projects is open
for participation and if yes then work done/needed to be done in it.
RTEMS Tools Project - Source Builder Error Report
 Build: error: building sparc-rtems6-kernel-erc32-1
 Command Line: ../source-builder/sb-set-builder 
--prefix=/home/ayush/quickstart1/rtems/6 --target=sparc-rtems6 
--with-rtems-bsp=erc32 --with-rtems-tests=yes 6/rtems-kernel
 Python: 2.7.18 (default, Aug  4 2020, 11:16:42) [GCC 9.3.0]
 
git://git.rtems.org/rtems-source-builder.git/origin/61dcadee0825867ebe51f9f367430ef75b8fe9c0
 Linux ayushman 5.8.0-38-generic #43~20.04.1-Ubuntu SMP Tue Jan 12 16:39:47 UTC 
2021 x86_64
Tail of the build log:
+ SB_CXC=no
+ echo ==> clean %{buildroot}: 
/home/ayush/quickstart1/src/rsb/rtems/build/tmp/sparc-rtems6-kernel-erc32-1-1000
+ /bin/rm -rf 
/home/ayush/quickstart1/src/rsb/rtems/build/tmp/sparc-rtems6-kernel-erc32-1-1000
+ /bin/mkdir -p 
/home/ayush/quickstart1/src/rsb/rtems/build/tmp/sparc-rtems6-kernel-erc32-1-1000
+ echo ==> %build:
==> %build:
+ test x86_64-linux-gnu != x86_64-linux-gnu
+ build_dir=build
+ mkdir -p build
+ cd build
+ ../rtems-3ec5f20484cc4201e1d7b87844505644533b6148/configure 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=sparc-rtems6 
--enable-rtemsbsp=erc32 --enable-cxx --enable-posix --disable-networking 
--enable-tests=yes --prefix=/home/ayush/quickstart1/rtems/6 
--bindir=/home/ayush/quickstart1/rtems/6/bin 
--exec-prefix=/home/ayush/quickstart1/rtems/6 
--includedir=/home/ayush/quickstart1/rtems/6/include 
--libdir=/home/ayush/quickstart1/rtems/6/lib 
--mandir=/home/ayush/quickstart1/rtems/6/share/man 
--infodir=/home/ayush/quickstart1/rtems/6/share/info
checking for gmake... no
checking for make... make
checking for RTEMS Version... 6.0.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... sparc-unknown-rtems6
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking that generated files are newer than configure... done
configure: creating ./config.status
configure: configuring in sparc-rtems6/c
configure: running /bin/bash 
'../../../rtems-3ec5f20484cc4201e1d7b87844505644533b6148/c/configure' 
'--prefix=/home/ayush/quickstart1/rtems/6' '--host=sparc-rtems6' 
'--build=x86_64-linux-gnu' '--target=sparc-rtems6'  '--enable-rtemsbsp=erc32' 
'--enable-cxx' '--enable-posix' '--disable-networking' '--enable-tests=yes' 
'--bindir=/home/ayush/quickstart1/rtems/6/bin' 
'--exec-prefix=/home/ayush/quickstart1/rtems/6' 
'--includedir=/home/ayush/quickstart1/rtems/6/include' 
'--libdir=/home/ayush/quickstart1/rtems/6/lib' 
'--mandir=/home/ayush/quickstart1/rtems/6/share/man' 
'--infodir=/home/ayush/quickstart1/rtems/6/share/info' 
'--with-target-subdir=sparc-rtems6' 
'--exec-prefix=/home/ayush/quickstart1/rtems/6/sparc-rtems6' 
'--includedir=/home/ayush/quickstart1/rtems/6/sparc-rtems6/include'  
'--cache-file=/dev/null' 
'--srcdir=../../../rtems-3ec5f20484cc4201e1d7b87844505644533b6148/c'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 6.0.0
checking build system type... x86_64-pc-linux-gnu
checking host system type... sparc-unknown-rtems6
checking target system type... sparc-unknown-rtems6
checking rtems target cpu... sparc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for sparc-rtems6-strip... sparc-rtems6-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable