EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository
From: Chris Johns via Core-talk <core-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>
Cc: Core talk <core-talk at aps.anl.gov>, Joel Sherrill <joel at rtems.org>, "rtems-devel at rtems.org" <devel at rtems.org>
Date: Fri, 5 Mar 2021 10:36:36 +1100
On 5/3/21 4:42 am, Johnson, Andrew N. wrote:
> On Mar 3, 2021, at 6:45 PM, Chris Johns via Core-talk <core-talk at aps.anl.gov
> <mailto:core-talk at aps.anl.gov>> wrote:
>>
>> We should encourage users to add BSP build stacks to the RSB. I remember Andrew
>> Johnson posted on for a Coldfire. We should merge that one.
> 
> That file was trivial to create, it ought to be easy to automate generating it.

If the files are upstream in our repo we can check they build before we cut
releases.

> However one drawback is that it always builds the compiler and toolchain as well
> as the BSP, so anyone working on more than one BSP will be wasting cycles if
> they use that. I don’t know if RSB could be taught to not do toolchain builds
> unnecessarily, or if you could provide a different set of recipes that don’t
> have them as a component to be built?

Yes what we currently have does not align nicely to this way of building and I
think we should provide support to make this easier and the builds faster. I do
not think you are alone here and I welcome the feedback.

I think it is important we sort this out. Yes you can build the BSPs as Michael
 has shown and these ecosystem tools are designed in layers so you do this but
it would be nice to be able to ask the RSB to build EPCIS m68k, powerpc or arm
BSPs in a single pass. This comes back to the first comment I made, RTEMS would
love to have a current and valid list of BSPs active in EPICS so we can make
sure they build. In time if we can add public hardware test results we will be
in great shape.

> Michael Davidsaver taught me to run commands like this instead to avoid wasting
> cycles when I had already built the toolchain:
> 
>> ../source-builder/sb-set-builder \
>>     --host=powerpc-rtems5 --target=powerpc-rtems5 \
>>     --prefix=/home/anj/RTEMS-5.1/rtems-5.1 \
>>     --with-rtems-bsp=mvme3100 \
>>     5/rtems-kernel 5/rtems-libbsd
> 
> BTW why do both the --host= and --target= options there (equivalent to %defines
> in the .bset file) specify the RTEMS target? That seems weird to me.

The RSB started a long time ago as a personal tool to build the GNU tool chain
for MacOS using RPM spec files. These arguments matched the triplet terms
configure scripts use. The RSB can Candian cross compile (Cxc) tools, for
example building on Linux a Windows compiler for RTEMS and what you have here is
based on how those match up. The RSB internally has a "macro" database and all
the command line parsing ever did was set a macro. A build set (bset) can also
set a macro so the defines are a cheap trick to do this.

Chris

Replies:
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Johnson, Andrew N. via Core-talk
References:
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository junkes via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Joel Sherrill via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Vijay Kumar Banerjee via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository junkes via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Vijay Kumar Banerjee via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Heinz Junkes via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Joel Sherrill via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Vijay Kumar Banerjee via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Chris Johns via Core-talk
Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Johnson, Andrew N. via Core-talk

Navigate by Date:
Prev: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Chris Johns via Core-talk
Next: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Johnson, Andrew N. via Core-talk
Next: Re: Announcement: Legacy libnetworking will be removed from RTEMS and will be placed in a separate repository Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 04 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·