<?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 iMX8M custom board u-boot boot issues in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-custom-board-u-boot-boot-issues/m-p/1075506#M157882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have custom imx8m based board, with 4GB LPDDR. U-Boot with 4GB LPDDR configuration boots successfullly if i build the u-boot manually by following steps mentioned in&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-345535"&gt;Manually build Boot binary for i.MX8M Mini &lt;/A&gt;&amp;nbsp; but if i build the same with yocto u-boot fails to boot .&amp;nbsp;&lt;/P&gt;&lt;P&gt;During bootup invalid RAM size and RAM top are shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failure Log:&lt;/P&gt;&lt;P&gt;==================================================&lt;/P&gt;&lt;P&gt;U-Boot 2018.03-4.14.98-2.3.0+g5b0b974fc2 (Jul 22 2020 - 07:09:44 +0000)&lt;/P&gt;&lt;P&gt;U-Boot code: 40200000 -&amp;gt; 402A0260 BSS: -&amp;gt; 402E2880&lt;BR /&gt;CPU: Freescale i.MX8MMQL rev1.0 1600 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Industrial temperature grade (-40C to 105C) at 40C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: FSL i.MX8MM Zebra XS10 board&lt;BR /&gt;DRAM: Monitor len: 000E2880&lt;BR /&gt;Ram size: FE000000&lt;BR /&gt;Ram top: FE000000&lt;BR /&gt;TLB table from fdff0000 to fe000000&lt;BR /&gt;Reserving 906k for U-Boot at: fdf0d000&lt;BR /&gt;Reserving 542720k for malloc() at: dcd0d000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logs where boot is success with out yocto build&lt;/P&gt;&lt;P&gt;======================================================&lt;/P&gt;&lt;P&gt;U-Boot 2018.03-gcb5d2882d2-dirty (Jul 22 2020 - 13:00:10 +0530)&lt;/P&gt;&lt;P&gt;U-Boot code: 40200000 -&amp;gt; 4029E338 BSS: -&amp;gt; 402E0080&lt;BR /&gt;CPU: Freescale i.MX8MMQL rev1.0 1600 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Industrial temperature grade (-40C to 105C) at 37C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: FSL i.MX8MM Zebra XS10 board&lt;BR /&gt;DRAM: Monitor len: 000E0080&lt;BR /&gt;Ram size: 100000000&lt;BR /&gt;Ram top: 100000000&lt;BR /&gt;TLB table from ffff0000 to 100000000&lt;BR /&gt;Reserving 896k for U-Boot at: fff0f000&lt;BR /&gt;Reserving 542720k for malloc() at: ded0f000&lt;BR /&gt;Reserving 168 Bytes for Board Info at: ded0ef58&lt;BR /&gt;Reserving 456 Bytes for Global Data at: ded0ed90&lt;BR /&gt;Reserving 30656 Bytes for FDT at: ded075d0&lt;/P&gt;&lt;P&gt;RAM Configuration:&lt;BR /&gt;Bank #0: 40000000 3 GiB&lt;BR /&gt;Bank #1: 100000000 1 GiB&lt;/P&gt;&lt;P&gt;DRAM: 4 GiB&lt;BR /&gt;New Stack Pointer is: ded075c0&lt;BR /&gt;Relocation Offset is: bfd0f000&lt;BR /&gt;Relocating to fff0f000, new gd at ded0ed90, sp at ded075c0&lt;BR /&gt;Pre-reloc malloc() used 0x2e8 bytes (0 KB)&lt;BR /&gt;Now running in RAM - U-Boot at: fff0f000&lt;BR /&gt;MMC: FSL_SDHC: 0, FSL_SDHC: 1&lt;BR /&gt;Loading Environment from MMC... OK&lt;BR /&gt;No panel detected: default to MIPI2HDMI&lt;BR /&gt;adv7535_init: Can't find device id=0x3d, on bus 1&lt;BR /&gt;Display: MIPI2HDMI (1920x1080)&lt;BR /&gt;Video: 1920x1080x24&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================================&lt;/P&gt;&lt;P&gt;Changes to enable 4GB RAM&amp;nbsp;&lt;/P&gt;&lt;P&gt;imx8mm_alpha.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@@ -14,7 +14,7 @@&lt;/P&gt;&lt;P&gt;#define UBOOT_ACTIVE_NUM 1&lt;BR /&gt; #define UBOOT_LAST_NUM 2&lt;BR /&gt;-&lt;BR /&gt;+&lt;BR /&gt; #define PLATFORM_PARTITION 7&lt;BR /&gt; #define PLATFORM_PARTITION_LAST 8&lt;BR /&gt; #define BOOTABLECONFIG_DEFAULT_VALUE 1&lt;BR /&gt;@@ -308,8 +308,10 @@&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_SDRAM_BASE 0x40000000&lt;BR /&gt; #define PHYS_SDRAM 0x40000000&lt;BR /&gt;-#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */&lt;BR /&gt;-#define CONFIG_NR_DRAM_BANKS 1&lt;BR /&gt;+#define PHYS_SDRAM_SIZE 0xC0000000 /* 3GB */&lt;BR /&gt;+#define PHYS_SDRAM_2 0x100000000&lt;BR /&gt;+#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1GB */&lt;BR /&gt;+#define CONFIG_NR_DRAM_BANKS 2&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_MEMTEST_START PHYS_SDRAM&lt;BR /&gt; #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_SIZE &amp;gt;&amp;gt; 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=================================&lt;/P&gt;&lt;P&gt;--- a/arch/arm/dts/fsl-imx8mm.dtsi&lt;BR /&gt;+++ b/arch/arm/dts/fsl-imx8mm.dtsi&lt;BR /&gt;@@ -63,7 +63,7 @@&lt;/P&gt;&lt;P&gt;memory@40000000 {&lt;BR /&gt; device_type = "memory";&lt;BR /&gt;- reg = &amp;lt;0x0 0x40000000 0 0x80000000&amp;gt;;&lt;BR /&gt;+ reg = &amp;lt;0x00000000 0x40000000 0 0xc0000000&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;====================================&lt;/P&gt;&lt;P&gt;Please let me know is above changes are correct ? and why u-boot does not boot if built with yocto&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jul 2020 07:40:20 GMT</pubDate>
    <dc:creator>girishprasadgm</dc:creator>
    <dc:date>2020-07-22T07:40:20Z</dc:date>
    <item>
      <title>iMX8M custom board u-boot boot issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-custom-board-u-boot-boot-issues/m-p/1075506#M157882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have custom imx8m based board, with 4GB LPDDR. U-Boot with 4GB LPDDR configuration boots successfullly if i build the u-boot manually by following steps mentioned in&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-345535"&gt;Manually build Boot binary for i.MX8M Mini &lt;/A&gt;&amp;nbsp; but if i build the same with yocto u-boot fails to boot .&amp;nbsp;&lt;/P&gt;&lt;P&gt;During bootup invalid RAM size and RAM top are shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failure Log:&lt;/P&gt;&lt;P&gt;==================================================&lt;/P&gt;&lt;P&gt;U-Boot 2018.03-4.14.98-2.3.0+g5b0b974fc2 (Jul 22 2020 - 07:09:44 +0000)&lt;/P&gt;&lt;P&gt;U-Boot code: 40200000 -&amp;gt; 402A0260 BSS: -&amp;gt; 402E2880&lt;BR /&gt;CPU: Freescale i.MX8MMQL rev1.0 1600 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Industrial temperature grade (-40C to 105C) at 40C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: FSL i.MX8MM Zebra XS10 board&lt;BR /&gt;DRAM: Monitor len: 000E2880&lt;BR /&gt;Ram size: FE000000&lt;BR /&gt;Ram top: FE000000&lt;BR /&gt;TLB table from fdff0000 to fe000000&lt;BR /&gt;Reserving 906k for U-Boot at: fdf0d000&lt;BR /&gt;Reserving 542720k for malloc() at: dcd0d000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logs where boot is success with out yocto build&lt;/P&gt;&lt;P&gt;======================================================&lt;/P&gt;&lt;P&gt;U-Boot 2018.03-gcb5d2882d2-dirty (Jul 22 2020 - 13:00:10 +0530)&lt;/P&gt;&lt;P&gt;U-Boot code: 40200000 -&amp;gt; 4029E338 BSS: -&amp;gt; 402E0080&lt;BR /&gt;CPU: Freescale i.MX8MMQL rev1.0 1600 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Industrial temperature grade (-40C to 105C) at 37C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: FSL i.MX8MM Zebra XS10 board&lt;BR /&gt;DRAM: Monitor len: 000E0080&lt;BR /&gt;Ram size: 100000000&lt;BR /&gt;Ram top: 100000000&lt;BR /&gt;TLB table from ffff0000 to 100000000&lt;BR /&gt;Reserving 896k for U-Boot at: fff0f000&lt;BR /&gt;Reserving 542720k for malloc() at: ded0f000&lt;BR /&gt;Reserving 168 Bytes for Board Info at: ded0ef58&lt;BR /&gt;Reserving 456 Bytes for Global Data at: ded0ed90&lt;BR /&gt;Reserving 30656 Bytes for FDT at: ded075d0&lt;/P&gt;&lt;P&gt;RAM Configuration:&lt;BR /&gt;Bank #0: 40000000 3 GiB&lt;BR /&gt;Bank #1: 100000000 1 GiB&lt;/P&gt;&lt;P&gt;DRAM: 4 GiB&lt;BR /&gt;New Stack Pointer is: ded075c0&lt;BR /&gt;Relocation Offset is: bfd0f000&lt;BR /&gt;Relocating to fff0f000, new gd at ded0ed90, sp at ded075c0&lt;BR /&gt;Pre-reloc malloc() used 0x2e8 bytes (0 KB)&lt;BR /&gt;Now running in RAM - U-Boot at: fff0f000&lt;BR /&gt;MMC: FSL_SDHC: 0, FSL_SDHC: 1&lt;BR /&gt;Loading Environment from MMC... OK&lt;BR /&gt;No panel detected: default to MIPI2HDMI&lt;BR /&gt;adv7535_init: Can't find device id=0x3d, on bus 1&lt;BR /&gt;Display: MIPI2HDMI (1920x1080)&lt;BR /&gt;Video: 1920x1080x24&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;============================================&lt;/P&gt;&lt;P&gt;Changes to enable 4GB RAM&amp;nbsp;&lt;/P&gt;&lt;P&gt;imx8mm_alpha.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@@ -14,7 +14,7 @@&lt;/P&gt;&lt;P&gt;#define UBOOT_ACTIVE_NUM 1&lt;BR /&gt; #define UBOOT_LAST_NUM 2&lt;BR /&gt;-&lt;BR /&gt;+&lt;BR /&gt; #define PLATFORM_PARTITION 7&lt;BR /&gt; #define PLATFORM_PARTITION_LAST 8&lt;BR /&gt; #define BOOTABLECONFIG_DEFAULT_VALUE 1&lt;BR /&gt;@@ -308,8 +308,10 @@&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_SDRAM_BASE 0x40000000&lt;BR /&gt; #define PHYS_SDRAM 0x40000000&lt;BR /&gt;-#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */&lt;BR /&gt;-#define CONFIG_NR_DRAM_BANKS 1&lt;BR /&gt;+#define PHYS_SDRAM_SIZE 0xC0000000 /* 3GB */&lt;BR /&gt;+#define PHYS_SDRAM_2 0x100000000&lt;BR /&gt;+#define PHYS_SDRAM_2_SIZE 0x40000000 /* 1GB */&lt;BR /&gt;+#define CONFIG_NR_DRAM_BANKS 2&lt;/P&gt;&lt;P&gt;#define CONFIG_SYS_MEMTEST_START PHYS_SDRAM&lt;BR /&gt; #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + (PHYS_SDRAM_SIZE &amp;gt;&amp;gt; 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=================================&lt;/P&gt;&lt;P&gt;--- a/arch/arm/dts/fsl-imx8mm.dtsi&lt;BR /&gt;+++ b/arch/arm/dts/fsl-imx8mm.dtsi&lt;BR /&gt;@@ -63,7 +63,7 @@&lt;/P&gt;&lt;P&gt;memory@40000000 {&lt;BR /&gt; device_type = "memory";&lt;BR /&gt;- reg = &amp;lt;0x0 0x40000000 0 0x80000000&amp;gt;;&lt;BR /&gt;+ reg = &amp;lt;0x00000000 0x40000000 0 0xc0000000&amp;gt;;&lt;BR /&gt; };&lt;/P&gt;&lt;P&gt;====================================&lt;/P&gt;&lt;P&gt;Please let me know is above changes are correct ? and why u-boot does not boot if built with yocto&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 07:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-custom-board-u-boot-boot-issues/m-p/1075506#M157882</guid>
      <dc:creator>girishprasadgm</dc:creator>
      <dc:date>2020-07-22T07:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M custom board u-boot boot issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-custom-board-u-boot-boot-issues/m-p/1075507#M157883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Girish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to build using nxp document&amp;nbsp;&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf" style="color: #215bd6; background-color: transparent; text-decoration: none;"&gt;i.MX Yocto Project User’s Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&amp;nbsp;linux from nxp&amp;nbsp; source.codeaurora.org/external/imx/linux-imx repository&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.24_2.1.0" target="test_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_5.4.24_2.1.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2020 23:36:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-custom-board-u-boot-boot-issues/m-p/1075507#M157883</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-07-22T23:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M custom board u-boot boot issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-custom-board-u-boot-boot-issues/m-p/1075508#M157884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor&lt;/P&gt;&lt;P&gt;Thanks a lot fot your answer.. I have already followed the yocto project user guide and still have same issue.. while browsing through got a thread&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/thread/528623" style="color: #2989c5; text-decoration: none;" title="https://community.nxp.com/thread/528623"&gt;https://community.nxp.com/thread/528623&lt;/A&gt;&amp;nbsp; says that op-tee can't&amp;nbsp; detect ram size more than 3GB in u-boot.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since yocto build includes optee i&amp;nbsp; am having issue in booting board. Can you please guide how to enable 4GB ram in imx8m mini based board along with op-tee enabled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i disable op-tee in yocto build, i able to boot the device with 4GB ram configuration with above mentioned changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2020 15:39:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-custom-board-u-boot-boot-issues/m-p/1075508#M157884</guid>
      <dc:creator>girishprasadgm</dc:creator>
      <dc:date>2020-07-23T15:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M custom board u-boot boot issues</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-custom-board-u-boot-boot-issues/m-p/1075509#M157885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Girish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for op-tee one can try attached patches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jul 2020 01:09:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-custom-board-u-boot-boot-issues/m-p/1075509#M157885</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-07-24T01:09:42Z</dc:date>
    </item>
  </channel>
</rss>

