<?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: CPU1: failed to come online</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1577986#M199606</link>
    <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209463"&gt;@Chenyi_Luo&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;FONT color="#000000"&gt;BL32_BASE value can be calculated as below for i.MX8QXP:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;FONT face="arial, sans-serif"&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;BL32_BASE = DRAM_BASE&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#000000"&gt; - 0x02000000 + &lt;/FONT&gt;&lt;FONT color="#000000"&gt;DDR_SIZE&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For 1 GB DRAM BL32_BASE can be configured to 0xBE000000.&lt;/DIV&gt;
&lt;DIV&gt;Please change the value of&amp;nbsp;BL32_BASE and&amp;nbsp;TEE_LOAD_ADDR to&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0xBE000000.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please make sure that you have updated the DDR configuration in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SCFW&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;using&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/1121519" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/1121519&amp;amp;source=gmail&amp;amp;ust=1673007351245000&amp;amp;usg=AOvVaw3JEthaQMQ25eRb-bqYnVEL"&gt;i.MX 8/8X Family DDR Tools&lt;/A&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2023 12:31:46 GMT</pubDate>
    <dc:creator>Dhruvit</dc:creator>
    <dc:date>2023-01-05T12:31:46Z</dc:date>
    <item>
      <title>CPU1: failed to come online</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1575821#M199348</link>
      <description>&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;I meet a problem during the imx8qxp processor start up, the CPU1,2,3 fail to come online.&lt;/P&gt;&lt;P&gt;I use the imx-yocto-L5.4.24_2.1.0 version.&lt;/P&gt;&lt;P&gt;Is the problem related to the configuration of scfw?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2022 10:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1575821#M199348</guid>
      <dc:creator>Chenyi_Luo</dc:creator>
      <dc:date>2022-12-30T10:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: CPU1: failed to come online</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1576404#M199407</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209463"&gt;@Chenyi_Luo&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;From the boot logs, it is found that you are using 1 GB DRAM.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;1. Please make sure that you have followed the steps mentioned in&amp;nbsp;&lt;STRONG&gt;5.7 Adding OP-TEE support for a new board&amp;nbsp;&lt;/STRONG&gt;of&amp;nbsp;i.MX Porting Guide and have set the correct value for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;CFG_DDR_SIZE&lt;/STRONG&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;2. Please consider the below change in&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/plat/imx/imx8qx/&lt;A href="http://platform.mk/" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=http://platform.mk&amp;amp;source=gmail&amp;amp;ust=1672817539523000&amp;amp;usg=AOvVaw1K_kohZZT3_f-iYUhm68Px"&gt;platform.mk&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;in imx-atf&amp;nbsp; ( As existing value&amp;nbsp;&lt;SPAN&gt;0xfe000000 will overwrite 1 GB limit (0xC0000000)&lt;/SPAN&gt;)&lt;/DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="c"&gt;      ifeq (${PLAT},imx8dx)
      BL32_BASE ?= 0x96000000
      else
     BL32_BASE ?= 0x96000000
     endif
&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;3. Also make a similar change&amp;nbsp;at&amp;nbsp;/iMX8QX/soc.mak at imx-boot as below:&amp;nbsp;&lt;/DIV&gt;
&lt;LI-CODE lang="c"&gt;       ifeq ($(SOC),iMX8DX)
       TEE_LOAD_ADDR ?= 0x96000000
       else ifeq ($(SOC),iMX8QX)
       TEE_LOAD_ADDR ?=  0x96000000
       endif&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 07:54:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1576404#M199407</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-01-03T07:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: CPU1: failed to come online</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1576597#M199433</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201299"&gt;@Dhruvit&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;Yes, we are using 1GB DDR now.&lt;/P&gt;&lt;P&gt;According to your reply, I adjusted the configuration of the memory size:&lt;/P&gt;&lt;P&gt;1.imx-atf/plat/imx/imx8qx/platform.mk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;ifeq (${PLAT},imx8dx)
BL32_BASE              ?=      0x96000000
else
BL32_BASE              ?=      0x96000000
endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2.imx-mkimage/iMX8QX/soc.mak&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ifeq ($(SOC),iMX8DX)
TEE_LOAD_ADDR ?= 0x96000000
else ifeq ($(SOC),iMX8QX)
TEE_LOAD_ADDR ?= 0x96000000
endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.optee-os/core/arch/arm/plat-imx/conf.mk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; ifneq (,$(filter $(PLATFORM_FLAVOR),mx8qxpmek mx8qmmek))
 CFG_DDR_SIZE ?= 0x40000000
 CFG_UART_BASE ?= UART0_BASE
 endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, we also have some configuration about memory before:&lt;/P&gt;&lt;P&gt;4.uboot/include/configs/imx8qxp_mek.h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#ifdef CONFIG_TARGET_IMX8DX_MEK
#define PHYS_SDRAM_1_SIZE       0x40000000  /* 1 GB */
#define PHYS_SDRAM_2_SIZE       0x00000000  /* 0 GB */
#else
    #if 0
    #define PHYS_SDRAM_1_SIZE       0x80000000  /* 2 GB */
    /* LPDDR4 board total DDR is 3GB */
    #define PHYS_SDRAM_2_SIZE       0x40000000  /* 1 GB */
    #else
    /* total DDR is 1GB */
    #define PHYS_SDRAM_1_SIZE       0x40000000  /* 1 GB */
    #define PHYS_SDRAM_2_SIZE       0x00000000  /* 0 GB */
    #endif
#endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above four changes are all of our changes to the memory size.&lt;/P&gt;&lt;P&gt;If there is only the fourth change point, then CPU startup will be abnormal(CPU1: failed to come online).&lt;/P&gt;&lt;P&gt;But if all four change points take effect, the download will be abnormal.&lt;/P&gt;&lt;P&gt;It will stack at "SDPV: jump", as the 图片.png shows.&lt;/P&gt;&lt;P&gt;The uuu script is &lt;SPAN class=""&gt;emmc.uuu.txt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Why is this? &lt;/SPAN&gt;&lt;SPAN class=""&gt;Is it because we set it up incorrectly?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 13:40:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1576597#M199433</guid>
      <dc:creator>Chenyi_Luo</dc:creator>
      <dc:date>2023-01-03T13:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: CPU1: failed to come online</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1577986#M199606</link>
      <description>&lt;P&gt;&lt;SPAN class="im"&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209463"&gt;@Chenyi_Luo&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;FONT color="#000000"&gt;BL32_BASE value can be calculated as below for i.MX8QXP:&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;FONT face="arial, sans-serif"&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;FONT color="#000000"&gt;BL32_BASE = DRAM_BASE&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#000000"&gt; - 0x02000000 + &lt;/FONT&gt;&lt;FONT color="#000000"&gt;DDR_SIZE&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For 1 GB DRAM BL32_BASE can be configured to 0xBE000000.&lt;/DIV&gt;
&lt;DIV&gt;Please change the value of&amp;nbsp;BL32_BASE and&amp;nbsp;TEE_LOAD_ADDR to&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0xBE000000.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Please make sure that you have updated the DDR configuration in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;SCFW&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;using&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/1121519" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/1121519&amp;amp;source=gmail&amp;amp;ust=1673007351245000&amp;amp;usg=AOvVaw3JEthaQMQ25eRb-bqYnVEL"&gt;i.MX 8/8X Family DDR Tools&lt;/A&gt;.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;/DIV&gt;
&lt;DIV&gt;Dhruvit Vasavada&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 12:31:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1577986#M199606</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-01-05T12:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: CPU1: failed to come online</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1579861#M199817</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We change the size of memory to 0xBE000000.&lt;/P&gt;&lt;P&gt;Now CPU can start normally.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 07:49:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1579861#M199817</guid>
      <dc:creator>Chenyi_Luo</dc:creator>
      <dc:date>2023-01-10T07:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: CPU1: failed to come online</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1580128#M199850</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209463"&gt;@Chenyi_Luo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can I mark this case to close state?&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Dhruvit Vasavada&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 14:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1580128#M199850</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-01-10T14:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: CPU1: failed to come online</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1580398#M199875</link>
      <description>&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;Sure.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 01:24:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/CPU1-failed-to-come-online/m-p/1580398#M199875</guid>
      <dc:creator>Chenyi_Luo</dc:creator>
      <dc:date>2023-01-11T01:24:59Z</dc:date>
    </item>
  </channel>
</rss>

