LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2022, 07:15 AM   #1
Nikita@
LQ Newbie
 
Registered: Oct 2022
Posts: 1

Rep: Reputation: 0
Apply rt patch in rpi-image build with yocto


I want to apply rt-patch in raspberry-pi image by following (https://docs.yoctoproject.org/3.1.20...tch-the-kernel). So in order to achieve that I created my own meta-layer and put that patch in bblayer of build directory. In order to apply patching i did following steps.

I downloaded patch file from (https://cdn.kernel.org/pub/linux/ker...-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"

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 corresponding error.

Thanks in advance
Nikita Gupta
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Trying to mount USB drive of RPi A into RPi B suziecat Linux - Newbie 5 09-28-2021 08:23 AM
LXer: GNOME 3.33.2 Released, Krita 4.2 Debuts, RPi Camera Modules on RPi Zeros Power the Penguin Watch Project, Intrinsyc Switches Its Home LXer Syndicated Linux News 0 05-30-2019 06:23 AM
Patch not apply and tell me "file to Patch" :( hack3rcon Linux - Software 2 06-08-2015 07:35 AM
LXer: Mini-PC taps RPi Compute Module and supports RPi 2 LXer Syndicated Linux News 0 02-22-2015 03:03 PM
How to Apply patch for Mass Storage device to work? (uss725-2.4.20-rc2.patch) cevjr Linux - Hardware 3 04-20-2004 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration