<?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 Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518032#M84113</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Veeranjaneyulu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be theoretically possible to do this, although I haven’t personally tired it. It seems odd that you’re not seeing the patch being applied. Have you tried using MACHINE ??=’machine1‘ on the configuration file and then performing a clean to the recipe to force it to build it from scratch? It may be possible that Bitbake already has the file so does not need to run the tasks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know of your findings!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2016 16:32:09 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2016-06-17T16:32:09Z</dc:date>
    <item>
      <title>Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518031#M84112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are using yocto setup.But we one doubt is it possible to access two machine configurations from single u-boot source bb file ?&lt;/P&gt;&lt;P&gt;machine1 and machine2 configure in sources/meta-fsl-bsp-release/imx/meta-fsl-arm/conf/machine/machine1.conf&lt;/P&gt;&lt;P&gt;like that i gave two machine configurations but i added both machine related patches in u-boot source bb file.&lt;/P&gt;&lt;P&gt;But with out commenting both patch files how can I access one machine patch file in bb file .in bb file&lt;/P&gt;&lt;P&gt;$ vi sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2014.04.bb&lt;/P&gt;&lt;P&gt;From above bb file is it possible to access two different machine configurations by setting machine name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we added the below two lines in above u-boot bb file .&lt;/P&gt;&lt;P&gt;do_patch_prepend(){&lt;/P&gt;&lt;P&gt;if [ "$MACHINE" = "imx6_zcam" ]; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRC_URI +="file://0001-imx6_zcam_uboot_customization.patch"&lt;/P&gt;&lt;P&gt;elif [ "$MACHINE" = "imx6_zcam_custom" ]; then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRC_URI +="file://0002-imx6_zcam_custom_uboot_customization.patch"&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo""&lt;/P&gt;&lt;P&gt;fi&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then export build directory&lt;/P&gt;&lt;P&gt;$source setenvironment -b build&lt;/P&gt;&lt;P&gt;$vi conf/local.conf&lt;/P&gt;&lt;P&gt;In the above file we gave &lt;STRONG&gt;MACHINE ??=machine1&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp; selected&lt;/P&gt;&lt;P&gt;===========================&lt;/P&gt;&lt;P&gt;Then extract u-boot source&lt;/P&gt;&lt;P&gt;$bitbake u-boot -c unapck -f&lt;/P&gt;&lt;P&gt;====================&lt;/P&gt;&lt;P&gt;Then apply patch&lt;/P&gt;&lt;P&gt;$bitbake u-boot -c patch -f&lt;/P&gt;&lt;P&gt;========================&lt;/P&gt;&lt;P&gt;But patch was not applied .so any body have any idea of that .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$bitbake u-boot -c compile/build -f&lt;/P&gt;&lt;P&gt;i gave its not compiling giving patch was not extract .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;veeranjaneyulu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 04:43:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518031#M84112</guid>
      <dc:creator>veeranjaneyulug</dc:creator>
      <dc:date>2016-06-10T04:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518032#M84113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Veeranjaneyulu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be theoretically possible to do this, although I haven’t personally tired it. It seems odd that you’re not seeing the patch being applied. Have you tried using MACHINE ??=’machine1‘ on the configuration file and then performing a clean to the recipe to force it to build it from scratch? It may be possible that Bitbake already has the file so does not need to run the tasks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know of your findings!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 16:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518032#M84113</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2016-06-17T16:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518033#M84114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Veeranjaneyulu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a second thought, I think the syntax should be like the following to use the value of MACHINE on the logic argument of the function. Perhaps this may help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if [ "${MACHINE}" = "imx6_zcam" ]; then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRC_URI +="file://0001-imx6_zcam_uboot_customization.patch"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elif [ "${MACHINE}" = "imx6_zcam_custom" ]; then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SRC_URI +="file://0002-imx6_zcam_custom_uboot_customization.patch"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2016 18:57:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518033#M84114</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2016-06-17T18:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518034#M84115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I tried like that syntax also but patch was not extracted ,it means in source directory we cant able to get patch related extracted source .Thats we got custom config error issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then compile by using bitbake .Its giving below error .ie reason patch extracting issue.I gave individual buildings .Those builds are compiling and building.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WARNING: /home/vishwa/workspace/checkout_mar16/coderepo1/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2014.04.bb.do_patch is tainted from a forced run&lt;/P&gt;&lt;P&gt;WARNING: /home/vishwa/workspace/checkout_mar16/coderepo1/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2014.04.bb.do_compile is tainted from a forced run&lt;/P&gt;&lt;P&gt;NOTE: Executing SetScene Tasks&lt;/P&gt;&lt;P&gt;NOTE: Executing RunQueue Tasks&lt;/P&gt;&lt;P&gt;ERROR: Function failed: do_compile (log file is located at /home/vishwa/workspace/checkout_mar16/coderepo1/build/tmp/work/imx6_zcam-poky-linux-gnueabi/u-boot-imx/2014.04-r0/temp/log.do_compile.5847)&lt;/P&gt;&lt;P&gt;ERROR: Logfile of failure stored in: /home/vishwa/workspace/checkout_mar16/coderepo1/build/tmp/work/imx6_zcam-poky-linux-gnueabi/u-boot-imx/2014.04-r0/temp/log.do_compile.5847&lt;/P&gt;&lt;P&gt;Log data follows:&lt;/P&gt;&lt;P&gt;| DEBUG: Executing shell function do_compile&lt;/P&gt;&lt;P&gt;| NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi- CC=arm-poky-linux-gnueabi-gcc&amp;nbsp; --sysroot=/home/vishwa/workspace/checkout_mar16/coderepo1/build/tmp/sysroots/imx6_zcam imx6_zcam_config&lt;/P&gt;&lt;P&gt;| make: *** No rule to make target `imx6_zcam_config'.&amp;nbsp; Stop.&lt;/P&gt;&lt;P&gt;| make: *** [imx6_zcam_config] Error 1&lt;/P&gt;&lt;P&gt;| ERROR: oe_runmake failed&lt;/P&gt;&lt;P&gt;| WARNING: exit code 1 from a shell command.&lt;/P&gt;&lt;P&gt;| ERROR: Function failed: do_compile (log file is located at /home/vishwa/workspace/checkout_mar16/coderepo1/build/tmp/work/imx6_zcam-poky-linux-gnueabi/u-boot-imx/2014.04-r0/temp/log.do_compile.5847)&lt;/P&gt;&lt;P&gt;ERROR: Task 4 (/home/vishwa/workspace/checkout_mar16/coderepo1/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2014.04.bb, do_compile) failed with exit code '1'&lt;/P&gt;&lt;P&gt;NOTE: Tasks Summary: Attempted 242 tasks of which 240 didn't need to be rerun and 1 failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;/P&gt;&lt;P&gt;&amp;nbsp; /home/vishwa/workspace/checkout_mar16/coderepo1/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2014.04.bb, do_compile&lt;/P&gt;&lt;P&gt;Summary: There were 2 WARNING messages shown.&lt;/P&gt;&lt;P&gt;Summary: There was 1 ERROR message shown, returning a non-zero exit code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 04:54:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518034#M84115</guid>
      <dc:creator>veeranjaneyulug</dc:creator>
      <dc:date>2016-06-20T04:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518035#M84116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In U-boot source Make file i customized as per my requirement .ie working but my requirement is how to access from one bb file two different machine patch files .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 08:45:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518035#M84116</guid>
      <dc:creator>veeranjaneyulug</dc:creator>
      <dc:date>2016-06-20T08:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518036#M84117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;do_pre_configure() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; patch -p1 &amp;lt; ${WORKDIR}/&amp;lt;your patchfile name&amp;gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;add the task pre_configure before do_configure, but after after do_patch, also dont give .patch extension to patch file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 15:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518036#M84117</guid>
      <dc:creator>pranavmadhu</dc:creator>
      <dc:date>2016-06-20T15:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518037#M84118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pranav Madhu&lt;/P&gt;&lt;P&gt;Thanks for your reply reply.&lt;/P&gt;&lt;P&gt;But i tried no use .its not extracting .I gave normal syntax patch added like &lt;STRONG&gt;SRC_URI+=&amp;lt;"file://patchname"&amp;gt;.Its working but i want gave two patch files at the same time&amp;nbsp; for different machine configuration patch files.Is it possible to give ?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks &amp;amp; Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;veeranjaneyulu&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 06:12:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518037#M84118</guid>
      <dc:creator>veeranjaneyulug</dc:creator>
      <dc:date>2016-06-21T06:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518038#M84119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Veeranjaneyulu,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Sorry I'm not sure about it, t&lt;/SPAN&gt;ry to give the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;do_pre_configure in&lt;/SPAN&gt; if-else condition. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 09:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518038#M84119</guid>
      <dc:creator>pranavmadhu</dc:creator>
      <dc:date>2016-06-21T09:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518039#M84120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its ok pranav .&lt;/P&gt;&lt;P&gt;Any way thanks for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 09:46:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/518039#M84120</guid>
      <dc:creator>veeranjaneyulug</dc:creator>
      <dc:date>2016-06-21T09:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to acces single bb file for two machine configurations ?in yocto setup?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/1590585#M200850</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/81872"&gt;@veeranjaneyulug&lt;/a&gt;&amp;nbsp;did you resolve your issue? I am stuck at the same point. I want to apply same patch for 2 different machines in single .bbappend file&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 13:02:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Is-it-possible-to-acces-single-bb-file-for-two-machine/m-p/1590585#M200850</guid>
      <dc:creator>meeras</dc:creator>
      <dc:date>2023-01-31T13:02:17Z</dc:date>
    </item>
  </channel>
</rss>

