Re: [yocto] How to patch a driver in Linux source tree

2018-04-16 Thread Greg Wilson-Lindberg
Thanks Khem, That gave me what I needed. Greg Wilson-Lindberg  Principal Firmware Engineer | Sakura Finetek USA, Inc.    > -Original Message- > From: Khem Raj [mailto:raj.k...@gmail.com] > Sent: Friday, April 13, 2018 05:53 PM > To: Greg Wilson-Lindberg ;

Re: [yocto] How to patch a driver in Linux source tree

2018-04-13 Thread Khem Raj
On 4/13/18 11:41 AM, Greg Wilson-Lindberg wrote: I'm working on a raspberry pi3 Yocto build from Qt's boot2qt project, it's running Yocto version 2.2.3, and Linux kernel 4.4.50. I need to back port some changes to a file in drivers/net/can/spi. I confused about where and how I set up the

Re: [yocto] How to patch a driver in Linux source tree

2018-04-13 Thread Greg Wilson-Lindberg
Hi Jeremy, I understand most of what you've got here, thanks, but I'm confused on the SRC_URI="…". Where should I look for the kernel git directory? I'm running Yocto with a mirror directory and that contains git directories for all of the major pieces, but I don't see one for the kernel. The

Re: [yocto] How to patch a driver in Linux source tree

2018-04-13 Thread Jeremy Thien
SRC_URI = " file://your-patch-path" Then place the patch in files subdirectory. So your tree should look something like: /recipes-kernel/linux/ linux-raspberrypi_4.4.bbappend files/ Instead of "files", it might be named "linux-raspberrypi". Hope this helps, Jeremy On Fri, Apr 13,