<?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のトピックRe: Dynamically load device tree before U-Boot loads</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1851030#M222787</link>
    <description>&lt;P&gt;That's what I was expecting. Thanks for verifying.&lt;/P&gt;</description>
    <pubDate>Sun, 21 Apr 2024 20:14:46 GMT</pubDate>
    <dc:creator>TechTreeSelector</dc:creator>
    <dc:date>2024-04-21T20:14:46Z</dc:date>
    <item>
      <title>Dynamically load device tree before U-Boot loads</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1850204#M222720</link>
      <description>&lt;P&gt;I've been tasked with dynamically selecting a device tree for U-Boot during factory testing. We test various product variants based on NXP i.MX8x, each with different GPIO and peripherals. The PCB variant isn't known to the processor but I need to select the correct device tree &lt;EM&gt;before&lt;/EM&gt; U-Boot loads.&lt;/P&gt;&lt;P&gt;I have 3 device tree variants:&lt;/P&gt;&lt;P&gt;1. Base variant for general product startup and Linux boot.&lt;BR /&gt;2. Factory tests: variant 1 (inherits from DTS 1).&lt;BR /&gt;3. Factory tests: variant 2 (also inherits from DTS 1).&lt;/P&gt;&lt;P&gt;I've looked for ways to dynamically choose the device tree for U-Boot but found only methods for Linux (fdt_file/fdt_config). U-Boot's device tree seems fixed in the binary.&lt;/P&gt;&lt;P&gt;Ideas to solve this, listed by preference:&lt;/P&gt;&lt;P&gt;1. Use 8 dipswitches on all PCBs to determine the correct device tree and boot to U-Boot console.&lt;BR /&gt;2. Select the device tree manually in the U-Boot console then reload the U-Boot console with the new device tree selected.&lt;BR /&gt;3. Use UUU to load the correct dtb file during testing.&lt;/P&gt;&lt;P&gt;We use NXP's AHAB Secure boot, maybe I'm overlooking something and can load the correct device tree for U-Boot somewhere in AHAB?&lt;/P&gt;&lt;P&gt;Thanks for any help,&lt;BR /&gt;Taylor&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 21:45:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1850204#M222720</guid>
      <dc:creator>TechTreeSelector</dc:creator>
      <dc:date>2024-04-18T21:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically load device tree before U-Boot loads</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1850465#M222738</link>
      <description>&lt;P&gt;Our default BSP doesn't support the operations and d&lt;SPAN&gt;efault image is uboot and kernel that are packaged in a CONTAINER.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harvey&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 07:34:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1850465#M222738</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2024-04-19T07:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically load device tree before U-Boot loads</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1850761#M222755</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf-5.15.71-2.2.2/doc/README.multi-dtb-fit" target="_blank"&gt;https://github.com/nxp-imx/uboot-imx/blob/lf-5.15.71-2.2.2/doc/README.multi-dtb-fit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf-5.15.71-2.2.2/dts/Kconfig" target="_blank"&gt;https://github.com/nxp-imx/uboot-imx/blob/lf-5.15.71-2.2.2/dts/Kconfig&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 13:40:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1850761#M222755</guid>
      <dc:creator>roke</dc:creator>
      <dc:date>2024-04-19T13:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically load device tree before U-Boot loads</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1851030#M222787</link>
      <description>&lt;P&gt;That's what I was expecting. Thanks for verifying.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 20:14:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1851030#M222787</guid>
      <dc:creator>TechTreeSelector</dc:creator>
      <dc:date>2024-04-21T20:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically load device tree before U-Boot loads</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1851032#M222788</link>
      <description>&lt;P&gt;These are very interesting and will probably be very helpful if we get time to revisit this in the future. I've bookmarked both links. Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 20:17:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Dynamically-load-device-tree-before-U-Boot-loads/m-p/1851032#M222788</guid>
      <dc:creator>TechTreeSelector</dc:creator>
      <dc:date>2024-04-21T20:17:10Z</dc:date>
    </item>
  </channel>
</rss>

