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