Subject: Re: RTnet on Raspberry Pi 3B+ References: <01d38a9b-da56-6877-5508-9444bff5829d@qmul.ac.uk> From: Jan Kiszka Message-ID: <751ccaf8-b483-0e31-1620-e77447d35380@siemens.com> Date: Mon, 12 Oct 2020 12:36:36 +0200 MIME-Version: 1.0 In-Reply-To: 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?= , Giulio Moro Cc: xenomai 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