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 <j...@rtems.org> wrote: > > > > On Sun, Mar 21, 2021, 4:45 AM Christian Mauderer <o...@c-mauderer.de> 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