<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr">
<div></div>
<div data-ogsc="" style="">
<div>
<div style="direction: ltr;">Apologies for the delay in response,</div>
<div style="direction: ltr;">It’s an important update that I want to give to my mentors that my current development laptop showed some problems yesterday and which worsened today.</div>
<div><br>
</div>
<div style="direction: ltr;">I have submitted my laptop for repair. The good thing is that I have the backup of the work done till day and I have arranged a spare laptop as well which will be available tomorrow.</div>
<div><br>
</div>
<div style="direction: ltr;">Configuring and setting up my laptop for the development may take a couple of days and so I will like to request you all to kindly pardon my inactivity for the next 2 days.
</div>
<div><br>
</div>
<div style="direction: ltr;">I hope to be back active on Monday with everything set up on the new laptop.
</div>
<div><br>
</div>
<div style="direction: ltr;">Thanks</div>
<div style="direction: ltr;">Mritunjay </div>
</div>
<div><br>
</div>
<div class="ms-outlook-ios-signature">Get <a href="https://aka.ms/o0ukef" data-ogsc="" style="">
Outlook for iOS</a></div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Jan.Sommer@dlr.de <Jan.Sommer@dlr.de><br>
<b>Sent:</b> Thursday, July 9, 2020 12:43:30 PM<br>
<b>To:</b> gedare@rtems.org <gedare@rtems.org>; mritunjaysharma394@gmail.com <mritunjaysharma394@gmail.com><br>
<b>Cc:</b> rtems-devel@rtems.org <rtems-devel@rtems.org><br>
<b>Subject:</b> RE: [GSoC 2020: Daily Update]: Building EPICS with RTEMS5</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
<br>
> -----Original Message-----<br>
> From: devel [<a href="mailto:devel-bounces@rtems.org">mailto:devel-bounces@rtems.org</a>] On Behalf Of Gedare Bloom<br>
> Sent: Wednesday, July 8, 2020 9:45 PM<br>
> To: Mritunjay Sharma<br>
> Cc: RTEMS Devel<br>
> Subject: Re: [GSoC 2020: Daily Update]: Building EPICS with RTEMS5<br>
> <br>
> On Wed, Jul 8, 2020 at 12:33 PM Mritunjay Sharma<br>
> <mritunjaysharma394@gmail.com> wrote:<br>
> ><br>
> > [UPDATE]: I tried to build the EPICS 7 with RTEMS 5 for pc386 with Heinz's<br>
> <a href="https://github.com/hjunkes/epicsBaseOwnPlayground">https://github.com/hjunkes/epicsBaseOwnPlayground</a><br>
> > while switching to Branch "7". The previous errors are gone but I am facing<br>
> the following error:<br>
> ><br>
> > "../posix/rtems_init.c:38:10: fatal error: rtems/bsd/bsd.h: No such file or<br>
> directory<br>
> > #include <rtems/bsd/bsd.h><br>
> > ^~~~~~~~~~~~~~~~~<br>
> <br>
> This error indicates it is looking for an installed rtems-libbsd. My<br>
> guess is you need to build/install the rtems-libbsd to get this<br>
> playground to work.<br>
> <br>
<br>
I did not read everything in this thread, so maybe I misunderstand something.<br>
If you want to build rtems-libbsd for a pc-based BSP, please be aware of the following:<br>
- It should build fine if you use the 5-freebsd-12 branch.<br>
- With master branch is should build if you set the option "dev_nic_e1000" to off in your buildset.ini. It should compile, but depending on your network adapter there might be problems to actually use the network devices.<br>
<br>
Finishing a patchset for the master branch to fix that is on my todo list, but I haven't come around to do it yet.<br>
<br>
> > compilation terminated.<br>
> ><br>
> /home/mritunjay/development/EPICS/epicsBaseOwnPlayground/configure/<br>
> RULES_BUILD:234: recipe for target 'rtems_init.o' failed<br>
> > make[4]: *** [rtems_init.o] Error 1<br>
> > make[4]: Leaving directory<br>
> '/home/mritunjay/development/EPICS/epicsBaseOwnPlayground/modules/<br>
> libcom/RTEMS/O.RTEMS-pc386'<br>
> ><br>
> /home/mritunjay/development/EPICS/epicsBaseOwnPlayground/configure/<br>
> RULES_ARCHS:58: recipe for target 'install.RTEMS-pc386' failed<br>
> > make[3]: *** [install.RTEMS-pc386] Error 2<br>
> > make[3]: Leaving directory<br>
> '/home/mritunjay/development/EPICS/epicsBaseOwnPlayground/modules/<br>
> libcom/RTEMS'<br>
> ><br>
> /home/mritunjay/development/EPICS/epicsBaseOwnPlayground/configure/<br>
> RULES_DIRS:84: recipe for target 'RTEMS.install' failed<br>
> > make[2]: *** [RTEMS.install] Error 2<br>
> > make[2]: Leaving directory<br>
> '/home/mritunjay/development/EPICS/epicsBaseOwnPlayground/modules/<br>
> libcom'<br>
> > ../configure/RULES_DIRS:84: recipe for target 'libcom.install' failed<br>
> > make[1]: *** [libcom.install] Error 2<br>
> > make[1]: Leaving directory<br>
> '/home/mritunjay/development/EPICS/epicsBaseOwnPlayground/modules'<br>
> > configure/RULES_DIRS:84: recipe for target 'modules.install' failed<br>
> > make: *** [modules.install] Error 2"<br>
> ><br>
> > Today's update is that I tried to fix the above error however I still have not<br>
> been able to clear it.<br>
> > If anyone has idea, please do tell what can be done.<br>
> ><br>
> > Thanks<br>
> > Mritunjay<br>
> ><br>
> > On Wed, Jul 8, 2020 at 1:12 AM Mritunjay Sharma<br>
> <mritunjaysharma394@gmail.com> wrote:<br>
> >><br>
> >><br>
> >><br>
> >> ________________________________<br>
> >> From: Heinz Junkes <junkes@fhi-berlin.mpg.de><br>
> >> Sent: Wednesday, July 8, 2020 1:05 AM<br>
> >> To: Mritunjay Sharma<br>
> >> Cc: Gedare Bloom; Joel Sherrill; Chris Johns; RTEMS Devel<br>
> >> Subject: Re: [GSoC 2020: Daily Update]: Building EPICS with RTEMS5<br>
> >><br>
> >> I’m away from my keyboard. If you use the epics Adaption to rtems from<br>
> my github “playground?” and bsp’s with —enable-networks should compile.<br>
> >> Heinz<br>
> >><br>
> >> FHI, Heinz Junkes<br>
> >><br>
> >> Thank you Heinz, I was doing the same. I went to your GitHub and am<br>
> experimenting with "playground" right now.<br>
> >><br>
> >> Thanks,<br>
> >> Mritunjay<br>
> >><br>
> >> On 7. Jul 2020, at 18:14, Mritunjay Sharma<br>
> <mritunjaysharma394@gmail.com> wrote:<br>
> >><br>
> >> <br>
> >> [UPDATE]: I tried building EPICS with RTEMS5 for pc-386 and pc-386-qemu.<br>
> >> Everything worked fine while building the pc-386 with RTEMS5.<br>
> >><br>
> >> After this when I entered epics-base and made the following change:<br>
> >><br>
> >> epics-base/os/CONFIG_SITE.Common.RTEMS<br>
> >> RTEMS_VERSION = 5<br>
> >> RTEMS_BASE =<br>
> /home/mritunjay/development/rtems_dev/$(RTEMS_VERSION)<br>
> >><br>
> >> As an experiment, I ran the make and as expected got the following error<br>
> >><br>
> >> Error:<br>
> >><br>
> >> ```...de/compiler/gcc -I../../../../include/os/RTEMS -I../../../../include -<br>
> c ../rtems_init.c<br>
> >> ../rtems_init.c:21:10: fatal error: sys/termios.h: No such file or directory<br>
> >> #include <sys/termios.h><br>
> >> ^~~~~~~~~~~~~~~<br>
> >> compilation terminated.<br>
> >> ../../../../configure/RULES_BUILD:240: recipe for target 'rtems_init.o'<br>
> failed<br>
> >> make[4]: *** [rtems_init.o] Error 1<br>
> >> make[4]: Leaving directory '/home/mritunjay/development/EPICS/epics-<br>
> base/modules/libcom/RTEMS/O.RTEMS-pc386'<br>
> >> ../../../configure/RULES_ARCHS:58: recipe for target 'install.RTEMS-pc386'<br>
> failed<br>
> >> make[3]: *** [install.RTEMS-pc386] Error 2<br>
> >> make[3]: Leaving directory '/home/mritunjay/development/EPICS/epics-<br>
> base/modules/libcom/RTEMS'<br>
> >> ../../configure/RULES_DIRS:85: recipe for target 'RTEMS.install' failed<br>
> >> make[2]: *** [RTEMS.install] Error 2<br>
> >> make[2]: Leaving directory '/home/mritunjay/development/EPICS/epics-<br>
> base/modules/libcom'<br>
> >> ../configure/RULES_DIRS:85: recipe for target 'libcom.install' failed<br>
> >> make[1]: *** [libcom.install] Error 2<br>
> >> make[1]: Leaving directory '/home/mritunjay/development/EPICS/epics-<br>
> base/modules'<br>
> >> configure/RULES_DIRS:85: recipe for target 'modules.install' failed<br>
> >> make: *** [modules.install] Error 2<br>
> >> ```<br>
> >><br>
> >> I am trying to figure out the error and making the changes in code to<br>
> debug it.<br>
> >> However, I will appreciate if Heinz and everyone else can help me a little,<br>
> if they have an<br>
> >> idea of this error.<br>
> >><br>
> >> Thanks<br>
> >> Mritunjay<br>
> >><br>
> >> On Tue, Jul 7, 2020 at 7:30 PM Mritunjay Sharma<br>
> <mritunjaysharma394@gmail.com> wrote:<br>
> >>><br>
> >>><br>
> >>><br>
> >>> On Tue, Jul 7, 2020 at 5:33 AM Gedare Bloom <gedare@rtems.org><br>
> wrote:<br>
> >>>><br>
> >>>> On Mon, Jul 6, 2020 at 5:49 PM Joel Sherrill <joel@rtems.org> wrote:<br>
> >>>> ><br>
> >>>> ><br>
> >>>> ><br>
> >>>> > On Mon, Jul 6, 2020, 6:14 PM Gedare Bloom <gedare@rtems.org><br>
> wrote:<br>
> >>>> >><br>
> >>>> >> On Mon, Jul 6, 2020 at 10:12 AM Mritunjay Sharma<br>
> >>>> >> <mritunjaysharma394@gmail.com> wrote:<br>
> >>>> >> ><br>
> >>>> >> > Hello everyone,<br>
> >>>> >> ><br>
> >>>> >> > Thank you, Heinz, Gedare, Chris and Joel for your advice.<br>
> >>>> >> > If there are issues in making a buildset for 4.10<br>
> >>>> >> > then should I build EPICS with RTEMS 5 by hand first and note<br>
> >>>> >> > down the process and then proceed to make the buildset for it?<br>
> >>>> >> ><br>
> >>>> >><br>
> >>>> >> Yes.<br>
> >>>> ><br>
> >>>> ><br>
> >>>> > +1<br>
> >>>> ><br>
> >>>> > And by 5, we definitely mean the 5 branch for all rtems repo and the<br>
> similarly named one for libbsd.<br>
> >>>><br>
> >>>> Excellent point. We want to add support for easy build (and eventually<br>
> >>>> test) of EPICS+RTEMS starting with 5.1 and moving forward, which<br>
> means<br>
> >>>> also doing it for RTEMS 6, Mritunjay.<br>
> >>>><br>
> >>> Sounds good, I have begun building it hand by today for RTEMS 5 branch<br>
> and later on continue the<br>
> >>> same for RTEMS6<br>
> >>><br>
> >>> Thank you so much Gedare and Joel.<br>
> >>> Mritunjay<br>
> >>>><br>
> >>>> >><br>
> >>>> >><br>
> >>>> >> > Please suggest for the future steps.<br>
> >>>> >> ><br>
> >>>> >> > Thanks<br>
> >>>> >> > Mritunjay<br>
> >>>> >> ><br>
> >>>> >> > On Mon, Jul 6, 2020 at 5:38 AM Joel Sherrill <joel@rtems.org><br>
> wrote:<br>
> >>>> >> >><br>
> >>>> >> >><br>
> >>>> >> >><br>
> >>>> >> >> On Sun, Jul 5, 2020, 6:12 PM Chris Johns <chrisj@rtems.org><br>
> wrote:<br>
> >>>> >> >>><br>
> >>>> >> >>> On 6/7/20 12:47 am, Heinz Junkes wrote:<br>
> >>>> >> >>> > Thank you, this is exactly where I was unsure.<br>
> >>>> >> >>> > @Chris: Can you give a recommendation here?<br>
> >>>> >> >>> > Danke Heinz<br>
> >>>> >> >>> > ---------------------------------------------------------------------------<br>
> ---<br>
> >>>> >> >>> > Fritz-Haber-Institut | Phone: (+49 30) 8413-4270<br>
> >>>> >> >>> > Heinz Junkes | Fax (G3+G4): (+49 30) 8413-5900<br>
> >>>> >> >>> > Faradayweg 4-6 | VC: 102220181216@bjn.vc<br>
> >>>> >> >>> > D - 14195 Berlin | E-Mail: junkes@fhi-berlin.mpg.de<br>
> >>>> >> >>> > ---------------------------------------------------------------------------<br>
> ---<br>
> >>>> >> >>> ><br>
> >>>> >> >>> >> On 5. Jul 2020, at 16:20, Gedare Bloom <gedare@rtems.org><br>
> wrote:<br>
> >>>> >> >>> >><br>
> >>>> >> >>> >> On Sat, Jul 4, 2020 at 1:18 PM Mritunjay Sharma<br>
> >>>> >> >>> >> <mritunjaysharma394@gmail.com> wrote:<br>
> >>>> >> >>> >>><br>
> >>>> >> >>> >>><br>
> >>>> >> >>> >>><br>
> >>>> >> >>> >>> On Sun, Jul 5, 2020 at 12:28 AM Heinz Junkes <junkes@fhi-<br>
> berlin.mpg.de> wrote:<br>
> >>>> >> >>> >>>><br>
> >>>> >> >>> >>>> Hello, Mritunjay,<br>
> >>>> >> >>> >>>> that's good news. Don't you want to try to develop a rsb-<br>
> set for exactly this combination of RTEMS4.10 and EPICS7?<br>
> >>>> >> >>> >>><br>
> >>>> >> >>> >>><br>
> >>>> >> >>> >>> Sure, I am ready to do this and then do it with RTEMS5 in<br>
> the same way. Please tell how to begin or some existing similar<br>
> >>>> >> >>> >>> work that can guide me how to proceed further in relation<br>
> to rsb-set for RTEMS4.10 and EPICS7.<br>
> >>>> >> >>> >>><br>
> >>>> >> >>> >><br>
> >>>> >> >>> >> I don't know if this is best. RSB didn't exist in 4.10. I haven't<br>
> >>>> >> >>> >> looked to see how well the rtems-source-builder/4.10 would<br>
> support a<br>
> >>>> >> >>> >> package build. It should be discussed with Chris probably. A<br>
> couple of<br>
> >>>> >> >>> >> packages were added in the 4.11 branch.<br>
> >>>> >> >>><br>
> >>>> >> >>> I would leave 4.10 and move on. It may work but these things<br>
> can expose issues<br>
> >>>> >> >>> that turn into distractions.<br>
> >>>> >> >>><br>
> >>>> >> >>> Would making a script that does the build so we can document<br>
> the steps be worth<br>
> >>>> >> >>> while<br>
> >>>> >> >><br>
> >>>> >> >><br>
> >>>> >> >> Yes. Emphatically yes. We need to make sure we know how it is<br>
> best built by hand to automate it.<br>
> >>>> >> >><br>
> >>>> >> >> I firmly believe you should not attempt to automate something<br>
> until doing it manually is well understood and documented.<br>
> >>>> >> >><br>
> >>>> >> >> After you have this down for one BSP, we need to ask questions<br>
> like:<br>
> >>>> >> >><br>
> >>>> >> >> + Is there any per BSP tailoring beyond the obviod architecture<br>
> and compilation settings?<br>
> >>>> >> >><br>
> >>>> >> >> + Any tweaks to settings users may want?<br>
> >>>> >> >><br>
> >>>> >> >> The manual process should include testing. The RSB is a great<br>
> way to automate and ease building but it doesn't address testing the<br>
> packages yet.<br>
> >>>> >> >><br>
> >>>> >> >> --joel<br>
> >>>> >> >><br>
> >>>> >> >>><br>
> >>>> >> >>> Chris<br>
> >>>> >> >>> _______________________________________________<br>
> >>>> >> >>> devel mailing list<br>
> >>>> >> >>> devel@rtems.org<br>
> >>>> >> >>> <a href="http://lists.rtems.org/mailman/listinfo/devel">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> >>>> >> >><br>
> >>>> >> >> _______________________________________________<br>
> >>>> >> >> devel mailing list<br>
> >>>> >> >> devel@rtems.org<br>
> >>>> >> >> <a href="http://lists.rtems.org/mailman/listinfo/devel">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> _______________________________________________<br>
> devel mailing list<br>
> devel@rtems.org<br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</div>
</span></font></div>
</body>
</html>