<?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: MFG tool linux kernel not getting fdt address from uboot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MFG-tool-linux-kernel-not-getting-fdt-address-from-uboot/m-p/1259604#M172345</link>
    <description>&lt;P&gt;Hi Di&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for "scm" modules one can look at source.codeaurora.org/external/imx/linux-imx repository :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=scm-imx_4.1.15_2.0.0_ga" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=scm-imx_4.1.15_2.0.0_ga&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 Apr 2021 10:10:02 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-04-09T10:10:02Z</dc:date>
    <item>
      <title>MFG tool linux kernel not getting fdt address from uboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MFG-tool-linux-kernel-not-getting-fdt-address-from-uboot/m-p/1259493#M172330</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have built mfg tool firmware under Yocto for our custom board with&amp;nbsp;imx-3.14.52-1.1.0_ga,&amp;nbsp;&amp;nbsp;our reference board is scm imx6dl but it is no longer supported with Yocto, I had to port the configuration over.&lt;/P&gt;&lt;P&gt;Now it gets stuck at "starting kernel" during MFG flash, with further debugging with early_print, I can see that the in /arch/arm/kernel/setup.c, in function setup_arch, the&amp;nbsp;__atags_pointer which supposed to have the fdt address passed from uboot, is actually 0. But I debugged in the uboot, it actually passed the correct fdt address to r2 when transferring control to kernel.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="disheng_1-1617955856305.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141831i4F1A2CC39D74B8EF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="disheng_1-1617955856305.png" alt="disheng_1-1617955856305.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From the log, the kernel went to&amp;nbsp;setup_machine_tags because&amp;nbsp;setup_machine_fdt not succesful, because&amp;nbsp;__atags_pointer is 0.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Di&lt;/P&gt;</description>
      <pubDate>Fri, 09 Apr 2021 08:14:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MFG-tool-linux-kernel-not-getting-fdt-address-from-uboot/m-p/1259493#M172330</guid>
      <dc:creator>disheng</dc:creator>
      <dc:date>2021-04-09T08:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: MFG tool linux kernel not getting fdt address from uboot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MFG-tool-linux-kernel-not-getting-fdt-address-from-uboot/m-p/1259604#M172345</link>
      <description>&lt;P&gt;Hi Di&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for "scm" modules one can look at source.codeaurora.org/external/imx/linux-imx repository :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=scm-imx_4.1.15_2.0.0_ga" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=scm-imx_4.1.15_2.0.0_ga&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 Apr 2021 10:10:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MFG-tool-linux-kernel-not-getting-fdt-address-from-uboot/m-p/1259604#M172345</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-04-09T10:10:02Z</dc:date>
    </item>
  </channel>
</rss>

