Subject: Re: RTnet on Raspberry Pi 3B+ References: <01d38a9b-da56-6877-5508-9444bff5829d@qmul.ac.uk> <751ccaf8-b483-0e31-1620-e77447d35380@siemens.com> <8b1fea38-7c34-2f9f-991e-7a889e086c46@siemens.com> <4C9E87FD-F2E3-4AFC-A843-E843EDB82753@gmail.com> From: Jan Kiszka Message-ID: <378ebb75-e39a-0e38-0795-3322e799b8cc@siemens.com> Date: Mon, 12 Oct 2020 14:57:31 +0200 MIME-Version: 1.0 In-Reply-To: <4C9E87FD-F2E3-4AFC-A843-E843EDB82753@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Deniz_U=c4=9fur?= Cc: Giulio Moro , xenomai On 12.10.20 12:56, Deniz Uğur wrote: > Yes that’s correct. I might be not clear enough, I meant how could I > modify the config options similar to “make menuconfig” Assuming you are talking about the kernel config used by xenomai-images: You can edit the one shipped with the layer (see recipes-kernel/linux/files) or add a config snippet (*.cfg file containing deviating options). That can be done in-place (patching the layer) or by putting a layer on top that overrides the config. There not interactive editing support, though, if that is what you are looking for. Jan > > Thanks. > Deniz. > >> On 12 Oct 2020, at 13:51, Jan Kiszka > > wrote: >> >> On 12.10.20 12:46, Deniz Ugur wrote: >>> Thanks Jan. Without going more off-topic, may I ask you how would one >>> configure the config using xenomai-images? >>> >> >> If you look at the readme, it suggest to build like this e.g.: >> >> kas-docker --isar build kas.yml:board-qemu-amd64.yml >> >> To build for latest xenomai-next, you would do >> >> kas-docker --isar build kas.yml:board-qemu-amd64.yml:opt-xenomai-next.yml >> >> Jan >> >>> Thanks. >>> >>> >>> On Mon, Oct 12, 2020, 13:36 Jan Kiszka >> >>> > wrote: >>> >>>    On 12.10.20 01:18, Deniz Uğur via Xenomai wrote: >>>> Hi Giulio, >>>> >>>> Thanks for your detailed response. I’ve checked all of the links >>>    you sent. They helped me a lot. >>>> >>>> Do you know if xenomai-images pulls master head? >>>> I believe CONFIG_XENO_DRIVERS_SPI_OMAP2_MCSPI_RT is just added on >>>    January. So I couldn’t be sure if it builds the kernel containing >>>    this commit. >>>> >>> >>>    If you append ":opt-xenomai-next.yml", Xenomai will be built from the >>>    next branch. By default, the last release is used. >>> >>>    Jan >>> >>>> Thank you. >>>> Deniz. >>>> >>>>> On 12 Oct 2020, at 01:03, Giulio Moro >>>> >>>    > wrote: >>>>> >>>>> I should have mentioned that you can also build an Isar image for >>>    the BBB with Xenomai from here >>>    https://gitlab.denx.de/Xenomai/xenomai-images >>>>> >>>>> Giulio Moro wrote: >>>>>> You can download a working Debian image with Xenomai that runs >>>    on BB here https://github.com/BelaPlatform/bela-image-builder/releases >>>>>> This contains Linux 4.14.108-ti-xenomai-r135 with Xenomai 3.0.10 >>>>>> The kernel is built from this branch >>>    https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-xenomai-4.14.y >>>>>> I haven't tried RTDM SPI, but there seems to be a driver for it: >>>    https://gitlab.denx.de/Xenomai/xenomai/-/blob/master/kernel/drivers/spi/spi-omap2-mcspi-rt.c >>>>>> Deniz Uğur via Xenomai wrote: >>>>>>> Hi Pierre, >>>>>>> >>>>>>> I’ve just checked out BeagleBone Black and it seems applicable >>>    for me. If you don’t mind I have some follow-up questions. >>>>>>> >>>>>>> Do you know if RTDM SPI works on BB? >>>>>>> Which ipipe, xenomai, and linux version combination is working >>>    on the BB right now? >>>>>>> Are there any recent guides for Xenomai 3 on BB? >>>>>>> >>>>>>> Thanks. >>>>>>> Deniz. >>>>>>> >>>>>>>> On 11 Oct 2020, at 20:39, Pierre FICHEUX >>>    >>  > wrote: >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> Pi Ethernet controller is based on USB, not that good for >>>    realtime (AMHA)... >>>>>>>> >>>>>>>> May you could switch to BeagleBone Black ? >>>>>>>> >>>>>>>> regards >>>>>>>> >>>>>>>> Le sam. 10 oct. 2020 à 10:21, Deniz Uğur via Xenomai >>>    >>   >>>    >> a écrit : >>>>>>>> Hello all, >>>>>>>> >>>>>>>> I’m currently researching for a real-time sensor data >>>    acquisition system and I was thinking about using Raspberry Pi 3B+. >>>    Along with my move to making everything real-time, I also want to >>>    experiment with RTnet. Although from what I can understand, RPi’s >>>    ethernet module is not supported in RTnet. >>>>>>>> >>>>>>>> Is RPi not supported in RTnet? If not, is there anything I can >>>    do to bring this feature? >>>>>>>> Do I have any alternative for making TCP socket connection >>>    real-time using Xenomai on RPi? >>>>>>>> Lastly, If RPi is an impossible target for RTnet, do we have >>>    any alternative embedded system that works with RTnet? >>>>>>>> >>>>>>>> Thanks in advance. >>>>>>>> Deniz. >>>>>>>> >>>>>>>> Some important details: >>>>>>>> ARCH: ARM >>>>>>>> SoC: BCM2835 >>>>>>>> Linux: 4.14.36 >>>>>>>> Xenomai: 3.0.7 >>>>>>>> I-Pipe: 4.14.36-arm-1 >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Pierre FICHEUX -/- CTO Smile ECS, France -\- >>>    pierre.ficheux@smile.fr >>>   >>>    > >>>>>>>>                                http://www.smile.fr/ >>>     >>>>>>>>                               >>>     https://smile.eu/fr/offres/embarque-iot >>>     >>>>>>>> I would love to change the world, but they won't give me the >>>    source code >>>>>>> >>>> >>> >>>    --  >>>    Siemens AG, T RDA IOT >>>    Corporate Competence Center Embedded Linux >>> >> >> >> --  >> Siemens AG, T RDA IOT >> Corporate Competence Center Embedded Linux >