<?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 Yocto zeus - cannot apply patch in u-boot (imx7ulp-evk) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061633#M156070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently made the update from&amp;nbsp;&lt;EM&gt;sumo&amp;nbsp;&lt;/EM&gt;to the latest&amp;nbsp;&lt;EM&gt;zeus&amp;nbsp;&lt;/EM&gt;(5.4.24_2.1.0)&amp;nbsp; and I have some issues.&lt;/P&gt;&lt;P&gt;In my custom &lt;EM&gt;meta-layer&amp;nbsp;&lt;/EM&gt;I have a&amp;nbsp;patch that was applying ok in u-boot with sumo but doesn't apply anymore with the latest&amp;nbsp;&lt;EM&gt;zeus&amp;nbsp;&lt;/EM&gt;revision.&lt;/P&gt;&lt;P&gt;I need this patch in order to change the default&amp;nbsp;&lt;EM&gt;fdt_file.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Basically the default&amp;nbsp;&lt;EM&gt;fdt_file&amp;nbsp;&lt;/EM&gt;is&amp;nbsp;&lt;EM&gt;imx7ulp-evkb.dtb&amp;nbsp;&lt;/EM&gt;but I need to use a custom dtb file named&amp;nbsp;&lt;EM&gt;imx7ulp-evk-custom.dtb.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Is there any other file structure for&amp;nbsp;&lt;EM&gt;zeus&amp;nbsp;&lt;/EM&gt;in the *.bbappend&amp;nbsp;file that I should follow? Maybe I need to replace the&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;EM&gt;SRC_URI&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;with another key-word?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OBS!&lt;BR /&gt;- If I provide a patch file that doesn't exist in the &lt;EM&gt;u-boot-imx_2018.03.bbappend&amp;nbsp;&lt;/EM&gt;file I get a warning when compiling (bitbake -f -c compile u-boot-imx) -&amp;gt; so the patch is read from disk when compiling&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2020 14:28:53 GMT</pubDate>
    <dc:creator>liviuene</dc:creator>
    <dc:date>2020-08-04T14:28:53Z</dc:date>
    <item>
      <title>Yocto zeus - cannot apply patch in u-boot (imx7ulp-evk)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061633#M156070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently made the update from&amp;nbsp;&lt;EM&gt;sumo&amp;nbsp;&lt;/EM&gt;to the latest&amp;nbsp;&lt;EM&gt;zeus&amp;nbsp;&lt;/EM&gt;(5.4.24_2.1.0)&amp;nbsp; and I have some issues.&lt;/P&gt;&lt;P&gt;In my custom &lt;EM&gt;meta-layer&amp;nbsp;&lt;/EM&gt;I have a&amp;nbsp;patch that was applying ok in u-boot with sumo but doesn't apply anymore with the latest&amp;nbsp;&lt;EM&gt;zeus&amp;nbsp;&lt;/EM&gt;revision.&lt;/P&gt;&lt;P&gt;I need this patch in order to change the default&amp;nbsp;&lt;EM&gt;fdt_file.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Basically the default&amp;nbsp;&lt;EM&gt;fdt_file&amp;nbsp;&lt;/EM&gt;is&amp;nbsp;&lt;EM&gt;imx7ulp-evkb.dtb&amp;nbsp;&lt;/EM&gt;but I need to use a custom dtb file named&amp;nbsp;&lt;EM&gt;imx7ulp-evk-custom.dtb.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Is there any other file structure for&amp;nbsp;&lt;EM&gt;zeus&amp;nbsp;&lt;/EM&gt;in the *.bbappend&amp;nbsp;file that I should follow? Maybe I need to replace the&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;&lt;EM&gt;SRC_URI&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;with another key-word?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;OBS!&lt;BR /&gt;- If I provide a patch file that doesn't exist in the &lt;EM&gt;u-boot-imx_2018.03.bbappend&amp;nbsp;&lt;/EM&gt;file I get a warning when compiling (bitbake -f -c compile u-boot-imx) -&amp;gt; so the patch is read from disk when compiling&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2020 14:28:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061633#M156070</guid>
      <dc:creator>liviuene</dc:creator>
      <dc:date>2020-08-04T14:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto zeus - cannot apply patch in u-boot (imx7ulp-evk)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061634#M156071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="349681" data-username="nxf31578" href="https://community.nxp.com/people/nxf31578"&gt;Liviu&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For imx7ul-evk, fdt_file name is defined in u-boot/include/configs/mx7ulp_evk.h, see below, please!&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;"fdt_file=" CONFIG_DEFAULT_FDT_FILE ".dtb\0" \&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actuall, she can modify it like this:&lt;/P&gt;&lt;P&gt;#define MY_DTB_FILE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "mx7ulp_customized"&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;"fdt_file=" MY_DTB_FILE ".dtb\0" \&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;"fdt_file=" mx7ulp_customized ".dtb\0" \&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then run :&amp;nbsp;bitbake -f -c compile u-boot-imx or&amp;nbsp; bitbake u-boot-imx -c compile&amp;nbsp; -f&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So don't need to make a special path for the change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope above information is helpful for you.&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;B.R,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2020 03:39:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061634#M156071</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-08-05T03:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto zeus - cannot apply patch in u-boot (imx7ulp-evk)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061635#M156072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/weidong.sun"&gt;weidong.sun&lt;/A&gt;&amp;nbsp;and thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is exactly what I did. If you will check the&lt;EM&gt; uboot_custom_fdt_file.patch&lt;/EM&gt; file you will see that I changed the &lt;EM&gt;CONFIG_DEFAULT_FDT_FILE&lt;/EM&gt; to use my custom name.&lt;/P&gt;&lt;P&gt;But I cannot make that change by hand and I it to be applied as a patch when I'm compiling my custom layer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the actual issue is that the patch is not applied over the &lt;EM&gt;mx7ulp_evk.h&lt;/EM&gt; when the image builds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Liviu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2020 04:54:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061635#M156072</guid>
      <dc:creator>liviuene</dc:creator>
      <dc:date>2020-08-05T04:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto zeus - cannot apply patch in u-boot (imx7ulp-evk)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061636#M156073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Liviu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that bitbake didn't find patch directory, so you can try like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SRC_URI += " \&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;file://uboot_custom_fdt_file.patch;patchdir=${S}/include/configs \&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have&amp;nbsp; a nice day!&lt;/P&gt;&lt;P&gt;B.R,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2020 08:46:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061636#M156073</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-08-05T08:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto zeus - cannot apply patch in u-boot (imx7ulp-evk)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061637#M156074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Wigros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem was with the&amp;nbsp;&lt;EM&gt;*bbappend&amp;nbsp;&lt;/EM&gt;file name&amp;nbsp;&lt;EM&gt;version.&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Renaming&amp;nbsp;&lt;EM&gt;u-boot-imx_&lt;STRONG&gt;2018.03&lt;/STRONG&gt;.bbappend&lt;/EM&gt; to&amp;nbsp;&lt;EM&gt;u-boot-imx_&lt;STRONG&gt;2020.04&lt;/STRONG&gt;.bbappend&amp;nbsp;&lt;/EM&gt;solved my issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2020 10:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061637#M156074</guid>
      <dc:creator>liviuene</dc:creator>
      <dc:date>2020-08-05T10:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto zeus - cannot apply patch in u-boot (imx7ulp-evk)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061638#M156075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, good job!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;B.R,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2020 02:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-zeus-cannot-apply-patch-in-u-boot-imx7ulp-evk/m-p/1061638#M156075</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-08-06T02:31:34Z</dc:date>
    </item>
  </channel>
</rss>

