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-eglibc/sysroots/minnow/usr/src/kernel". Thanks. 2014-05-28 19:03 GMT-05:00 Darren Hart <[email protected]>: > 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 > [email protected] Intel Corporation > > From: Ferchu R <[email protected]> > Reply-To: MinnowBoard Development and Community Discussion < > [email protected]> > Date: Monday, May 26, 2014 at 16:32 > To: MinnowBoard Development and Community Discussion < > [email protected]> > 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 <[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 > > > _______________________________________________ > 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
