[poky] RT-patch for Yocto-kernel
Keskinarkaus, Teemu
Teemu.Keskinarkaus at Maximatecc.com
Sun Nov 3 23:31:27 PST 2013
Hi,
In our system we want to use Full RT - kernel configuration. I learned that Yocto/Poky Preempt - rt is actually just low latency configuration and not the real Full RT as the name falsely suggests. Anyway, that's not the problem after I found it.
There is a patch in the kernel.org that adds the Full RT support for the kernel. Unfortunately it doesn't work right away in Yocto kernel. We use emenlow variant of the kernel.
So I compiled the system and then fixed the patch by applying it to kernel sources in build-directory. Then added the patch to kernel .bbappend file so that it would be applied during compilation time. Or so I thought.
Now when I try to compile the system do_patch - state for linux-yocto-rt - fails.
Log data follows:
| DEBUG: Executing shell function do_patch
| Deleted branch meta-temp (was 37fdb0c).
| [INFO] validating against known patches (emenlow-preempt-rt-meta)
Context reduced to (2/2) to apply fragment at 385 ] (\)(88 %))
error: patch failed: drivers/net/ethernet/ti/cpsw.c:374(/)(92 %)%)
| error: drivers/net/ethernet/ti/cpsw.c: patch does not apply
| Context reduced to (1/1) to apply fragment at 1050
| error: patch failed: include/linux/preempt.h:107
| error: include/linux/preempt.h: patch does not apply
| error: patch failed: kernel/sched/core.c:1477
| error: kernel/sched/core.c: patch does not apply
| ERROR. could not update git tree
| ERROR. Could not apply patches for emenlow.
| Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto-rt)
If I'm understanding that right it actually applied my patch before the emenlow-patch and that's why it fails.
What's the proper way to make kernel patch that big or is there already Full RT - patch for emenlow kernel for yocto? We have smaller patches that don't collide with emmenlow patches and they work just fine.
Teemu Keskinarkaus
________________________________
Actuant Corporation Email Notice
This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20131104/03fbdb9a/attachment.html>
More information about the poky
mailing list