Skip to contentSkip to conversation

RTnet on Raspberry Pi 3B+

DISCUSSION Deniz Uğur 4 participants 12 messages Oct 8, 2020 – Oct 12, 2020

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi,

Pi Ethernet controller is based on USB, not that good for realtime (AMHA)...

May you could switch to BeagleBone Black ?

regards

Quoted 24 lines · Deniz Uğur via Xenomai

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

Signature · 4 lines
Pierre FICHEUX -/- CTO Smile ECS, France -\- [email protected]
                             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
#2 lore raw

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.

Quoted 35 lines · Pierre FICHEUX

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 <[email protected] <mailto:[email protected]>> 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

Signature · 4 lines
Pierre FICHEUX -/- CTO Smile ECS, France -\- [email protected] <mailto:[email protected]>
                             http://www.smile.fr <http://www.smile.fr/>
                             https://smile.eu/fr/offres/embarque-iot <https://smile.eu/fr/offres/embarque-iot>
I would love to change the world, but they won't give me the source code
#3 lore raw

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

Quoted 47 lines · Deniz Uğur via Xenomai

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.

Quoted 35 lines · Pierre FICHEUX

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 <[email protected] <mailto:[email protected]>> 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

Signature · 4 lines
Pierre FICHEUX -/- CTO Smile ECS, France -\- [email protected] <mailto:[email protected]>
                              http://www.smile.fr/ <http://www.smile.fr/>
                              https://smile.eu/fr/offres/embarque-iot <https://smile.eu/fr/offres/embarque-iot>
I would love to change the world, but they won't give me the source code
#4 lore raw

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

Quoted 57 lines · Giulio Moro

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

Quoted 47 lines · Deniz Uğur via Xenomai

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.

Quoted 35 lines · Pierre FICHEUX

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 <[email protected] <mailto:[email protected]>> 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

Signature · 4 lines
Pierre FICHEUX -/- CTO Smile ECS, France -\- [email protected] <mailto:[email protected]>
                              http://www.smile.fr/ <http://www.smile.fr/>
                              https://smile.eu/fr/offres/embarque-iot <https://smile.eu/fr/offres/embarque-iot>
I would love to change the world, but they won't give me the source code
#5 lore raw

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.

Thank you.
Deniz.

Quoted 57 lines · Giulio Moro

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

Quoted 52 lines · Giulio Moro

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

Quoted 47 lines · Deniz Uğur via Xenomai

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.

Quoted 35 lines · Pierre FICHEUX

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 <[email protected] <mailto:[email protected]>> 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

Signature · 4 lines
Pierre FICHEUX -/- CTO Smile ECS, France -\- [email protected] <mailto:[email protected]>
                              http://www.smile.fr/ <http://www.smile.fr/>
                              https://smile.eu/fr/offres/embarque-iot <https://smile.eu/fr/offres/embarque-iot>
I would love to change the world, but they won't give me the source code
#6 lore raw
Quoted 7 lines · Deniz Uğur via Xenomai

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

Quoted 61 lines

Thank you.
Deniz.

Quoted 57 lines · Giulio Moro

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

Quoted 52 lines · Giulio Moro

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

Quoted 47 lines · Deniz Uğur via Xenomai

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.

Quoted 35 lines · Pierre FICHEUX

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 <[email protected] <mailto:[email protected]>> 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

Signature · 4 lines
Pierre FICHEUX -/- CTO Smile ECS, France -\- [email protected] <mailto:[email protected]>
                              http://www.smile.fr/ <http://www.smile.fr/>
                              https://smile.eu/fr/offres/embarque-iot <https://smile.eu/fr/offres/embarque-iot>
I would love to change the world, but they won't give me the source code
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
author
#7 lore raw

Thanks Jan. Without going more off-topic, may I ask you how would one configure the config using xenomai-images?

Thanks.

Quoted 104 lines · On Mon, Oct 12, 2020, 13:36 Jan Kiszka <[email protected]> wrote:
Quoted 3 lines · Deniz Uğur via Xenomai

Hi Giulio,

Thanks for your detailed response. I’ve checked all of the links you

sent. They helped me a lot.

Quoted 3 lines

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.

Quoted 1 line

If you append ":opt-xenomai-next.yml", Xenomai will be built from the next branch. By default, the last release is used.

Jan

Quoted 6 lines

Thank you.
Deniz.

Quoted 3 lines · Giulio Moro

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

Quoted 3 lines
Quoted 3 lines
Quoted 1 line · Giulio Moro

You can download a working Debian image with Xenomai that runs on BB

here https://github.com/BelaPlatform/bela-image-builder/releases

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines · Deniz Uğur via Xenomai

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.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Do you know if RTDM SPI works on BB?
Which ipipe, xenomai, and linux version combination is working on the

BB right now?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Are there any recent guides for Xenomai 3 on BB?

Thanks.
Deniz.

Quoted 1 line

On 11 Oct 2020, at 20:39, Pierre FICHEUX <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Hi,

Pi Ethernet controller is based on USB, not that good for realtime

(AMHA)...

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

May you could switch to BeagleBone Black ?

regards

Le sam. 10 oct. 2020 à 10:21, Deniz Uğur via Xenomai <

Quoted 3 lines · [email protected] <mailto:[email protected]>> a écrit :
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

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.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Is RPi not supported in RTnet? If not, is there anything I can do to

bring this feature?

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Do I have any alternative for making TCP socket connection real-time

using Xenomai on RPi?

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Lastly, If RPi is an impossible target for RTnet, do we have any

alternative embedded system that works with RTnet?

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

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

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

--
Pierre FICHEUX -/- CTO Smile ECS, France -\- [email protected]

<mailto:[email protected]>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
                              http://www.smile.fr/ <

http://www.smile.fr/>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

https://smile.eu/fr/offres/embarque-iot <
https://smile.eu/fr/offres/embarque-iot>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I would love to change the world, but they won't give me the source

code

Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

#8 lore raw
Quoted 3 lines · Deniz Ugur

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

Quoted 114 lines

Thanks.

On Mon, Oct 12, 2020, 13:36 Jan Kiszka <[email protected] <mailto:[email protected]>> 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 <[email protected]
    <mailto:[email protected]>> 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
    <[email protected] <mailto:[email protected]>> 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
    <[email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>> 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 -\-
    [email protected] <mailto:[email protected]>
    <mailto:[email protected] <mailto:[email protected]>>
    >>>>>                               http://www.smile.fr/
    <http://www.smile.fr/>
    >>>>>                             
     https://smile.eu/fr/offres/embarque-iot
    <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
Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#9 lore raw

Yes that’s correct. I might be not clear enough, I meant how could I modify the config options similar to “make menuconfig”

Thanks.
Deniz.

Quoted 136 lines · Jan Kiszka
Quoted 3 lines · Deniz Ugur

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

Quoted 114 lines

Thanks.

On Mon, Oct 12, 2020, 13:36 Jan Kiszka <[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>> wrote:

Quoted 3 lines · Deniz Uğur via Xenomai

Hi Giulio,

Thanks for your detailed response. I’ve checked all of the links

you sent. They helped me a lot.

Quoted 3 lines

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.

Quoted 1 line

If you append ":opt-xenomai-next.yml", Xenomai will be built from the next branch. By default, the last release is used.

Jan

Quoted 4 lines

Thank you.
Deniz.

Quoted 1 line

On 12 Oct 2020, at 01:03, Giulio Moro <[email protected] <mailto:[email protected]>

Quoted 2 lines · <mailto:[email protected] <mailto:[email protected]>>> wrote:
Quoted 2 lines

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 <https://gitlab.denx.de/Xenomai/xenomai-images>

Quoted 3 lines
Quoted 3 lines
Quoted 1 line · Giulio Moro

You can download a working Debian image with Xenomai that runs

on BB here https://github.com/BelaPlatform/bela-image-builder/releases <https://github.com/BelaPlatform/bela-image-builder/releases>

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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 <https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-xenomai-4.14.y>

Quoted 1 line
Quoted 1 line
Quoted 1 line

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 <https://gitlab.denx.de/Xenomai/xenomai/-/blob/master/kernel/drivers/spi/spi-omap2-mcspi-rt.c>

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines · Deniz Uğur via Xenomai

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.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Do you know if RTDM SPI works on BB?
Which ipipe, xenomai, and linux version combination is working

on the BB right now?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Are there any recent guides for Xenomai 3 on BB?

Thanks.
Deniz.

Quoted 1 line

On 11 Oct 2020, at 20:39, Pierre FICHEUX

Quoted 4 lines · <[email protected] <mailto:[email protected]>…
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Hi,

Pi Ethernet controller is based on USB, not that good for

realtime (AMHA)...

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

May you could switch to BeagleBone Black ?

regards

Le sam. 10 oct. 2020 à 10:21, Deniz Uğur via Xenomai

<[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>

Quoted 3 lines · <mailto:[email protected] <mailto:[email protected]>…
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

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.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Is RPi not supported in RTnet? If not, is there anything I can

do to bring this feature?

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Do I have any alternative for making TCP socket connection

real-time using Xenomai on RPi?

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Lastly, If RPi is an impossible target for RTnet, do we have

any alternative embedded system that works with RTnet?

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

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

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

--
Pierre FICHEUX -/- CTO Smile ECS, France -\-

[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>> <mailto:[email protected] <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
                               http://www.smile.fr/ <http://www.smile.fr/>

<http://www.smile.fr/ <http://www.smile.fr/>>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

https://smile.eu/fr/offres/embarque-iot <https://smile.eu/fr/offres/embarque-iot>
<https://smile.eu/fr/offres/embarque-iot <https://smile.eu/fr/offres/embarque-iot>>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I would love to change the world, but they won't give me the

source code

Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

Signature · 2 lines
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
#10 lore raw
Quoted 2 lines · Deniz Uğur

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

Quoted 147 lines

Thanks.
Deniz.

Quoted 142 lines

On 12 Oct 2020, at 13:51, Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

Quoted 3 lines · Deniz Ugur

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

Quoted 110 lines

Thanks.

On Mon, Oct 12, 2020, 13:36 Jan Kiszka <[email protected] <mailto:[email protected]> <mailto:[email protected]>> wrote:

Quoted 3 lines · Deniz Uğur via Xenomai

Hi Giulio,

Thanks for your detailed response. I’ve checked all of the links

   you sent. They helped me a lot.

Quoted 3 lines

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.

Quoted 1 line

   If you append ":opt-xenomai-next.yml", Xenomai will be built from the next branch. By default, the last release is used.

   Jan

Quoted 5 lines

Thank you.
Deniz.

Quoted 2 lines

On 12 Oct 2020, at 01:03, Giulio Moro <[email protected] <mailto:[email protected]>

Quoted 2 lines · <mailto:[email protected]>> wrote:
Quoted 2 lines

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

Quoted 3 lines
Quoted 3 lines
Quoted 1 line · Giulio Moro

You can download a working Debian image with Xenomai that runs

   on BB here https://github.com/BelaPlatform/bela-image-builder/releases

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines · Deniz Uğur via Xenomai

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.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Do you know if RTDM SPI works on BB?
Which ipipe, xenomai, and linux version combination is working

   on the BB right now?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Are there any recent guides for Xenomai 3 on BB?

Thanks.
Deniz.

Quoted 1 line

On 11 Oct 2020, at 20:39, Pierre FICHEUX

   <[email protected]

Quoted 4 lines · <mailto:[email protected]> <mailto:[email protected]>> wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Hi,

Pi Ethernet controller is based on USB, not that good for

   realtime (AMHA)...

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

May you could switch to BeagleBone Black ?

regards

Le sam. 10 oct. 2020 à 10:21, Deniz Uğur via Xenomai

   <[email protected] <mailto:[email protected]> <mailto:[email protected]>

Quoted 3 lines · <mailto:[email protected] <mailto:[email protected]>>> a écrit :
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

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.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Is RPi not supported in RTnet? If not, is there anything I can

   do to bring this feature?

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Do I have any alternative for making TCP socket connection

   real-time using Xenomai on RPi?

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Lastly, If RPi is an impossible target for RTnet, do we have

   any alternative embedded system that works with RTnet?

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

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

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

--
Pierre FICHEUX -/- CTO Smile ECS, France -\-

   [email protected] <mailto:[email protected]> <mailto:[email protected]> <mailto:[email protected] <mailto:[email protected]>>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

                               http://www.smile.fr/

   <http://www.smile.fr/>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

    https://smile.eu/fr/offres/embarque-iot
   <https://smile.eu/fr/offres/embarque-iot>

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I would love to change the world, but they won't give me the

   source code

Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

   --
   Siemens AG, T RDA IOT
   Corporate Competence Center Embedded Linux

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

author
#11 lore raw

Yes, I was looking for interactive editing but that's okay. Thanks for the clarification.

Take care.
Deniz.

Quoted 168 lines · On Mon, Oct 12, 2020, 15:57 Jan Kiszka <[email protected]> wrote:
Quoted 2 lines · Deniz Uğur

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

Quoted 19 lines

Thanks.
Deniz.

Quoted 15 lines

On 12 Oct 2020, at 13:51, Jan Kiszka <[email protected] <mailto:[email protected]>> wrote:

Quoted 3 lines · Deniz Ugur

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

Quoted 16 lines
Quoted 16 lines

Jan

Quoted 13 lines

Thanks.

On Mon, Oct 12, 2020, 13:36 Jan Kiszka <[email protected] <mailto:[email protected]> <mailto:[email protected]>> wrote:

Quoted 3 lines · Deniz Uğur via Xenomai

Hi Giulio,

Thanks for your detailed response. I’ve checked all of the links

you sent. They helped me a lot.

Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines

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.

Quoted 1 line

If you append ":opt-xenomai-next.yml", Xenomai will be built from

the

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

next branch. By default, the last release is used.

Jan

Quoted 5 lines

Thank you.
Deniz.

Quoted 2 lines

On 12 Oct 2020, at 01:03, Giulio Moro <[email protected] <mailto:[email protected]>

Quoted 1 line · <mailto:[email protected]>> wrote:
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line

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

Quoted 3 lines
Quoted 3 lines
Quoted 1 line · Giulio Moro

You can download a working Debian image with Xenomai that runs

on BB here

https://github.com/BelaPlatform/bela-image-builder/releases

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

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

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines · Deniz Uğur via Xenomai

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.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Do you know if RTDM SPI works on BB?
Which ipipe, xenomai, and linux version combination is working

on the BB right now?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

Are there any recent guides for Xenomai 3 on BB?

Thanks.
Deniz.

Quoted 1 line

On 11 Oct 2020, at 20:39, Pierre FICHEUX

<[email protected]
<mailto:[email protected]> <mailto:[email protected]>>

Quoted 6 lines · wrote:
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Hi,

Pi Ethernet controller is based on USB, not that good for

realtime (AMHA)...

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

May you could switch to BeagleBone Black ?

regards

Le sam. 10 oct. 2020 à 10:21, Deniz Uğur via Xenomai

<[email protected]
<mailto:[email protected]> <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>> a écrit

:

Quoted 51 lines
Quoted 50 lines
Quoted 36 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

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.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Is RPi not supported in RTnet? If not, is there anything I can

do to bring this feature?

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Do I have any alternative for making TCP socket connection

real-time using Xenomai on RPi?

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

Lastly, If RPi is an impossible target for RTnet, do we have

any alternative embedded system that works with RTnet?

Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

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

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

--
Pierre FICHEUX -/- CTO Smile ECS, France -\-

[email protected]
<mailto:[email protected]> <mailto:[email protected]>
<mailto:[email protected] <mailto:[email protected]>>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
                               http://www.smile.fr/

<http://www.smile.fr/>

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

https://smile.eu/fr/offres/embarque-iot
<https://smile.eu/fr/offres/embarque-iot>

Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

I would love to change the world, but they won't give me the

source code

Quoted 2 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux