[yocto] menuconfig vs. config fragments?

Rifenbark, Scott M scott.m.rifenbark at intel.com
Thu Jul 12 08:04:37 PDT 2012


Jim,

This needs to be fixed in the BSP Guide.  I will handle that.

Thanks,
Scott

From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of James Abernathy
Sent: Monday, July 09, 2012 5:52 AM
To: Bruce Ashfield
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] menuconfig vs. config fragments?


On Mon, Jul 9, 2012 at 8:13 AM, James Abernathy <jfabernathy at gmail.com<mailto:jfabernathy at gmail.com>> wrote:

On Mon, Jul 9, 2012 at 8:07 AM, Bruce Ashfield <bruce.ashfield at gmail.com<mailto:bruce.ashfield at gmail.com>> wrote:
On Mon, Jul 9, 2012 at 6:42 AM, Andrei Gherzan <andrei at gherzan.ro<mailto:andrei at gherzan.ro>> wrote:
> On Mon, Jul 9, 2012 at 1:39 PM, James Abernathy <jfabernathy at gmail.com<mailto:jfabernathy at gmail.com>>
> wrote:
>>
>> my goal of this test was to see if I could use the n450 BSP as a starting
>> point for a BSP to support my Acer Aspire One n450 based netbook.  The
>> core-image-sato will boot from USB key on the netbook if I use the ZIP drive
>> format for the USB key, but the current n450 BSP doesn't include the drivers
>> for the networking hardware in the netbook.
>>
>> I found by testing, using the menuconfig option documented in the
>> Developer Manual Appendix B example, that I needed to add 2 parameters to
>> the .config:
>>
>> CONFIG_ATH9K_PCI
>> CONFIG_ATL1C
>>
>> To make this change easier to manage and more permanent, I thought about
>> creating a config fragment.  I put the config parameters in a file,
>> myconfig, in the linux-yocto directory at the same level as the
>> linux-yocto_3.2.bbappend file, where I added:
>>
>> SRC_URI += "file//myconfig"
>>
>
> Try to use myconfig.cfg.
This would be the key part, since as a few noted, .cfg is what
triggers the fragment
processing to actually notice the file and stack it after the base /
defined configuration.

Cheers,

Bruce

I'm testing it now, but it sound like the problem.  So the Developer Manual uses the .cfg in the example, but the BSP Guide does not.  That's an area to fix.  Since this is critical,it needs to be pointed out, in my mind.

JIm A
Adding the .cfg extension does indeed fix my problem. Thanks for the help.

Jim A


>
> @g
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org<mailto:yocto at yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto
>


--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120712/d37fd758/attachment.html>


More information about the yocto mailing list