[meta-xilinx] Yocto quilt/patch Issue
Harold Lapprich
hlapprich at pixel-velocity.com
Wed Jul 8 14:11:38 PDT 2015
To Whom It May Concern,
Been an embedded Unix/Linux developers for years and started using Yocto about 5 months ago.
Have gotten to the point where I need to make changes to the 'meta-xilinx' kernel layer.
Trying to use 'quilt' for development and 'git' for patching. Can make changes in the temporary development directory, build and test without a problem. But when I try to make a 'quilt' or 'git' patch for a permanant record I can't get it to work. Able to create the patch file using 'quilt' and 'git' but when integrated into the 'meta-xlinx/receipe-kernel/linux' directory nothing works.
Using 'Yocto Project Developent Manual' as my user guide:
Quilt
4. Modifying Source Code
4.3.3 Using Quilt in Your Workflow
cd temporary build directory
mkdir patches
quilt new my_changes.patch
quilt add file
build & test changes (i.e. bitbake virtual/kernel -c clean, bitbake virtual/kernel)
quilt refresh
IEEE1588PTP_Slave_Sync.patch (more the file to check the content)
Quilt Patch (meta-xilinx/receipes-kernel/linux/)
linux-xlnx_3.14.bb
include linux-xlnx.inc
PR = "r1"
# Kernel version and SRCREV correspond to: xlnx_3.14 branch
KBRANCH = "xlnx_3.14"
LINUX_VERSION = "3.14"
SRCREV = "2b48a8aeea7367359f9eebe55c4a09a05227f32b"
linux-yocto_3.14.bbappend
require linux-machine-common.inc
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://IEEE1588PTP_Slave_Sync.patch;patch=1"
cp patch file (meta-xilinx/receipes-kernel/linux/files
IEEE1588PTP_Slave_Sync.patch
bitbake virtual/kernel -c clean (patch is now perserved so cleaning isn't a problem)
bitbake virtual/kernel -c compile
No errors, check the time stamp on the file to be patched and it is updated
more file and the patch has not been applied.
Have searched the web and read a number of articles beside Yocto document and nothing works (this was a nice article: http://wp.angstrom-distribution.org/openembeddedangstrom-kernel-workflow/).
Is there an issue with making a patch in the 'meta-xilinx' layer?
Removed the patch from the files directory and 'bitbake' complains so it is being seen, is the patch applied to the file so one can 'more' it to verify the changes?
Really have been working this issue and any input from the 'meta-xilinx' and 'yocto' community would be appreciated (shouldn't be this difficult or developers wouldn't be using the tool).
Thanks,
Harold
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20150708/b77885e2/attachment.html>
More information about the meta-xilinx
mailing list