<div dir="ltr"><div><div>Hi Darren.<br><br></div>Attached is config.diff as you requested. However I noticed that Kconfig also suffered changes, so just for the record, I ran diff on it too (althougth "mine" version came form 3.8.13 and the "orig" version is from 3.10.35).<br>
<br></div>Thanks.<br><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-06-04 23:42 GMT-05:00 Darren Hart <span dir="ltr"><<a href="mailto:dvhart@linux.intel.com" target="_blank">dvhart@linux.intel.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please just run "diff -Nurp config.orig config.yours > config.diff"<br>
<br>
You can find the .config in the build dir of the linux recipe. If you<br>
don't have an angstrom or poky build around, you can always use the binary<br>
image that came with the board or download it again, and fetch the config<br>
from the running system in /proc/config.gz.<br>
<div class=""><br>
--<br>
Darren Hart                                     Open Source Technology Center<br>
<a href="mailto:darren.hart@intel.com">darren.hart@intel.com</a>                                       Intel Corporation<br>
<br>
<br>
<br>
From:  Ferchu R <<a href="mailto:chamac2@gmail.com">chamac2@gmail.com</a>><br>
Reply-To:  MinnowBoard Development and Community Discussion<br>
<<a href="mailto:elinux-minnowboard@lists.elinux.org">elinux-minnowboard@lists.elinux.org</a>><br>
</div>Date:  Wednesday, June 4, 2014 at 18:46<br>
<div class="im HOEnZb">To:  MinnowBoard Development and Community Discussion<br>
<<a href="mailto:elinux-minnowboard@lists.elinux.org">elinux-minnowboard@lists.elinux.org</a>><br>
Subject:  Re: [MinnowBoard] Kernel .config file lacks CONFIG_FB_DEFERRED_IO<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">>Hi Darren.<br>
><br>
><br>
>I am going to run a Windiff or something similar between my already<br>
>modified files (/usr/src/kernel/.config and<br>
>/usr/src/kernel/drivers/video/Kconfig in my Minnowboard) and the original<br>
>"sotck" files, but I don't know where I can find them. Can I find them on<br>
>the bitbake Minnowboard directory structure<br>
>(/opt/minnowboard/ourbuild/setup-scripts) ??.<br>
><br>
>Note: I found a .config in<br>
>"/opt/minnowboard/ourbuild/setup-scripts/build/tmp-angstrom_v2013_12-eglib<br>
>c/sysroots/minnow/usr/src/kernel".<br>
><br>
><br>
>Thanks.<br>
><br>
><br>
><br>
>2014-05-28 19:03 GMT-05:00 Darren Hart <<a href="mailto:dvhart@linux.intel.com">dvhart@linux.intel.com</a>>:<br>
><br>
>Details on working with the kernel build by the yocto project are here:<br>
><br>
><a href="http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html" target="_blank">http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html</a><br>
><br>
>If you find a particular task you want to perform is not adequately<br>
>covered there, please do let me know.<br>
><br>
>As to support for this particular feature, if you can send me the delta<br>
>between the stock config and the one you modified, I can probably just<br>
>add it to the minnow config fragment and you can then just rebuild the<br>
>angstrom image per the angstrom instructions using the latest git of<br>
>meta-minnow.<br>
><br>
>If all you want to do is quickly rebuild the kernel (and don't care about<br>
>packaging, etc), then Angstrom provides a linux-dev (or similar) package<br>
>which you can find using "opkg list" and install with "opkg install ..."<br>
>and the kernel source will then be in /usr/src/linux...<br>
><br>
>There you can "make menuconfig; make; make modules; make modules_install;<br>
>make install" as per usual.<br>
><br>
>--<br>
>Darren<br>
><br>
>--<br>
>Darren Hart                                    Open Source Technology Center<br>
><a href="mailto:darren.hart@intel.com">darren.hart@intel.com</a>                                      Intel Corporation<br>
><br>
><br>
><br>
><br>
>From:  Ferchu R <<a href="mailto:chamac2@gmail.com">chamac2@gmail.com</a>><br>
>Reply-To:  MinnowBoard Development and Community Discussion<br>
><<a href="mailto:elinux-minnowboard@lists.elinux.org">elinux-minnowboard@lists.elinux.org</a>><br>
>Date:  Monday, May 26, 2014 at 16:32<br>
>To:  MinnowBoard Development and Community Discussion<br>
><<a href="mailto:elinux-minnowboard@lists.elinux.org">elinux-minnowboard@lists.elinux.org</a>><br>
>Subject:  Re: [MinnowBoard] Kernel .config file lacks<br>
>CONFIG_FB_DEFERRED_IO<br>
><br>
><br>
><br>
>I seted up bitbake for building Angstrom  on Ubuntu 12.10. My new<br>
>strategy is not to to build the kernel module using the same Angstrom<br>
>target system as host, but building it on Ubuntu targetting the<br>
>"minnowboard environment". As I should pass KERNEL_SOURCE_DIR as make<br>
>argument when building the module, what path should use in this case, if<br>
>the directory structure is "/opt/minnowboard/ourbuild"?.<br>
><br>
><br>
>Thanks.<br>
><br>
><br>
><br>
>2014-05-23 14:57 GMT-05:00 Ferchu R <<a href="mailto:chamac2@gmail.com">chamac2@gmail.com</a>>:<br>
><br>
>Hi Darren.<br>
><br>
><br>
>The driver's source code uses a struct named "fb_info" that is defined in<br>
>fb.h (this file is part of the standard kernel. Within the definition of<br>
>fb_info is the following code:<br>
><br>
>#ifdef CONFIG_FB_DEFERRED_IO<br>
>    struct delayed_work deferred_work;<br>
>    struct fb_deferred_io *fbdefio;<br>
>#endif<br>
><br>
><br>
>Because of that, when CONFIG_FB_DEFERRED_IO is not present, member<br>
>fbdefio are not included in fb_info struct, thus I am getting the error<br>
>at build time.<br>
><br>
>The manufacturer gave me the advice of running "make menuconfig" on the<br>
>kernel source directory and add "Displaylink USB Framebuffer support"<br>
>option. After that,  both files (.config and Kconfig) were automatically<br>
>changed in a way all entries involving CONFIG_FB_DEFERRED_IO now are<br>
>equal to those of their counterpart in Ubuntu. So I think the files at<br>
>this time are not th problem. The manufacturer told me too that I should<br>
>re-compile the kernel for the changes to take effect. How could I do<br>
>this?. Should I only cd to the kernel source directory and run make?. I<br>
>am running all this stuff in the same Angstrom Minnow system.<br>
><br>
>Thanks and best regards.<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
>2014-05-22 23:02 GMT-05:00 Darren Hart <<a href="mailto:dvhart@linux.intel.com">dvhart@linux.intel.com</a>>:<br>
><br>
>On 5/19/14, 21:03, Fernando wrote:<br>
><br>
><br>
>The hardware manufacturer has told me that just adding<br>
>CONFIG_FB_DEFERRED_IO<br>
>to the .config file, is not going to work. It is necessary add a section<br>
>which make reference to the CONFIG_FB_DEFERRED_IO feature in the KConfig<br>
>file.<br>
><br>
>I hope that someone can advice me if this is the right approach and if<br>
>there<br>
>is a template to add a new section to this KConfig file.<br>
><br>
><br>
><br>
><br>
>I'm not really sure how to answer your question. The structure you<br>
>reference in the include/linux headers is impacted by whether or not<br>
>CONFIG_FB_DEFERRED_IO is configured in or not.<br>
><br>
>Does what you are trying to do work on a typical desktop Linux<br>
>distribution? Ubuntu, Fedora?<br>
><br>
>If so, can you compare the files - exactly how are things different?<br>
><br>
>--<br>
>Darren Hart                     Open Source Technology Center<br>
><a href="mailto:darren.hart@intel.com">darren.hart@intel.com</a>                       Intel Corporation<br>
>_______________________________________________<br>
>elinux-MinnowBoard mailing list<br>
><a href="mailto:elinux-MinnowBoard@lists.elinux.org">elinux-MinnowBoard@lists.elinux.org</a><br>
><a href="http://lists.elinux.org/mailman/listinfo/elinux-minnowboard" target="_blank">http://lists.elinux.org/mailman/listinfo/elinux-minnowboard</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
>_______________________________________________<br>
>elinux-MinnowBoard mailing list<br>
>elinux-MinnowBoard@lists.elinux.orghttp://<a href="http://lists.elinux.org/mailman/listinf" target="_blank">lists.elinux.org/mailman/listinf</a><br>
>o/elinux-minnowboard<br>
><br>
><br>
><br>
><br>
><br>
>_______________________________________________<br>
>elinux-MinnowBoard mailing list<br>
><a href="mailto:elinux-MinnowBoard@lists.elinux.org">elinux-MinnowBoard@lists.elinux.org</a><br>
><a href="http://lists.elinux.org/mailman/listinfo/elinux-minnowboard" target="_blank">http://lists.elinux.org/mailman/listinfo/elinux-minnowboard</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
>_______________________________________________<br>
>elinux-MinnowBoard mailing list<br>
>elinux-MinnowBoard@lists.elinux.orghttp://<a href="http://lists.elinux.org/mailman/listinf" target="_blank">lists.elinux.org/mailman/listinf</a><br>
>o/elinux-minnowboard<br>
<br>
<br>
_______________________________________________<br>
elinux-MinnowBoard mailing list<br>
<a href="mailto:elinux-MinnowBoard@lists.elinux.org">elinux-MinnowBoard@lists.elinux.org</a><br>
<a href="http://lists.elinux.org/mailman/listinfo/elinux-minnowboard" target="_blank">http://lists.elinux.org/mailman/listinfo/elinux-minnowboard</a><br>
</div></div></blockquote></div><br></div>