<?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: Configuring UBOOT for imx8mm using BD7184 PMIC in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-UBOOT-for-imx8mm-using-BD7184-PMIC/m-p/1673209#M207909</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your advice, I am testing it out currently, I won't know until morning when I can make all the other adjustments once I get all the downloads. Also while getting the proper uboot set up, I was also wondering which version of linux and arm trusted firmware should be used as well? Also do the uboot-tools need to match the uboot version?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 04:10:30 GMT</pubDate>
    <dc:creator>andrewgatrost</dc:creator>
    <dc:date>2023-06-21T04:10:30Z</dc:date>
    <item>
      <title>Configuring UBOOT for imx8mm using BD7184 PMIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-UBOOT-for-imx8mm-using-BD7184-PMIC/m-p/1672373#M207834</link>
      <description>&lt;P&gt;I am trying to bring up a board with a BD7184 PMIC, It was unable to find it when I built it using the nxp evk for a base start with buildroot.&lt;/P&gt;&lt;P&gt;Currently I am using version uboot-imx-lf-6.1.1-1.0.0.&amp;nbsp; Is this the latest and longterm support? or should I use a different release?&lt;/P&gt;&lt;P&gt;I have attached my uboot config as well for I am having build errors as follow:&lt;BR /&gt;board/freescale/imx8mm_evk/spl.c: In function ‘board_init_f’:&lt;BR /&gt;board/freescale/imx8mm_evk/spl.c:322:9: warning: implicit declaration of function ‘power_init_board’; did you mean ‘i2c_init_board’? [-Wimplicit-function-declaration]&lt;BR /&gt;322 | power_init_board();&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;drivers/power/pmic/pmic_pca9450.c: In function ‘power_pca9450_init’:&lt;BR /&gt;drivers/power/pmic/pmic_pca9450.c:16:26: warning: implicit declaration of function ‘pmic_alloc’ [-Wimplicit-function-declaration]&lt;BR /&gt;16 | struct pmic *p = pmic_alloc();&lt;BR /&gt;| ^~~~~~~~~~&lt;BR /&gt;drivers/power/pmic/pmic_pca9450.c:16:26: warning: initialization of ‘struct pmic *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]&lt;BR /&gt;drive&lt;/P&gt;&lt;P&gt;Any help on figuring out the config or what I should do to resolve this issue would be appreciated.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 05:07:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-UBOOT-for-imx8mm-using-BD7184-PMIC/m-p/1672373#M207834</guid>
      <dc:creator>andrewgatrost</dc:creator>
      <dc:date>2023-06-20T05:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UBOOT for imx8mm using BD7184 PMIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-UBOOT-for-imx8mm-using-BD7184-PMIC/m-p/1672667#M207867</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/109332"&gt;@andrewgatrost&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;One should use u-boot-imx provided at&amp;nbsp;&lt;A href="https://github.com/nxp-imx/uboot-imx" target="_self"&gt;https://github.com/nxp-imx/uboot-imx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please remove the below options from the configuration.&lt;/P&gt;
&lt;P&gt;CONFIG_DM_PMIC_BD71837=y&lt;BR /&gt;CONFIG_DM_PMIC_PCA9450=y&lt;/P&gt;
&lt;P&gt;In the Latest rev. of imx8mm EVK&amp;nbsp;BD71837 PMIC is replaced by&amp;nbsp;PCA9450. therefore the base configuration for imx8mm evk only supports&amp;nbsp;PCA9450 in the latest u-boot.&lt;/P&gt;
&lt;P&gt;One needs to do the below change in the configuration header file(&lt;STRONG&gt;/include/configs/imx8mm_evk.h)&lt;/STRONG&gt;.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;- #if defined(CONFIG_IMX8M_LPDDR4) &amp;amp;&amp;amp; defined(CONFIG_TARGET_IMX8MM_EVK)
- #define CONFIG_POWER_PCA9450
- #else
- #define CONFIG_POWER_BD71837
- #endif
+ #define CONFIG_POWER_BD71837&lt;/LI-CODE&gt;
&lt;P&gt;Please make corresponding changes to the device tree as well. (&lt;STRONG&gt;/arch/arm/dts/imx8mm-evk.dtsi&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;Please refer to below mentioned commit for pmic node changes in dts.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/uboot-imx/commit/48ddafd9a42284457ac22d42572b88dbdb136fdd" target="_self"&gt;imx8mm_evk: Switch to new imx8mm evk board&lt;/A&gt;&lt;/P&gt;
&lt;P class="lia-align-left"&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 10:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-UBOOT-for-imx8mm-using-BD7184-PMIC/m-p/1672667#M207867</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-06-20T10:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UBOOT for imx8mm using BD7184 PMIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-UBOOT-for-imx8mm-using-BD7184-PMIC/m-p/1673209#M207909</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your advice, I am testing it out currently, I won't know until morning when I can make all the other adjustments once I get all the downloads. Also while getting the proper uboot set up, I was also wondering which version of linux and arm trusted firmware should be used as well? Also do the uboot-tools need to match the uboot version?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 04:10:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-UBOOT-for-imx8mm-using-BD7184-PMIC/m-p/1673209#M207909</guid>
      <dc:creator>andrewgatrost</dc:creator>
      <dc:date>2023-06-21T04:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring UBOOT for imx8mm using BD7184 PMIC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configuring-UBOOT-for-imx8mm-using-BD7184-PMIC/m-p/1673245#M207912</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/109332"&gt;@andrewgatrost&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;One should use the latest version of ATF and Linux as specified in&lt;A href="https://www.nxp.com/docs/en/release-note/IMX_LINUX_RELEASE_NOTES.pdf" target="_self"&gt; i.MX Linux Release notes.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Linux -&amp;gt; lf-6.1.y&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ATF -&amp;gt; lf_v2.6&lt;/P&gt;
&lt;P&gt;Please refer to&lt;STRONG&gt;&amp;nbsp;Table 5. i.MX GitHub Distributions Repos&lt;/STRONG&gt; in&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/release-note/IMX_LINUX_RELEASE_NOTES.pdf" target="_self"&gt;i.MX Linux Release notes&lt;/A&gt;&amp;nbsp;for github repos.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 05:42:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configuring-UBOOT-for-imx8mm-using-BD7184-PMIC/m-p/1673245#M207912</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-06-21T05:42:59Z</dc:date>
    </item>
  </channel>
</rss>

