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