preempt-rt
Hello Steve,
Quoted 5 lines · Steven C (US) via lists.yoctoproject.org
I have a platform based off a aarm64 Xilinx based kernel, which is not a compliant mainline kernel… so, I will need to go the preemp-rt patch route.
Depends, no mainline kernel? Vendor kernel?
Can you share the machine name? Might be supported already in a layer with -rt.
Regards,
Leon
Signature · 9 lines
-- Leon Woestenberg [email protected] T: +31 40 711 42 76 M: +31 6 472 30 372 Sidebranch Embedded Systems Eindhoven, The Netherlands http://www.sidebranch.com
Cannot…
Generic preempt-rt patch bbappend should be enough…
From: Leon Woestenberg <[email protected]>
Sent: Wednesday, November 3, 2021 8:59 AM
To: Monsees, Steven C (US) <[email protected]>
Cc: [email protected]
Subject: Re: [yocto] preempt-rt
External Email Alert
This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.
Hello Steve,
On Wed, 3 Nov 2021 at 13:44, Monsees, Steven C (US) via lists.yoctoproject.org<http://lists.yoctoproject.org> <[email protected]<mailto:[email protected]>> wrote:
I have a platform based off a aarm64 Xilinx based kernel, which is not a compliant mainline kernel… so, I will need to go the preemp-rt patch route.
Depends, no mainline kernel? Vendor kernel?
Can you share the machine name? Might be supported already in a layer with -rt.
Regards,
Leon
--
--
Leon Woestenberg
[email protected]<mailto:[email protected]>
T: +31 40 711 42 76
M: +31 6 472 30 372
[Image removed by sender.]
Sidebranch Embedded Systems
Eindhoven, The Netherlands
http://www.sidebranch.com
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Quoted 3 lines · Steven C (US) via lists.yoctoproject.org
I have a platform based off a aarm64 Xilinx based kernel, which is not a compliant mainline kernel… so, I will need to go the preemp-rt patch route.
Can you supply an example Yocto recipe that applies the patch, doesn’t even have to be arm based… just looking for baseline I might use to carve out support for my platform.
There are a few details to sort out (like finding a patch compatible with the kernel recipe you want to use, or a compromise of the two), but basically a kernel .bbappend with the following will suffice to just patch the kernel. FILES_EXTRAPATHS_prepend := "${THISDIR}/files:"SRC_URI_append = " https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.12/patch-5.12-rc3-rt3.patch.gz"
After that, you need a configuration fragment to enable PREEMPT-RT in the build. CONFIG_PREEMPT_RT=y
Quoted 3 lines
Thanks,
Steve
Sent with [ProtonMail](https://protonmail.com/) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Quoted 10 lines · codusnocturnus via lists.yoctoproject.org
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
Quoted 3 lines · Steven C (US) via lists.yoctoproject.org
I have a platform based off a aarm64 Xilinx based kernel, which is not a compliant mainline kernel… so, I will need to go the preemp-rt patch route.
Can you supply an example Yocto recipe that applies the patch, doesn’t even have to be arm based… just looking for baseline I might use to carve out support for my platform.
There are a few details to sort out (like finding a patch compatible with the kernel recipe you want to use, or a compromise of the two), but basically a kernel .bbappend with the following will suffice to just patch the kernel.
FILES_EXTRAPATHS_prepend:= "${THISDIR}/files:"SRC_URI_append= " https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.12/patch-5.12-rc3-rt3.patch.gz"
Oops, FILES_EXTRAPATHS_prepend isn't necessary in this case. I usually download and store the patch in my layer once I find the right one...
Quoted 8 lines
After that, you need a configuration fragment to enable PREEMPT-RT in the build.
CONFIG_PREEMPT_RT=yQuoted 3 lines
Thanks,
Steve
Sent with [ProtonMail](https://protonmail.com/) Secure Email.
Thanks…
From: [email protected] <[email protected]> On Behalf Of codusnocturnus via lists.yoctoproject.org
Sent: Wednesday, November 3, 2021 9:25 AM
To: [email protected]
Subject: Re: [yocto] preempt-rt
External Email Alert
This email has been sent from an account outside of the BAE Systems network.
Please treat the email with caution, especially if you are requested to click on a link, decrypt/open an attachment, or enable macros. For further information on how to spot phishing, access “Cybersecurity OneSpace Page” and report phishing by clicking the button “Report Phishing” on the Outlook toolbar.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, November 3rd, 2021 at 5:43 AM, Monsees, Steven C (US) via lists.yoctoproject.org <[email protected]<mailto:[email protected]>> wrote:
I have a platform based off a aarm64 Xilinx based kernel, which is not a compliant mainline kernel… so, I will need to go the preemp-rt patch route.
Can you supply an example Yocto recipe that applies the patch, doesn’t even have to be arm based… just looking for baseline I might use to carve out support for my platform.
There are a few details to sort out (like finding a patch compatible with the kernel recipe you want to use, or a compromise of the two), but basically a kernel .bbappend with the following will suffice to just patch the kernel. FILES_EXTRAPATHS_prepend := "${THISDIR}/files:"SRC_URI_append = " https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.12/patch-5.12-rc3-rt3.patch.gz"
After that, you need a configuration fragment to enable PREEMPT-RT in the build. CONFIG_PREEMPT_RT=y
Thanks,
Steve
Sent with ProtonMail<https://protonmail.com/> Secure Email.