From: Lukasz Majewski <lukma@denx.de>
To: "Carles Sole via lists.yoctoproject.org"
<Carles.SoleMendi=de.bosch.com@lists.yoctoproject.org>
Cc: Carles.SoleMendi@de.bosch.com, yocto@lists.yoctoproject.org
Subject: Re: [yocto] [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases?
Date: Mon, 30 Jan 2023 23:59:23 +0100 [thread overview]
Message-ID: <20230130235923.4264ca0b@wsk> (raw)
In-Reply-To: <20057.1674650953536874663@lists.yoctoproject.org>
[-- Attachment #1: Type: text/plain, Size: 2332 bytes --]
Hi Carles
> 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.
>
Have you managed to go any further with your investigation regarding
PREEMPT-RT on RPi4-64?
> Best Regards,
> Carles
Best regards,
Lukasz Majewski
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2023-01-30 22:59 UTC|newest]
Thread overview: 15+ 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 ` [meta-raspberrypi] Is Preempt-rt still supported in master / latest releases? Carles Sole
2023-01-30 22:59 ` Lukasz Majewski [this message]
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
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=20230130235923.4264ca0b@wsk \
--to=lukma@denx.de \
--cc=Carles.SoleMendi=de.bosch.com@lists.yoctoproject.org \
--cc=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.