<?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>i.MX ProcessorsのトピックHow to enable a device tree with Yocto?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-a-device-tree-with-Yocto/m-p/1733323#M213522</link>
    <description>&lt;P&gt;I'm working with Yocto and an imx evaluation board. I want to enable the &lt;EM&gt;imx93-11x11-evk-aud-hat.dtb &lt;/EM&gt;device tree to enable the aud-hat, what are the steps to do that?&lt;BR /&gt;&lt;BR /&gt;This question is really about enabling any device tree build into a dtb file other than the main board file - &lt;EM&gt;imx93-11x11-evk.dts&lt;/EM&gt;. I cannot find any information about enabling custom device trees, not even that aud hat device tree. The build .dtb files are present in &lt;EM&gt;tmp/deploy/images/imx93-11x11-evk-... &lt;/EM&gt;directory, however when the imaged is flashed on the SD card it seems to lack the dtb files, I couldn't find the &lt;EM&gt;imx93-11x11-evk-aud-hat.dtb &lt;/EM&gt;file on the running system.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 18:43:01 GMT</pubDate>
    <dc:creator>rockerr</dc:creator>
    <dc:date>2023-10-03T18:43:01Z</dc:date>
    <item>
      <title>How to enable a device tree with Yocto?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-a-device-tree-with-Yocto/m-p/1733323#M213522</link>
      <description>&lt;P&gt;I'm working with Yocto and an imx evaluation board. I want to enable the &lt;EM&gt;imx93-11x11-evk-aud-hat.dtb &lt;/EM&gt;device tree to enable the aud-hat, what are the steps to do that?&lt;BR /&gt;&lt;BR /&gt;This question is really about enabling any device tree build into a dtb file other than the main board file - &lt;EM&gt;imx93-11x11-evk.dts&lt;/EM&gt;. I cannot find any information about enabling custom device trees, not even that aud hat device tree. The build .dtb files are present in &lt;EM&gt;tmp/deploy/images/imx93-11x11-evk-... &lt;/EM&gt;directory, however when the imaged is flashed on the SD card it seems to lack the dtb files, I couldn't find the &lt;EM&gt;imx93-11x11-evk-aud-hat.dtb &lt;/EM&gt;file on the running system.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 18:43:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-a-device-tree-with-Yocto/m-p/1733323#M213522</guid>
      <dc:creator>rockerr</dc:creator>
      <dc:date>2023-10-03T18:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable a device tree with Yocto?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-a-device-tree-with-Yocto/m-p/1734569#M213631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221689"&gt;@rockerr&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you for contacting NXP Support.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;To properly list and enable a device tree from the BSP you will need to follow these steps:&lt;/P&gt;
&lt;P&gt;1. Use the following command to list interfaces&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=&amp;gt; mmc list
Output example
=&amp;gt; FSL_SDHC: 1 (SD)
=&amp;gt; FSL_SDHC: 2&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;The above command will show you the device number in this example for SD, the device number is 1&lt;BR /&gt;2. Then use fatls &amp;lt;interface&amp;gt; &amp;lt;device[:partition]&amp;gt; [&amp;lt;directory&amp;gt;]&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;fatls mmc 1:1
(Device 1 : Partition 1)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;With this command, we will be able to list device tree files.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=&amp;gt; fatls mmc 1:1&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;3. Select your device tree and use the command editenv fdtfile&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=&amp;gt; editenv fdtfile 
Output example
edit: imx8mp-evk-basler.dtb&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;4. In edit command line put the selected device tree .dtb&lt;BR /&gt;5. Use saveenv command to save environment and continue with the boot process.&lt;/P&gt;
&lt;P&gt;I hope this information will be helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 04:52:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-a-device-tree-with-Yocto/m-p/1734569#M213631</guid>
      <dc:creator>brian14</dc:creator>
      <dc:date>2023-10-06T04:52:37Z</dc:date>
    </item>
  </channel>
</rss>

