<?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>Layerscape中的主题 Re: load_image()  function is stuck and cannot continue</title>
    <link>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1283293#M8094</link>
    <description>&lt;P&gt;Please refer to the following&amp;nbsp;TF-A BL2 boot flow&lt;/P&gt;
&lt;P&gt;a. BL2 initializes the DRAM, configures TZASC&lt;BR /&gt;b. BL2 loads&amp;nbsp; BL31, BL32, and BL33 images to the DDR memory after validating these images BL31, BL32, and BL33 images form FIP image, fip.bin.&lt;BR /&gt;c. Post validation of all the components of the FIP image, BL2 passes execution control to the EL3 runtime firmware image named as “BL31".&lt;/P&gt;
&lt;P&gt;Because there is problem at DDR controller initialization, so it is impossible to load&amp;nbsp;BL31, BL32, and BL33 images to the DDR memory.&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 08:40:32 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2021-05-27T08:40:32Z</dc:date>
    <item>
      <title>load_image()  function is stuck and cannot continue</title>
      <link>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1282411#M8084</link>
      <description>&lt;P&gt;my&amp;nbsp;&lt;SPAN&gt;custom board is LX2080。But it executes until the “”load_image“” function and cannot continue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What is the reason?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bl2_el3_setup 63
NOTICE:  BL2: v2.3():v2.3-LSDK-20.12-dirty
NOTICE:  BL2: Built : 16:21:49, May 26 2021
platform clock 800000000
DDR PLL1 1600000000
DDR PLL2 1600000000
frequency = 800MHz
Vref_phy = 75 percent
Initializing input adv data structure
mr[0] = 0xa34
mr[1] = 0x101
mr[2] = 0x0
mr[3] = 0x0
mr[4] = 0x0
mr[5] = 0x0
mr[6] = 0x0
input-&amp;gt;cs_d0 = 0x3
input-&amp;gt;cs_d1 = 0x0
input-&amp;gt;mirror = 0x0
PHY ODT impedance = 48 ohm
PHY DQ driver impedance = 28 ohm
PHY Addr driver impedance = 30 ohm
odt[0] = 0x1
odt[1] = 0x0
odt[2] = 0x0
odt[3] = 0x0
Initializing message block
msg_blk-&amp;gt;dram_type = 0x2
msg_blk-&amp;gt;sequence_ctrl = 0x31f
msg_blk-&amp;gt;phy_cfg = 0x0
msg_blk-&amp;gt;x16present = 0x3
msg_blk-&amp;gt;dramfreq = 0x640
msg_blk-&amp;gt;pll_bypass_en = 0x0
msg_blk-&amp;gt;dfi_freq_ratio = 0x2
msg_blk-&amp;gt;phy_odt_impedance = 0x0
msg_blk-&amp;gt;phy_drv_impedance = 0x0
msg_blk-&amp;gt;bpznres_val = 0x0
msg_blk-&amp;gt;enabled_dqs = 0x48
msg_blk-&amp;gt;acsm_odt_ctrl0 = 0x1
msg_blk-&amp;gt;acsm_odt_ctrl1 = 0x0
msg_blk-&amp;gt;acsm_odt_ctrl2 = 0x0
msg_blk-&amp;gt;acsm_odt_ctrl3 = 0x0
Initialize PHY 0 config
pll_ctrl2 = 0xb
SOC_SI_REV = 2
dll_lck_param = 0x212
dll_gain_ctl = 0x61
acx4_anib_Dis 0x0
Load 1D firmware
Loading image id=32 at address 0x18003000
Image id=32 loaded: 0x18003000 - 0x18009bd0
.Loaded Imaged id 32 of size 6bd0 at address 18003000
Loading image id=34 at address 0x18003000
Image id=34 loaded: 0x18003000 - 0x180036d0
.Loaded Imaged id 34 of size 6d0 at address 18003000
Execute firmware
Applying PLL optimal settings
pll_ctrl2 = 0xb
pll_ctrl1 = 0x21
pll_test_mode = 0x24
pll_ctrl4 = 0x17f
End of fine write leveling
1D Training completed
CDD rrmax 3 wwmax 4 rwmax 2 wrmax 0
ret : 0  input.basic.train2d= 0 Load PIE
seq0bdly0 = 0x32
seq0bdly1 = 0x64
seq0bdly2 = 0x3e8
seq0bdly3 = 0x2c
NOTICE:  DDR4 UDIMM with 1-rank 64-bit bus (x16)
dram_size = 4294967296Program controller registers
twopass=0
PHY handshake completed, timer remains 39
total size 4 GB
Need to wait up to 1320 ms
*0x1080000 = 0xff
*0x1080080 = 0x80010412
*0x1080100 = 0x12591100
*0x1080104 = 0x8c880013
*0x1080108 = 0xe0ed474
*0x108010c = 0x6151e6
*0x1080110 = 0xe5240000
*0x1080114 = 0x401020
*0x1080118 = 0x1010a34
*0x1080124 = 0x24900924
*0x1080160 = 0x102
*0x1080164 = 0x11401400
*0x108016c = 0x27750000
*0x1080170 = 0x8a090705
*0x1080200 = 0x180000
*0x1080224 = 0x702
*0x1080228 = 0x8000000
*0x1080250 = 0x5228a00
*0x1080800 = 0x43b30002
*0x1080804 = 0x1f1f1f1f
*0x1080b24 = 0x4
*0x1080bf8 = 0x20505
*0x1080f04 = 0x102
*0x1080f0c = 0x124a02c0
*0x1080f48 = 0x1
*0x1080f4c = 0x94000000

NOTICE:  4 GB DDR4, 64-bit, CL=16, ECC on
get_dram_regions_info over
mmap_add_ddr_region_dynamically end
DDR Controller 1.
DDR Controller 2.
bl2_load_images begin
BL2: Loading image id 3
Loading image id=3 at address 0xfbe00000
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 08:35:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1282411#M8084</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-05-26T08:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: load_image()  function is stuck and cannot continue</title>
      <link>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1283293#M8094</link>
      <description>&lt;P&gt;Please refer to the following&amp;nbsp;TF-A BL2 boot flow&lt;/P&gt;
&lt;P&gt;a. BL2 initializes the DRAM, configures TZASC&lt;BR /&gt;b. BL2 loads&amp;nbsp; BL31, BL32, and BL33 images to the DDR memory after validating these images BL31, BL32, and BL33 images form FIP image, fip.bin.&lt;BR /&gt;c. Post validation of all the components of the FIP image, BL2 passes execution control to the EL3 runtime firmware image named as “BL31".&lt;/P&gt;
&lt;P&gt;Because there is problem at DDR controller initialization, so it is impossible to load&amp;nbsp;BL31, BL32, and BL33 images to the DDR memory.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 08:40:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1283293#M8094</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-05-27T08:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: load_image()  function is stuck and cannot continue</title>
      <link>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1284076#M8109</link>
      <description>&lt;P&gt;&lt;SPAN&gt;My custom board now uses the first DDR controller. Does the software need to be modified?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 09:38:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1284076#M8109</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-05-28T09:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: load_image()  function is stuck and cannot continue</title>
      <link>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1284103#M8110</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Could you please send me a fip_ddr.bin file, I suspect there is something wrong with my fip_ddr.bin&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 10:25:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1284103#M8110</guid>
      <dc:creator>muaxi8</dc:creator>
      <dc:date>2021-05-28T10:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: load_image()  function is stuck and cannot continue</title>
      <link>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1285294#M8122</link>
      <description>&lt;P&gt;If you use different type DDR from the demo board, you need to modify DDR controller configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 09:25:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1285294#M8122</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-06-01T09:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: load_image()  function is stuck and cannot continue</title>
      <link>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1285299#M8123</link>
      <description />
      <pubDate>Tue, 01 Jun 2021 09:29:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/load-image-function-is-stuck-and-cannot-continue/m-p/1285299#M8123</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-06-01T09:29:51Z</dc:date>
    </item>
  </channel>
</rss>

