[MinnowBoard] Kernel .config file lacks CONFIG_FB_DEFERRED_IO
Ferchu R
chamac2 at gmail.com
Fri Jun 6 00:36:55 UTC 2014
Hi Darren.
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).
Thanks.
2014-06-04 23:42 GMT-05:00 Darren Hart <dvhart at linux.intel.com>:
> 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
>
>
> _______________________________________________
> elinux-MinnowBoard mailing list
> elinux-MinnowBoard at lists.elinux.org
> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20140605/be633e5d/attachment-0001.html>
-------------- next part --------------
--- config.orig 2014-06-05 19:09:33.740670457 -0500
+++ config.mine 2014-06-04 20:31:05.403793000 -0500
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 3.8.13 Kernel Configuration
+# Linux/i386 3.8.13 Kernel Configuration
#
# CONFIG_64BIT is not set
CONFIG_X86_32=y
@@ -2804,16 +2804,17 @@ CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
-# CONFIG_FB_SYS_FILLRECT is not set
-# CONFIG_FB_SYS_COPYAREA is not set
-# CONFIG_FB_SYS_IMAGEBLIT is not set
+CONFIG_FB_SYS_FILLRECT=m
+CONFIG_FB_SYS_COPYAREA=m
+CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
-# CONFIG_FB_SYS_FOPS is not set
+CONFIG_FB_SYS_FOPS=y
# CONFIG_FB_WMT_GE_ROPS is not set
+CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
-# CONFIG_FB_MODE_HELPERS is not set
+CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
#
@@ -2855,7 +2856,7 @@ CONFIG_FB_EFI=y
# CONFIG_FB_GEODE is not set
# CONFIG_FB_TMIO is not set
# CONFIG_FB_SMSCUFX is not set
-# CONFIG_FB_UDL is not set
+CONFIG_FB_UDL=m
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
-------------- next part --------------
--- Kconfig.orig 2014-05-26 12:02:45.000000000 -0500
+++ Kconfig.mine 2014-06-04 20:31:24.338652000 -0500
@@ -21,7 +21,7 @@ source "drivers/gpu/vga/Kconfig"
source "drivers/gpu/drm/Kconfig"
-source "drivers/gpu/host1x/Kconfig"
+source "drivers/gpu/stub/Kconfig"
config VGASTATE
tristate
@@ -33,12 +33,6 @@ config VIDEO_OUTPUT_CONTROL
This framework adds support for low-level control of the video
output switch.
-config VIDEOMODE_HELPERS
- bool
-
-config HDMI
- bool
-
menuconfig FB
tristate "Support for frame buffer devices"
---help---
@@ -194,7 +188,15 @@ endchoice
config FB_SYS_FOPS
tristate
depends on FB
- default n
+ default y
+
+config FB_WMT_GE_ROPS
+ tristate
+ depends on FB
+ default n
+ ---help---
+ Include functions for accelerated rectangle filling and area
+ copying using WonderMedia Graphics Engine operations.
config FB_DEFERRED_IO
bool
@@ -362,7 +364,7 @@ config FB_SA1100
Y here.
config FB_IMX
- tristate "Freescale i.MX1/21/25/27 LCD support"
+ tristate "Freescale i.MX LCD support"
depends on FB && IMX_HAVE_PLATFORM_IMX_FB
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
@@ -1110,8 +1112,8 @@ config FB_RIVA_BACKLIGHT
Say Y here if you want to control the backlight of your display.
config FB_I740
- tristate "Intel740 support"
- depends on FB && PCI
+ tristate "Intel740 support (EXPERIMENTAL)"
+ depends on EXPERIMENTAL && FB && PCI
select FB_MODE_HELPERS
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
@@ -1122,8 +1124,8 @@ config FB_I740
This driver supports graphics cards based on Intel740 chip.
config FB_I810
- tristate "Intel 810/815 support"
- depends on FB && PCI && X86_32 && AGP_INTEL
+ tristate "Intel 810/815 support (EXPERIMENTAL)"
+ depends on EXPERIMENTAL && FB && PCI && X86_32 && AGP_INTEL
select FB_MODE_HELPERS
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
@@ -1185,8 +1187,8 @@ config FB_CARILLO_RANCH
This driver supports the LE80578 (Carillo Ranch) board
config FB_INTEL
- tristate "Intel 830M/845G/852GM/855GM/865G/915G/945G/945GM/965G/965GM support"
- depends on FB && PCI && X86 && AGP_INTEL && EXPERT
+ tristate "Intel 830M/845G/852GM/855GM/865G/915G/945G/945GM/965G/965GM support (EXPERIMENTAL)"
+ depends on EXPERIMENTAL && FB && PCI && X86 && AGP_INTEL && EXPERT
select FB_MODE_HELPERS
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
@@ -1430,7 +1432,7 @@ config FB_ATY_CT
is at <http://support.ati.com/products/pc/mach64/mach64.html>.
config FB_ATY_GENERIC_LCD
- bool "Mach64 generic LCD support"
+ bool "Mach64 generic LCD support (EXPERIMENTAL)"
depends on FB_ATY_CT
help
Say Y if you have a laptop with an ATI Rage LT PRO, Rage Mobility,
@@ -1477,7 +1479,7 @@ config FB_S3_DDC
config FB_SAVAGE
tristate "S3 Savage support"
- depends on FB && PCI
+ depends on FB && PCI && EXPERIMENTAL
select FB_MODE_HELPERS
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
@@ -1631,15 +1633,15 @@ config FB_3DFX
module will be called tdfxfb.
config FB_3DFX_ACCEL
- bool "3Dfx Acceleration functions"
- depends on FB_3DFX
+ bool "3Dfx Acceleration functions (EXPERIMENTAL)"
+ depends on FB_3DFX && EXPERIMENTAL
---help---
This will compile the 3Dfx Banshee/Voodoo3/VSA-100 frame buffer
device driver with acceleration functions.
config FB_3DFX_I2C
bool "Enable DDC/I2C support"
- depends on FB_3DFX
+ depends on FB_3DFX && EXPERIMENTAL
select FB_DDC
default y
help
@@ -1712,8 +1714,8 @@ config FB_ARK
and ICS 5342 RAMDAC.
config FB_PM3
- tristate "Permedia3 support"
- depends on FB && PCI
+ tristate "Permedia3 support (EXPERIMENTAL)"
+ depends on FB && PCI && EXPERIMENTAL
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
@@ -1773,37 +1775,22 @@ config FB_AU1200
option au1200fb:panel=<name>.
config FB_VT8500
- bool "VIA VT8500 framebuffer support"
+ bool "VT8500 LCD Driver"
depends on (FB = y) && ARM && ARCH_VT8500
- select FB_SYS_FILLRECT if (!FB_WMT_GE_ROPS)
- select FB_SYS_COPYAREA if (!FB_WMT_GE_ROPS)
+ select FB_WMT_GE_ROPS
select FB_SYS_IMAGEBLIT
- select FB_MODE_HELPERS
- select VIDEOMODE_HELPERS
help
This is the framebuffer driver for VIA VT8500 integrated LCD
controller.
config FB_WM8505
- bool "Wondermedia WM8xxx-series frame buffer support"
+ bool "WM8505 frame buffer support"
depends on (FB = y) && ARM && ARCH_VT8500
- select FB_SYS_FILLRECT if (!FB_WMT_GE_ROPS)
- select FB_SYS_COPYAREA if (!FB_WMT_GE_ROPS)
+ select FB_WMT_GE_ROPS
select FB_SYS_IMAGEBLIT
- select FB_MODE_HELPERS
- select VIDEOMODE_HELPERS
- help
- This is the framebuffer driver for WonderMedia WM8xxx-series
- integrated LCD controller. This driver covers the WM8505, WM8650
- and WM8850 SoCs.
-
-config FB_WMT_GE_ROPS
- bool "VT8500/WM8xxx accelerated raster ops support"
- depends on (FB = y) && (FB_VT8500 || FB_WM8505)
- default n
help
- This adds support for accelerated raster operations on the
- VIA VT8500 and Wondermedia 85xx series SoCs.
+ This is the framebuffer driver for WonderMedia WM8505/WM8650
+ integrated LCD controller.
source "drivers/video/geode/Kconfig"
@@ -2038,8 +2025,7 @@ config FB_TMIO_ACCELL
config FB_S3C
tristate "Samsung S3C framebuffer support"
- depends on FB && (CPU_S3C2416 || ARCH_S3C64XX || ARCH_S5P64X0 || \
- ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS)
+ depends on FB && (S3C_DEV_FB || S5P_DEV_FIMD0)
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
@@ -2197,15 +2183,6 @@ config FB_XILINX
framebuffer. ML300 carries a 640*480 LCD display on the board,
ML403 uses a standard DB15 VGA connector.
-config FB_GOLDFISH
- tristate "Goldfish Framebuffer"
- depends on FB && HAS_DMA
- select FB_CFB_FILLRECT
- select FB_CFB_COPYAREA
- select FB_CFB_IMAGEBLIT
- ---help---
- Framebuffer driver for Goldfish Virtual Platform
-
config FB_COBALT
tristate "Cobalt server LCD frame buffer support"
depends on FB && (MIPS_COBALT || MIPS_SEAD3)
@@ -2268,7 +2245,7 @@ config XEN_FBDEV_FRONTEND
select FB_SYS_IMAGEBLIT
select FB_SYS_FOPS
select FB_DEFERRED_IO
- select INPUT_XEN_KBDDEV_FRONTEND if INPUT_MISC
+ select INPUT_XEN_KBDDEV_FRONTEND
select XEN_XENBUS_FRONTEND
default y
help
@@ -2428,8 +2405,6 @@ config FB_MXS
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT
- select FB_MODE_HELPERS
- select VIDEOMODE_HELPERS
help
Framebuffer support for the MXS SoC.
@@ -2444,36 +2419,9 @@ config FB_PUV3_UNIGFX
Choose this option if you want to use the Unigfx device as a
framebuffer device. Without the support of PCI & AGP.
-config FB_HYPERV
- tristate "Microsoft Hyper-V Synthetic Video support"
- depends on FB && HYPERV
- select FB_CFB_FILLRECT
- select FB_CFB_COPYAREA
- select FB_CFB_IMAGEBLIT
- help
- This framebuffer driver supports Microsoft Hyper-V Synthetic Video.
-
-config FB_SIMPLE
- bool "Simple framebuffer support"
- depends on (FB = y) && OF
- select FB_CFB_FILLRECT
- select FB_CFB_COPYAREA
- select FB_CFB_IMAGEBLIT
- help
- Say Y if you want support for a simple frame-buffer.
-
- This driver assumes that the display hardware has been initialized
- before the kernel boots, and the kernel will simply render to the
- pre-allocated frame buffer surface.
-
- Configuration re: surface address, size, and format must be provided
- through device tree, or potentially plain old platform data in the
- future.
-
source "drivers/video/omap/Kconfig"
source "drivers/video/omap2/Kconfig"
source "drivers/video/exynos/Kconfig"
-source "drivers/video/mmp/Kconfig"
source "drivers/video/backlight/Kconfig"
if VT
@@ -2500,7 +2448,7 @@ config FB_SSD1307
tristate "Solomon SSD1307 framebuffer support"
depends on FB && I2C
depends on OF
- depends on GPIOLIB
+ depends on GENERIC_GPIO
select FB_SYS_FOPS
select FB_SYS_FILLRECT
select FB_SYS_COPYAREA
More information about the elinux-MinnowBoard
mailing list