All of lore.kernel.org
 help / color / mirror / Atom feed
* Apply Patching #dunfell #patch #yocto #raspberrypi #linux #kernel
@ 2022-10-29 11:38 Nikita Gupta
  2022-10-31  8:25 ` [yocto] " Alexander Kanavin
  0 siblings, 1 reply; 6+ messages in thread
From: Nikita Gupta @ 2022-10-29 11:38 UTC (permalink / raw)
  To: yocto

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

Hello List

i want to apply rt-patch in raspberry-pi by following ( using-traditional-kernel-development-to-patch-the-kernel ( https://docs.yoctoproject.org/3.1.20/kernel-dev/kernel-dev-common.html#using-traditional-kernel-development-to-patch-the-kernel ) ) So in order to achieve that i created my own meta-layer and put that patch in bblayers. In oreder to apply patching i did following steps .

* I downloaded patch file from ( https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patch-5.4.70-rt40.patch.gz ) unzip and rename with ( patch-5.4.70-rt40.patch) ( https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patch-5.4.70-rt40.patch.gz )
* I put that patch file in yocto/meta-mylayer/recipes-kernel/linux/linux-yocto.
* And given patch file's path in yocto/meta-mylayer/recipes-kernel/linux/linux-yocto_4.12.bbappend by following lines

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append  = "file://patch-5.4.70-rt40.patch"
( As described in above document) ( https://docs.yoctoproject.org/3.1.20/kernel-dev/kernel-dev-common.html#using-traditional-kernel-development-to-patch-the-kernel ) )

when i am trying to bake my recipe : bitbake core-image-base then following error is showing

Loading cache: 100% |############################################| Time: 0:00:01
Loaded 3004 entries from dependency cache.
ERROR: No recipes available for:
/home/nikita/yocto/meta-mylayer/recipes-kernel/linux/linux-yocto_4.12.bbappend

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Can anyone please suggest me how can i apply rt-patch in my raspberry-image with above method by solving corrensponding error.

Thanks in advance
Nikita Gupta

~

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [yocto] Apply Patching #dunfell #patch #yocto #raspberrypi #linux #kernel
  2022-10-29 11:38 Apply Patching #dunfell #patch #yocto #raspberrypi #linux #kernel Nikita Gupta
@ 2022-10-31  8:25 ` Alexander Kanavin
  2022-11-01  7:37   ` Apply Patching #dunfell #patch #yocto #raspberrypi #linux Nikita Gupta
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Kanavin @ 2022-10-31  8:25 UTC (permalink / raw)
  To: Nikita Gupta; +Cc: yocto

There is a version mismatch. If you want to patch the 5.4 kernel, why
is the bbappend for 4.12?

Alex

On Sat, 29 Oct 2022 at 13:38, Nikita Gupta <nikitagupta2509@gmail.com> wrote:
>
> Hello List
>
> i want to apply rt-patch in raspberry-pi by following (using-traditional-kernel-development-to-patch-the-kernel) So in order to achieve that i created my own meta-layer and put that patch in bblayers. In oreder to apply patching i did following steps .
>
> I downloaded patch file from (https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patch-5.4.70-rt40.patch.gz) unzip and rename with (patch-5.4.70-rt40.patch)
> I put that patch file in yocto/meta-mylayer/recipes-kernel/linux/linux-yocto.
> And given patch file's path in yocto/meta-mylayer/recipes-kernel/linux/linux-yocto_4.12.bbappend by following lines
>
>             FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>             SRC_URI_append  = "file://patch-5.4.70-rt40.patch"
> (As described in above document))
>
> when i am trying to bake my recipe : bitbake core-image-base then following error is showing
>
> Loading cache: 100% |############################################| Time: 0:00:01
> Loaded 3004 entries from dependency cache.
> ERROR: No recipes available for:
>   /home/nikita/yocto/meta-mylayer/recipes-kernel/linux/linux-yocto_4.12.bbappend
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
> Can anyone please suggest me how can i apply rt-patch in my raspberry-image with above method by solving corrensponding error.
>
> Thanks in advance
> Nikita Gupta
>
> ~
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#58436): https://lists.yoctoproject.org/g/yocto/message/58436
> Mute This Topic: https://lists.yoctoproject.org/mt/94645313/1686489
> Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell
> Mute #patch:https://lists.yoctoproject.org/g/yocto/mutehashtag/patch
> Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
> Mute #raspberrypi:https://lists.yoctoproject.org/g/yocto/mutehashtag/raspberrypi
> Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux
> Mute #kernel:https://lists.yoctoproject.org/g/yocto/mutehashtag/kernel
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Apply Patching #dunfell #patch #yocto #raspberrypi #linux
  2022-10-31  8:25 ` [yocto] " Alexander Kanavin
@ 2022-11-01  7:37   ` Nikita Gupta
  2022-11-01  9:02     ` [yocto] " Alexander Kanavin
  0 siblings, 1 reply; 6+ messages in thread
From: Nikita Gupta @ 2022-11-01  7:37 UTC (permalink / raw)
  To: yocto

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

Hello Alex

Because i had cloned linux-yocto for 4.12 as stated in (https://docs.yoctoproject.org/3.1.20/kernel-dev/kernel-dev-common.html#using-traditional-kernel-development-to-patch-the-kernel) but after that i renamed it from 4.12.bbappend to 5.4 now error got resolved but my kernel has not patched it has not become rt-patched.

What else i can do for making rt-patched kernel for reaspberry image?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [yocto] Apply Patching #dunfell #patch #yocto #raspberrypi #linux
  2022-11-01  7:37   ` Apply Patching #dunfell #patch #yocto #raspberrypi #linux Nikita Gupta
@ 2022-11-01  9:02     ` Alexander Kanavin
  2022-11-21 15:38       ` Nikita Gupta
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Kanavin @ 2022-11-01  9:02 UTC (permalink / raw)
  To: Nikita Gupta; +Cc: yocto

It is not possible to say what went wrong if I cannot see the changes
you did, what commands you type, and what is the outcome (vs. what you
expect). So you need to publish your code somewhere, and describe all
of those things.

Alex

On Tue, 1 Nov 2022 at 08:37, Nikita Gupta <nikitagupta2509@gmail.com> wrote:
>
> Hello Alex
>
> Because i had cloned linux-yocto for 4.12 as stated in (https://docs.yoctoproject.org/3.1.20/kernel-dev/kernel-dev-common.html#using-traditional-kernel-development-to-patch-the-kernel) but after that i renamed it from 4.12.bbappend to 5.4 now error got resolved but my kernel has not patched it has not become rt-patched.
>
> What else i can do for making rt-patched kernel for reaspberry image?
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#58454): https://lists.yoctoproject.org/g/yocto/message/58454
> Mute This Topic: https://lists.yoctoproject.org/mt/94645313/1686489
> Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell
> Mute #patch:https://lists.yoctoproject.org/g/yocto/mutehashtag/patch
> Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
> Mute #raspberrypi:https://lists.yoctoproject.org/g/yocto/mutehashtag/raspberrypi
> Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Apply Patching #dunfell #patch #yocto #raspberrypi #linux
  2022-11-01  9:02     ` [yocto] " Alexander Kanavin
@ 2022-11-21 15:38       ` Nikita Gupta
  2022-11-21 16:48         ` [yocto] " Alexander Kanavin
  0 siblings, 1 reply; 6+ messages in thread
From: Nikita Gupta @ 2022-11-21 15:38 UTC (permalink / raw)
  To: yocto

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

Hello Alex,
Sorry for late reply. Actually i madert- image by setting the preferred virtual/kernel type.
PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi-rt"

and bake the recipe for following target.
bitbake core-image-base

I got my image successfully and it is booting up, but it is not taking user input from my keyboard. Why is it happening?

Thanks in Advance

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [yocto] Apply Patching #dunfell #patch #yocto #raspberrypi #linux
  2022-11-21 15:38       ` Nikita Gupta
@ 2022-11-21 16:48         ` Alexander Kanavin
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Kanavin @ 2022-11-21 16:48 UTC (permalink / raw)
  To: Nikita Gupta; +Cc: yocto

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

In this case I have no idea unfortunately. Does a regular kernel work?

Alex

On Mon 21. Nov 2022 at 16.38, Nikita Gupta <nikitagupta2509@gmail.com>
wrote:

> Hello Alex,
> Sorry for late reply. Actually i madert- image by setting the preferred
> virtual/kernel type.
> PREFERRED_PROVIDER_virtual/kernel = "linux-raspberrypi-rt"
>
> and bake the recipe for following target.
> bitbake core-image-base
>
> I got my image successfully and it is booting up, but it is not taking
> user input from my keyboard. Why is it happening?
>
> Thanks in Advance
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#58603):
> https://lists.yoctoproject.org/g/yocto/message/58603
> Mute This Topic: https://lists.yoctoproject.org/mt/94645313/1686489
> Mute #dunfell:https://lists.yoctoproject.org/g/yocto/mutehashtag/dunfell
> Mute #patch:https://lists.yoctoproject.org/g/yocto/mutehashtag/patch
> Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
> Mute #raspberrypi:
> https://lists.yoctoproject.org/g/yocto/mutehashtag/raspberrypi
> Mute #linux:https://lists.yoctoproject.org/g/yocto/mutehashtag/linux
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [
> alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-21 16:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-29 11:38 Apply Patching #dunfell #patch #yocto #raspberrypi #linux #kernel Nikita Gupta
2022-10-31  8:25 ` [yocto] " Alexander Kanavin
2022-11-01  7:37   ` Apply Patching #dunfell #patch #yocto #raspberrypi #linux Nikita Gupta
2022-11-01  9:02     ` [yocto] " Alexander Kanavin
2022-11-21 15:38       ` Nikita Gupta
2022-11-21 16:48         ` [yocto] " Alexander Kanavin

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.