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 <[email protected]>: > 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 <[email protected]>: > > 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 >> [email protected] Intel Corporation >> >> _______________________________________________ >> elinux-MinnowBoard mailing list >> [email protected] >> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard >> > >
_______________________________________________ elinux-MinnowBoard mailing list [email protected] http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
