<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.E-MailFormatvorlage19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m still fighting with those config-fragments, as the do_fetch of the linux source didn’t finish (even overnight) I canceled it and tried some other things. I found that after editing the defconfig file which also would be an option though not as modular as a config-fragment, when starting bitbake it also starts the do_fetch wich doesn’t finish. If already this fails, then I obviously either can’t test the other option.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Heise, Matthias <br><b>Gesendet:</b> Donnerstag, 27. November 2014 13:13<br><b>An:</b> 'Chris Tapp'<br><b>Cc:</b> meta-freescale@yoctoproject.org<br><b>Betreff:</b> AW: [meta-freescale] save kernel configuration<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hello Chris,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>thank you for your hints, I just read the part of the manual and I have doubts about the correct locations, the manual says : <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>“</span><span lang=EN-US>For example, suppose you had a set of configuration options in a file called myconfig.cfg. If you put that file inside a directory named linux-yocto that resides in the same directory as the kernel's append file and then add a SRC_URI statement such as the following to the kernel's append file,”<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>In my case I have in the folder /sources/meta-fsl-arm-extra/recipes-kernel the folder linux-wandboard-3.10.17 and also the files linux-wandboard-3.10.17.bb and linux-wandboard.inc, no append file<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>So I added a folder “linux-wandboard” and put in the “myconfig.cfg” test-file.  In the linux-wandboard.inc I added <a href="file:///\\myconfig.cfg">file://myconfig.cfg</a> to the SRC_URI. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Is that correct ? <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I can’t test so quickly, as after making that last change and re-running bitbake it started fetching the linux source again (which goes very slow as I have a slow connection here)… is that re-fetching normal ?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Thank you<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>greetings,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Mat<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Von:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Chris Tapp [</span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><a href="mailto:opensource@keylevel.com">mailto:opensource@keylevel.com</a>] <br><b>Gesendet:</b> Donnerstag, 27. November 2014 09:20<br><b>An:</b> Heise, Matthias<br><b>Cc:</b> <a href="mailto:meta-freescale@yoctoproject.org">meta-freescale@yoctoproject.org</a><br><b>Betreff:</b> Re: [meta-freescale] save kernel configuration<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Mat,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On 27 Nov 2014, at 07:46, <<a href="mailto:Matthias.Heise@atlas-elektronik.com">Matthias.Heise@atlas-elektronik.com</a>> <<a href="mailto:Matthias.Heise@atlas-elektronik.com">Matthias.Heise@atlas-elektronik.com</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hi there,</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>when I’m turning options on and off in menuconfig these changes are usually saved in the .config file, which resides (in my case)in /build/tmp/work/wandboard_quad-poky-linux-gnueabi/linux-wandboardd/3.10.17-r0/git ,</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>right ? As this configuration is obviously downloaded from git, I’ve got a few questions:</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div style='margin-left:36.0pt'><p class=MsoNormal style='text-indent:-18.0pt'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>1.</span><span lang=EN-US style='font-size:7.0pt'>      <span class=apple-converted-space> </span></span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Is this configuration integral part of (in this case) the linux-wandboard-3.10.17, so if I change the configuration the version must be changed ?</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div style='margin-left:36.0pt'><p class=MsoNormal style='text-indent:-18.0pt'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>2.</span><span lang=EN-US style='font-size:7.0pt'>      <span class=apple-converted-space> </span></span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Which purpose does the defconfig file in /sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-wandboard-3.10.17 have ?</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div><div style='margin-left:36.0pt'><p class=MsoNormal style='text-indent:-18.0pt'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>3.</span><span lang=EN-US style='font-size:7.0pt'>      <span class=apple-converted-space> </span></span><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Or is the defconfig file copied, changed by recipe (linux-wandboard_3.10.17.bb, f.e. LOCALVERSION ) and if I change something and want to include this into the image recipe I copy the tweaked .config file into a new defconfig ? Or how would be the procedure ?</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>1. The version number is simply the kernel version that is being used - configuration just selects which features are exposed;<o:p></o:p></p></div><div><p class=MsoNormal>2. The defconfig is the default configuration that will be used as the .config when the kernel is built for the wandboard;<o:p></o:p></p></div><div><p class=MsoNormal>3. Any kernel changes that are requested else where (e.g. configuration fragments, below) modify what is in .config before the build takes place.<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Any changes you make using menuconfig will be lost as they are stored in the work area. If you want to be able to reapply changes you probably want to look at using configuration fragments.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I would start by reading the section "Creating Configuration Fragments" in the documentation (<a href="http://www.yoctoproject.org/docs/1.7/mega-manual/mega-manual.html">www.yoctoproject.org/docs/1.7/mega-manual/mega-manual.html</a>). Configuration fragments are much easier to manage and will apply to any kernel version that supports the option(s).<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>--<o:p></o:p></p></div><div><div><div><div><div><div><div><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='color:black'>Chris Tapp<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><a href="mailto:opensource@keylevel.com">opensource@keylevel.com</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><a href="http://www.keylevel.com">www.keylevel.com</a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='color:black'>----<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='color:black'>You can tell you're getting older when your car insurance gets real cheap!<o:p></o:p></span></p></div></div></div></div></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>