Skip to contentSkip to conversation

Current state of linux-raspberrypi-rt?

DISCUSSION Paul D. DeRocco 3 participants 4 messages Jun 26, 2017

lore
Share & tools
lore
#0 lore raw

Google turns up a lot of stuff about this, but the latest I found was a thread from 1/5/17 that started with Trevor Woerner posting a 1MB patch, and that ended with him posting a message saying that it didn't actually work.

Is there anything new on this? I'm trying to do some compute-intensive audio on an RPi3, and it really needs a real-time kernel.

Signature · 2 lines
Ciao,               Paul D. DeRocco
Paul                mailto:[email protected]
#1 lore raw
Quoted 4 lines · Paul D. DeRocco

Google turns up a lot of stuff about this, but the latest I found was a thread from 1/5/17 that started with Trevor Woerner posting a 1MB patch, and that ended with him posting a message saying that it didn't actually work.

I posted a v1, which worked great, and continues to work great.

After posting the v1, lots of feedback was given. One of those pieces of feedback was that I shouldn't include the entire defconfig, but rather I should use some sort of "savedconfig" setting to generate the full config. I had never heard of this before. I asked for more clarification but received none. I went ahead with the v2 using this "savedconfig" technique. It *appeared* to work (which is why I submitted the update to the mailing list), but, after a lot of testing, I discovered that this "savedconfig" thing didn't work. The defconfig that was generated using this technique was useless and nobody could provide any reason why or advice how to fix it.

So v2 didn't work, but v1 did and still does (we're using it internally).

But everyone considered v1 to not be acceptable for inclusion for a number of reasons, so it never got merged. Besides, that work was for a 4.4 kernel, which is now considered "old".

Quoted 2 lines

Is there anything new on this? I'm trying to do some compute-intensive audio on an RPi3, and it really needs a real-time kernel.

Andreas Müller has a meta-raspberrypi fork in which he has an -rt recipe for a 4.9 kernel:
https://github.com/schnitzeltony/meta-raspi-light

#2 lore raw
Quoted 26 lines · Trevor Woerner
Quoted 4 lines · Paul D. DeRocco

Google turns up a lot of stuff about this, but the latest I found was a thread from 1/5/17 that started with Trevor Woerner posting a 1MB patch, and that ended with him posting a message saying that it didn't actually work.

I posted a v1, which worked great, and continues to work great.

After posting the v1, lots of feedback was given. One of those pieces of feedback was that I shouldn't include the entire defconfig, but rather I should use some sort of "savedconfig" setting to generate the full config. I had never heard of this before. I asked for more clarification but received none. I went ahead with the v2 using this "savedconfig" technique. It *appeared* to work (which is why I submitted the update to the mailing list), but, after a lot of testing, I discovered that this "savedconfig" thing didn't work. The defconfig that was generated using this technique was useless and nobody could provide any reason why or advice how to fix it.

So v2 didn't work, but v1 did and still does (we're using it internally).

But everyone considered v1 to not be acceptable for inclusion for a number of reasons, so it never got merged. Besides, that work was for a 4.4 kernel, which is now considered "old".

Quoted 6 lines
Quoted 2 lines

Is there anything new on this? I'm trying to do some compute-intensive audio on an RPi3, and it really needs a real-time kernel.

Andreas Müller has a meta-raspberrypi fork in which he has an -rt recipe for a 4.9 kernel:
https://github.com/schnitzeltony/meta-raspi-light

Yes - I run music sequencer/synthesizer stuff on top of jack on RPi2/3. So I use RT-kernel by default and am really happy with it.

Andreas

#3 lore raw
In reply to Trevor Woerner
Quoted 29 lines

From: Trevor Woerner [mailto:[email protected]]

Quoted 6 lines

Google turns up a lot of stuff about this, but the latest I found was a
thread from 1/5/17 that started with Trevor Woerner posting a 1MB patch,
and that ended with him posting a message saying that it didn't actually work.

I posted a v1, which worked great, and continues to work great.

After posting the v1, lots of feedback was given. One of those pieces of feedback was that I shouldn't include the entire defconfig, but rather I should use some sort of "savedconfig" setting to generate the full config. I had never heard of this before. I asked for more clarification but received none. I went ahead with the v2 using this "savedconfig" technique. It *appeared* to work (which is why I submitted the update to the mailing list), but, after a lot of testing, I discovered that this "savedconfig" thing didn't work. The defconfig that was generated using this technique was useless and nobody could provide any reason why or advice how to fix it.

So v2 didn't work, but v1 did and still does (we're using it internally).

But everyone considered v1 to not be acceptable for inclusion for a number of reasons, so it never got merged. Besides, that work was for a 4.4 kernel, which is now considered "old".

Quoted 7 lines
Quoted 3 lines

Is there anything new on this? I'm trying to do some compute-intensive
audio on an RPi3, and it really needs a real-time kernel.

Andreas Müller has a meta-raspberrypi fork in which he has an -rt recipe for a 4.9 kernel:
https://github.com/schnitzeltony/meta-raspi-light

Thanks to you and Andreas for doing this.

Signature · 2 lines
Ciao,               Paul D. DeRocco
Paul                mailto:[email protected]