<?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 How to build device tree changes? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-build-device-tree-changes/m-p/2043579#M233980</link>
    <description>&lt;P&gt;IMX8M Nano&lt;/P&gt;&lt;P&gt;Yocto build setup from NXP&lt;/P&gt;&lt;P&gt;I want to build a modified device tree for the imx8m nano.&amp;nbsp;I understand the syntax of device tree source files (.dts, dtsi), but I don't know how to get the yocto build to update the DTB: imx8mn-evk.dtb.&lt;/P&gt;&lt;P&gt;I modified&amp;nbsp;imx8mn-evk.dts and built, but my changes do not seem to affect the build. As a test I simply typed garbage into the file and even renamed the file. I expected the build to fail, but no it doesn't. Thing is there's many copies of this file in my build tree. I picked the one under&amp;nbsp;nano/tmp/work-shared/imx8mn-lpddr4-evk/kernel-source/arch/arm64/boot/dts/freescale/ where nano is my build dir. I realize that the files under tmp are only quasi-source files. They come from somewhere else. Maybe modifying them under tmp does not automatically cause the build to see the change. Or I have modified the wrong copy of the file. Or I selected the wrong target to build. I did "bitbake core-image-minimal" thinking that would be good.&lt;/P&gt;&lt;P&gt;IDK whether this is a general yocto issue or something particular to the IMX yocto build. FYI Yocto makes little sense to me in general.&lt;/P&gt;&lt;P&gt;How do I get the yocto build to build changes to the device tree?&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 16:19:41 GMT</pubDate>
    <dc:creator>chillinwithscb</dc:creator>
    <dc:date>2025-02-13T16:19:41Z</dc:date>
    <item>
      <title>How to build device tree changes?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-build-device-tree-changes/m-p/2043579#M233980</link>
      <description>&lt;P&gt;IMX8M Nano&lt;/P&gt;&lt;P&gt;Yocto build setup from NXP&lt;/P&gt;&lt;P&gt;I want to build a modified device tree for the imx8m nano.&amp;nbsp;I understand the syntax of device tree source files (.dts, dtsi), but I don't know how to get the yocto build to update the DTB: imx8mn-evk.dtb.&lt;/P&gt;&lt;P&gt;I modified&amp;nbsp;imx8mn-evk.dts and built, but my changes do not seem to affect the build. As a test I simply typed garbage into the file and even renamed the file. I expected the build to fail, but no it doesn't. Thing is there's many copies of this file in my build tree. I picked the one under&amp;nbsp;nano/tmp/work-shared/imx8mn-lpddr4-evk/kernel-source/arch/arm64/boot/dts/freescale/ where nano is my build dir. I realize that the files under tmp are only quasi-source files. They come from somewhere else. Maybe modifying them under tmp does not automatically cause the build to see the change. Or I have modified the wrong copy of the file. Or I selected the wrong target to build. I did "bitbake core-image-minimal" thinking that would be good.&lt;/P&gt;&lt;P&gt;IDK whether this is a general yocto issue or something particular to the IMX yocto build. FYI Yocto makes little sense to me in general.&lt;/P&gt;&lt;P&gt;How do I get the yocto build to build changes to the device tree?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 16:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-build-device-tree-changes/m-p/2043579#M233980</guid>
      <dc:creator>chillinwithscb</dc:creator>
      <dc:date>2025-02-13T16:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to build device tree changes?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-build-device-tree-changes/m-p/2043712#M233989</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/228561"&gt;@chillinwithscb&lt;/a&gt;!&lt;BR /&gt;Thank you for contacting NXP Support!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You can follow the next posts to solve the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-compile-Linux-Kernel-Image-and-device-tree-using-Yocto/ta-p/2022759" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-compile-Linux-Kernel-Image-and-device-tree-using-Yocto/ta-p/2022759&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Devshell-to-compile-device-tree-files/ta-p/1727428" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-Devshell-to-compile-device-tree-files/ta-p/1727428&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 18:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-build-device-tree-changes/m-p/2043712#M233989</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-02-13T18:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to build device tree changes?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-build-device-tree-changes/m-p/2044771#M234037</link>
      <description>&lt;P&gt;The info in the link&amp;nbsp;How-to-compile-Linux-Kernel-Image-and-device-tree-using-Yocto is good. I actually had already found that info in NXP docs. But it's spread across two docs. The linked article is a more concise and direct description of the steps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That said, it was not clear to me from the NXP docs or the article _why_ I'd want to use a standalone build or why it so very complicated to setup. But, I see the value of the standalone build now. And I was able to build an updated DTB.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 19:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-build-device-tree-changes/m-p/2044771#M234037</guid>
      <dc:creator>chillinwithscb</dc:creator>
      <dc:date>2025-02-14T19:52:20Z</dc:date>
    </item>
  </channel>
</rss>

