<?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: CONFIG_STATIC_DDR definition breaking ATF compilation on LS1028ARDB in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2181974#M16175</link>
    <description>&lt;P&gt;Please follow the recommendation in the following post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Layerscape/how-to-config-DDR-init-in-BL2/m-p/1544952" target="_blank"&gt;https://community.nxp.com/t5/Layerscape/how-to-config-DDR-init-in-BL2/m-p/1544952&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Oct 2025 15:57:48 GMT</pubDate>
    <dc:creator>Oswalag</dc:creator>
    <dc:date>2025-10-08T15:57:48Z</dc:date>
    <item>
      <title>CONFIG_STATIC_DDR definition breaking ATF compilation on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2171209#M16109</link>
      <description>&lt;P&gt;I am trying to bring up a custom board based on LS1028ARDB.&lt;/P&gt;&lt;P&gt;Our DDR configuration is different since we use two DDR chips without an SDP EEPROM, instead of four chips and SPD as in LS1028RDB.&lt;/P&gt;&lt;P&gt;So we would like to use a static DDR configuration.&lt;/P&gt;&lt;P&gt;I have followed the documentation and I have defined CONFIG_STATIC_DDR in platform_def.h&lt;/P&gt;&lt;P&gt;But doing this breaks the compilation!&lt;/P&gt;&lt;P&gt;I have a clean Yocto installation by using the following steps:&lt;/P&gt;&lt;P&gt;repo init -u &lt;A href="https://github.com/nxp-qoriq/yocto-sdk" target="_blank"&gt;https://github.com/nxp-qoriq/yocto-sdk&lt;/A&gt; -b scarthgap&lt;/P&gt;&lt;P&gt;repo_sync&lt;/P&gt;&lt;P&gt;./-setup-env -m ls1028ardb&lt;/P&gt;&lt;P&gt;source build_ls1028ardb&lt;/P&gt;&lt;P&gt;bitbake qoriq-atf&lt;/P&gt;&lt;P&gt;## Hack code to insert #define CONFIG_STATIC_DDR in&amp;nbsp;build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/qoriq-atf/2.10+/git/plat/nxp/soc-ls1028a/ls1028ardb/platform_def.h&lt;BR /&gt;&lt;BR /&gt;bitbake -c compile -f qoriq-atf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compilation errors.....&lt;/P&gt;&lt;P&gt;I have seen many posts regarding static DDR configuration, so I wonder what could be wrong in my case by starting from a new and clean yocto installation.&lt;/P&gt;&lt;P&gt;I hope it is a trivial issue.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 15:19:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2171209#M16109</guid>
      <dc:creator>lukipedio</dc:creator>
      <dc:date>2025-09-17T15:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: CONFIG_STATIC_DDR definition breaking ATF compilation on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2171886#M16111</link>
      <description>&amp;nbsp;I have first compiles without any modification to the default ddr_init.c implementation.&lt;BR /&gt;&lt;BR /&gt;First error comes from board_static_ddr() definition:&lt;BR /&gt;I need to change from:&lt;BR /&gt;unsigned long long board_static_ddr(struct ddr_info *priv)&lt;BR /&gt;to&lt;BR /&gt;long long board_static_ddr(struct ddr_info *priv)&lt;BR /&gt;&lt;BR /&gt;Then linker complains about not finding&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;ddr_get_ddr_params and&amp;nbsp;&lt;BR /&gt;ddr_board_options.&lt;BR /&gt;&lt;BR /&gt;Looking into code, I see those functions are still called when CONFIG_STATIC_DDR is defined.&lt;BR /&gt;Some call could be skipped by nondefining CONFIG_DDR_NODIMM&lt;BR /&gt;but even by nondefining it, the same errors appear.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Sep 2025 09:39:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2171886#M16111</guid>
      <dc:creator>lukipedio</dc:creator>
      <dc:date>2025-09-18T09:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: CONFIG_STATIC_DDR definition breaking ATF compilation on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2172103#M16114</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;Please confirm that you don't have any issue when compiling before your modifications, after that please share the file with the exact changes made between the first one and the custom one. Then, please share in a .txt file and screenshot of the issue when building.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 15:01:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2172103#M16114</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2025-09-18T15:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: CONFIG_STATIC_DDR definition breaking ATF compilation on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2172123#M16115</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199933"&gt;@Oswalag&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I can confirm I have no issue compiling before modification.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Then only add CONFIG_STATIC_DDR constant definition in the suggested platform_def.h file.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I edit the platform_def.h file into&amp;nbsp;build_ls1028ardb/tmp/work/ls1028ardb-fsl-linux/qoriq-atf/2.10+/git/plat/nxp/soc-ls1028a/ls1028ardb&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;Then I force an ATF compilation:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;bitbake -c compile -f qoriq-atf&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; and I got a compilation error.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 15:30:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2172123#M16115</guid>
      <dc:creator>lukipedio</dc:creator>
      <dc:date>2025-09-18T15:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: CONFIG_STATIC_DDR definition breaking ATF compilation on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2175904#M16128</link>
      <description>&lt;P&gt;Anyone replicated this issue.&lt;/P&gt;&lt;P&gt;I am really stuck since hacking code by writing DDR registsres only withiout all the support from the NXP ddr driver is quite error-prone.&lt;/P&gt;&lt;P&gt;For example, I am setting all DDR registers right, but then IU-boot reports an incorrect RAM size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2025 14:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2175904#M16128</guid>
      <dc:creator>lukipedio</dc:creator>
      <dc:date>2025-09-25T14:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: CONFIG_STATIC_DDR definition breaking ATF compilation on LS1028ARDB</title>
      <link>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2181974#M16175</link>
      <description>&lt;P&gt;Please follow the recommendation in the following post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Layerscape/how-to-config-DDR-init-in-BL2/m-p/1544952" target="_blank"&gt;https://community.nxp.com/t5/Layerscape/how-to-config-DDR-init-in-BL2/m-p/1544952&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Oct 2025 15:57:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/CONFIG-STATIC-DDR-definition-breaking-ATF-compilation-on/m-p/2181974#M16175</guid>
      <dc:creator>Oswalag</dc:creator>
      <dc:date>2025-10-08T15:57:48Z</dc:date>
    </item>
  </channel>
</rss>

