<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic qoriq Linux: append the changes in kernel configuration not working properly in P-Series</title>
    <link>https://community.nxp.com/t5/P-Series/qoriq-Linux-append-the-changes-in-kernel-configuration-not/m-p/501725#M3091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like to change the default kernel configuration and I want the changes to be updated on kernel build even after cleansstate&lt;/P&gt;&lt;P&gt;So I generated the kernel configuration difference by&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;bitbake -c diffconfig virtual/kernel&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;the above command generated a *.cfg which I copied the files to meta-*/recipies-kernel/linux/files/&lt;/P&gt;&lt;P&gt;Then, I created a *.bbappend files in meta-*/recipies-kernel/linux/&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;FILESEXTRAPATHS_prepend := "${THISDIR}/files:"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SRC_URI += "file://fragmemt.cfg"@&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I did a bitbake&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;bitbake -c cleansstate virtual/kernel&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: No recipes available for:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; /home/project/P1010RDB/Source/yocto/QorIQ-SDK-V1.8-20150619-yocto/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_3.12_config.bbappend&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Dec 2015 20:12:23 GMT</pubDate>
    <dc:creator>nobelsharanyanj</dc:creator>
    <dc:date>2015-12-23T20:12:23Z</dc:date>
    <item>
      <title>qoriq Linux: append the changes in kernel configuration not working properly</title>
      <link>https://community.nxp.com/t5/P-Series/qoriq-Linux-append-the-changes-in-kernel-configuration-not/m-p/501725#M3091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like to change the default kernel configuration and I want the changes to be updated on kernel build even after cleansstate&lt;/P&gt;&lt;P&gt;So I generated the kernel configuration difference by&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;bitbake -c diffconfig virtual/kernel&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;the above command generated a *.cfg which I copied the files to meta-*/recipies-kernel/linux/files/&lt;/P&gt;&lt;P&gt;Then, I created a *.bbappend files in meta-*/recipies-kernel/linux/&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;FILESEXTRAPATHS_prepend := "${THISDIR}/files:"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;SRC_URI += "file://fragmemt.cfg"@&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I did a bitbake&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;bitbake -c cleansstate virtual/kernel&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WARNING: No recipes available for:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; /home/project/P1010RDB/Source/yocto/QorIQ-SDK-V1.8-20150619-yocto/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_3.12_config.bbappend&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 20:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/qoriq-Linux-append-the-changes-in-kernel-configuration-not/m-p/501725#M3091</guid>
      <dc:creator>nobelsharanyanj</dc:creator>
      <dc:date>2015-12-23T20:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: qoriq Linux: append the changes in kernel configuration not working properly</title>
      <link>https://community.nxp.com/t5/P-Series/qoriq-Linux-append-the-changes-in-kernel-configuration-not/m-p/501726#M3092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got solution for the above problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after successfully modified the kernel configuration then follow the below steps&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;step 1: bitbake -c diffconfig virtual/kernel&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;the above command will generate fragment.cfg&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;step 2: copy the fragment.cfg to source/meta-**/recipes-kernel/linux/linux-qoriq-3.12-config/&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;step 3: modify the linux-qoriq.inc&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;line 17: &lt;EM&gt;&lt;STRONG&gt;DELTA_KERNEL_DEFCONFIG="${THISDIR}/linux-qoriq-3.12-config/*"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;make sure there should not be any space in the above line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now bitbake cleansstate and bitbake again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note:&lt;/P&gt;&lt;P&gt;Someone patch this to source please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nobel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 00:24:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/qoriq-Linux-append-the-changes-in-kernel-configuration-not/m-p/501726#M3092</guid>
      <dc:creator>nobelsharanyanj</dc:creator>
      <dc:date>2015-12-24T00:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: qoriq Linux: append the changes in kernel configuration not working properly</title>
      <link>https://community.nxp.com/t5/P-Series/qoriq-Linux-append-the-changes-in-kernel-configuration-not/m-p/501727#M3093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I struggled with this for quite a while, trying to enable the CRYPTO_USER feature.&lt;/P&gt;&lt;P&gt;It is possible to do completely in a private layer.&amp;nbsp; Assuming you have your own layer&lt;/P&gt;&lt;P&gt;referenced in conf/bblayers.conf (which you should, makes things much easier)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) use menuconfig and diffconfig to create a fragment.&lt;/P&gt;&lt;P&gt;b) Create a layer with a linux-qoriq_1_3.12.bbappend&amp;nbsp; (or other version if yours is different)&lt;/P&gt;&lt;P&gt;c) VERIFY WITH bitbake-layers show-appends that your file is being pulled in&lt;/P&gt;&lt;P&gt;d) In the bbappend dir, save the fragment under files/build&amp;nbsp; (IMPORTANT) i.e files/build/myfragment.cfg&lt;/P&gt;&lt;P&gt;e) in the bbappend file, add...&lt;/P&gt;&lt;P&gt;FILESEXTRAPATHS_prepend := "${THISDIR}/files:"&lt;/P&gt;&lt;P&gt;SRC_URI += "file://build/myfragment.cfg "&lt;/P&gt;&lt;P&gt;DELTA_KERNEL_DEFCONFIG += " myfragment.cfg "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note build is in the SRC_URI, not in DELTA_KERNEL_DEFCONFG.&amp;nbsp; Finding out&lt;/P&gt;&lt;P&gt;where do_configure() actually ran took a bit of effort.&lt;/P&gt;&lt;P&gt;Hope this helps someone...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cary&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 16:38:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/qoriq-Linux-append-the-changes-in-kernel-configuration-not/m-p/501727#M3093</guid>
      <dc:creator>caryo_brien</dc:creator>
      <dc:date>2016-06-13T16:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: qoriq Linux: append the changes in kernel configuration not working properly</title>
      <link>https://community.nxp.com/t5/P-Series/qoriq-Linux-append-the-changes-in-kernel-configuration-not/m-p/501728#M3094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right, build is in the SRC_URI, not in DELTA_KERNEL_DEFCONFG in 1.9 SDK.&lt;/P&gt;&lt;P&gt;but if you look at older version 1.8 SDK, it is DELTA_KERNEL_DEFCONFIG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nobel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 17:11:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/P-Series/qoriq-Linux-append-the-changes-in-kernel-configuration-not/m-p/501728#M3094</guid>
      <dc:creator>nobelsharanyanj</dc:creator>
      <dc:date>2016-06-13T17:11:53Z</dc:date>
    </item>
  </channel>
</rss>

