All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Carles Sole" <Carles.SoleMendi@de.bosch.com>
To: yocto@lists.yoctoproject.org
Subject: Re: [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases?
Date: Wed, 25 Jan 2023 04:49:13 -0800	[thread overview]
Message-ID: <20057.1674650953536874663@lists.yoctoproject.org> (raw)
In-Reply-To: <Y86v7Z+p68WpY13k@qwirkle>

[-- Attachment #1: Type: text/plain, Size: 1855 bytes --]

Hi Alex, Andrei,

thanks for your reply. Based on your feedback I've tried the following:
- I have downloaded the patch patch-5.15.86-rt56.patch from https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.15/ and stored in ./meta-raspberrypi/recipes-kernel/linux/files
- I have created a file linux-raspberrypi_%.bbappend in ./meta-raspberrypi/recipes-kernel/linux
- I have created a .cfg file with CONFIG_PREEMPT_RT_FULL = y in ./meta-raspberrypi/recipes-kernel/linux/files
- I have added both patch and cfg file in bbappend using SRC_URI:append:rpi.

I can observe the following:
- patch and cfg files are available in ./build/tmp/work/raspberrypi4_64-agl-linux/linux-raspberrypi/1_5.15.34+gitAUTOINC+e1b976ee4f_0086da6acd-r0
- new folder linux-raspberrypi4_64-preempt-rt-build is available inside the folder above. But the problem seems to be that CONFIG_PREEMPT_RT = y is not applied to the .config file. So it seems the preempt-rt kernel is built but without the full preempt-rt support.
- When I do bitbake linux-raspberrypi -c menuconfig I cannot select the full real time preempt kernel, only preemptible option available is --> Preemptible Kernel (Low-Latency Desktop). Fully Preemptible Kernel (Real-Time) is not available.
- When I flash the image in the Rpi4 and run uname -r I see that the rt kernel has been built --> 5.15.34.rt56.v8
- but only with PREEMPT option but without RT when I do uname -v --> #1 SMP PREEMPT Tue Aug 9 21:20:00 UTC 2022 (without RT).

I have tried building linux-yocto-rt for qemu and there I see that CONFIG_PREEMP_RT = y is available in the .config file. Also if I open menuconfig I have the option to select in General setup --> Preemption Model --> Fully Preemptible Kernel (Real-Time)

If you can provide any hints on what am I missing it would be highly appreciated.

Best Regards,
Carles

[-- Attachment #2: Type: text/html, Size: 1952 bytes --]

  reply	other threads:[~2023-01-25 12:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-23  9:57 [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases? #raspberrypi Carles Sole
2023-01-23 10:47 ` [yocto] " Alexander Kanavin
2023-01-23 16:03   ` Andrei Gherzan
2023-01-25 12:49     ` Carles Sole [this message]
2023-01-30 22:59       ` [yocto] [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases? Lukasz Majewski
2023-01-31  6:57       ` Kuzemko Aleksandr
2023-01-31 20:43         ` Carles Sole
2023-02-01 13:26           ` [yocto] " Joel Winarske
2023-02-02 10:24             ` Carles Sole
2023-02-03  0:00               ` [yocto] " Joel Winarske
2023-02-03  7:18                 ` Carles Sole
2023-02-03 13:18                   ` [yocto] " Joel Winarske
     [not found]                   ` <174052FEBB286E1B.4349@lists.yoctoproject.org>
2023-02-03 16:40                     ` Joel Winarske
2023-02-06  7:38                       ` Carles Sole
2023-03-06 18:53                         ` Carles Sole
  -- strict thread matches above, loose matches on Subject: below --
2023-01-19 13:00 Carles Sole

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20057.1674650953536874663@lists.yoctoproject.org \
    --to=carles.solemendi@de.bosch.com \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.