<?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: Add new device tree files in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Add-new-device-tree-files/m-p/1305677#M176708</link>
    <description>&lt;P&gt;Hi Hai&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;may be useful to look at below links&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-How-can-I-quickly-modify-the-kernel-and-test/ta-p/1129551" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-How-can-I-quickly-modify-the-kernel-and-test/ta-p/1129551&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Solutions-Knowledge-Base/BSP-porting-guide-from-a-I-mx6q-reference-Board-to-a-Custom/ta-p/1119958" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Solutions-Knowledge-Base/BSP-porting-guide-from-a-I-mx6q-reference-Board-to-a-Custom/ta-p/1119958&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf" target="_blank" rel="noopener"&gt;i.MX Porting Guide&lt;/A&gt;​&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jul 2021 23:17:44 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-07-09T23:17:44Z</dc:date>
    <item>
      <title>Add new device tree files</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-new-device-tree-files/m-p/1305462#M176693</link>
      <description>&lt;P&gt;hello every one,&lt;/P&gt;&lt;P&gt;I am trying to port kernel by adding new device tree. I know I can modify an old file to do the porting, but I want to have a new file (with a new name), so I need to patch the arc/arm/boot/dts/Makefile to include my dts file.&amp;nbsp; I use .bbappend file to patch Makefile and copy my dts file to dts directory. If I bitbake the image first time, the patch fails, if I bitbake it again, the patch is successful. Is there anyway to path it successfully the first time? following is the error message I got for the first pass:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: linux-imx-5.10.9+gitAUTOINC+32513c25d8-r0 do_patch: Could not apply patches for imx6solosmarthome.&lt;BR /&gt;ERROR: linux-imx-5.10.9+gitAUTOINC+32513c25d8-r0 do_patch: Patch failures can be resolved in the linux source directory /home/hai/imx-yocto-bsp/build/tmp/work/imx6solosmarthome-poky-linux-gnueabi/linux-imx/5.10.9+gitAUTOINC+32513c25d8-r0/git)&lt;BR /&gt;ERROR: linux-imx-5.10.9+gitAUTOINC+32513c25d8-r0 do_patch: Execution of '/home/hai/imx-yocto-bsp/build/tmp/work/imx6solosmarthome-poky-linux-gnueabi/linux-imx/5.10.9+gitAUTOINC+32513c25d8-r0/temp/run.do_patch.2537750' failed with exit code 1:&lt;BR /&gt;(1/1) Makefile.patch&lt;BR /&gt;[INFO]: check of .kernel-meta//patches//./Makefile.patch with "git am" did not pass, trying reduced context.&lt;BR /&gt;[INFO]: Context reduced git-am of .kernel-meta//patches//./Makefile.patch with "git am" did not work, trying "apply".&lt;BR /&gt;error: home/hai/imx-yocto-bsp/build/tmp/work/imx6solosmarthome-poky-linux-gnueabi/linux-imx/5.10.9+gitAUTOINC+32513c25d8-r0/git/arch/arm/boot/dts/Makefile: does not exist in index&lt;BR /&gt;[ERROR]: Application of .kernel-meta//patches//./Makefile.patch failed.&lt;BR /&gt;Patch needs to be refreshed. Sample resolution script:&lt;BR /&gt;.git/rebase-apply/resolve_rejects&lt;BR /&gt;WARNING: exit code 1 from a shell command.&lt;/P&gt;&lt;P&gt;ERROR: Logfile of failure stored in: /home/hai/imx-yocto-bsp/build/tmp/work/imx6solosmarthome-poky-linux-gnueabi/linux-imx/5.10.9+gitAUTOINC+32513c25d8-r0/temp/log.do_patch.2537750&lt;BR /&gt;NOTE: recipe linux-imx-5.10.9+gitAUTOINC+32513c25d8-r0: task do_patch: Failed&lt;BR /&gt;ERROR: Task (/home/hai/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.10.bb:do_patch) failed with exit code '1'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Hai&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 13:06:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-new-device-tree-files/m-p/1305462#M176693</guid>
      <dc:creator>hailiu</dc:creator>
      <dc:date>2021-07-09T13:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add new device tree files</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Add-new-device-tree-files/m-p/1305677#M176708</link>
      <description>&lt;P&gt;Hi Hai&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;may be useful to look at below links&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-How-can-I-quickly-modify-the-kernel-and-test/ta-p/1129551" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-Yocto-Project-How-can-I-quickly-modify-the-kernel-and-test/ta-p/1129551&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Solutions-Knowledge-Base/BSP-porting-guide-from-a-I-mx6q-reference-Board-to-a-Custom/ta-p/1119958" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Solutions-Knowledge-Base/BSP-porting-guide-from-a-I-mx6q-reference-Board-to-a-Custom/ta-p/1119958&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf" target="_blank" rel="noopener"&gt;i.MX Porting Guide&lt;/A&gt;​&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 23:17:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Add-new-device-tree-files/m-p/1305677#M176708</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-07-09T23:17:44Z</dc:date>
    </item>
  </channel>
</rss>

