<?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: IMX8MN not starting U-Boot</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-not-starting-U-Boot/m-p/2005892#M231468</link>
    <description>Hi&lt;BR /&gt;Thanks for your reply &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;1. BL31 is correctly loaded at 0x960000 (verified with printf of first 512 bytes at that address).&lt;BR /&gt;2. Commands seem to be the same as the imx8mn-evk.&lt;BR /&gt;3. I added printf statements in bl31_main.c - bl31_main(void) but it seems it is never called?&lt;BR /&gt;Any idea if there is something before that main?&lt;BR /&gt;I do not have a lot of experience (yet) with the BL31.&lt;BR /&gt;4. U-boot.its seems fine, since my U-Boot knows where to jump to (I do print the addresses before jumping &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt; ).&lt;BR /&gt;5. My SPL says it has done the DRAM init (and the rate is 2400MTS, calibration and config done). So I suspect that should work? Otherwise I would not be able to load my BL31 at address 0x960000?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Dec 2024 09:08:48 GMT</pubDate>
    <dc:creator>AyrtonL</dc:creator>
    <dc:date>2024-12-03T09:08:48Z</dc:date>
    <item>
      <title>IMX8MN not starting U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-not-starting-U-Boot/m-p/2004213#M231349</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to bring up my board but encounter some issues.&lt;BR /&gt;My SPL is loaded and executed but after that... it just hangs...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adding debug/print statements shows me it wants to jump to 0x960000 (where my BL31 should be, and seems to be when I print x bytes) but it just hangs...&lt;/P&gt;&lt;P&gt;I added my U-Boot config, and uboot.its as&lt;SPAN&gt; cat ${BINARIES_DIR}/u-boot-spl-padded.bin ${BINARIES_DIR}/ddr_fw.bin &amp;gt; ${BINARIES_DIR}/u-boot-spl-ddr.bin&lt;/SPAN&gt; well.&lt;/P&gt;&lt;P&gt;For creating a binary I can write to a SD card, I used following commands (based on the imx8-bootloader-prepare script in Buildroot.&lt;BR /&gt;&lt;SPAN&gt;dd if=${BINARIES_DIR}/u-boot-spl.bin of=${BINARIES_DIR}/u-boot-spl-padded.bin bs=4 conv=sync&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;${HOST_DIR}/bin/mkimage -E -p $0x5000 -f ${BINARIES_DIR}/u-boot.its ${BINARIES_DIR}/u-boot.itb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;${HOST_DIR}/bin/mkimage_imx8 -v v2 -fit -loader ${BINARIES_DIR}/u-boot-spl-ddr.bin 0x912000 -second_loader ${BINARIES_DIR}/u-boot.itb 0x40200000 0x60000 -out ${BINARIES_DIR}/imx8-boot-sd.bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Used U-Boot: 2023.04&lt;BR /&gt;Used ATF: 2.10.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any ideas on what I am missing?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 08:47:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-not-starting-U-Boot/m-p/2004213#M231349</guid>
      <dc:creator>AyrtonL</dc:creator>
      <dc:date>2024-11-29T08:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MN not starting U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-not-starting-U-Boot/m-p/2004779#M231392</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Please take a look at the flash_evk_no_hdmi build process in&amp;nbsp;imx-mkimage.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/imx-mkimage/blob/lf-6.6.3_1.0.0/iMX8M/soc.mak" target="_blank"&gt;https://github.com/nxp-imx/imx-mkimage/blob/lf-6.6.3_1.0.0/iMX8M/soc.mak&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 05:38:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-not-starting-U-Boot/m-p/2004779#M231392</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-12-02T05:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MN not starting U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-not-starting-U-Boot/m-p/2004896#M231400</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/239730"&gt;@AyrtonL&lt;/a&gt;&amp;nbsp;&amp;nbsp;I hope my below point as I observed you problems may help you:&lt;BR /&gt;1, Verify BL31 Location: Confirm BL31 is correctly loaded at 0x960000 by checking memory mapping and alignment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2, Cross-Check Build Steps: Ensure the sequence of commands for mkimage matches your board’s bootloader specs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3, Debug ATF Initialization: Insert debug prints in BL31 to trace execution and identify the exact failure point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4, Validate U-Boot Config: Ensure u-boot.its specifies the correct load and entry addresses for all binaries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5, Check DDR Initialization: Confirm DDR firmware (ddr_fw.bin) is correctly configured for your hardware.&lt;BR /&gt;&lt;BR /&gt;Still, you have a problem feel free to DM me.&lt;BR /&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Ashutosh Nama&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 07:29:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-not-starting-U-Boot/m-p/2004896#M231400</guid>
      <dc:creator>AshutoshNama</dc:creator>
      <dc:date>2024-12-02T07:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MN not starting U-Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-not-starting-U-Boot/m-p/2005892#M231468</link>
      <description>Hi&lt;BR /&gt;Thanks for your reply &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;BR /&gt;1. BL31 is correctly loaded at 0x960000 (verified with printf of first 512 bytes at that address).&lt;BR /&gt;2. Commands seem to be the same as the imx8mn-evk.&lt;BR /&gt;3. I added printf statements in bl31_main.c - bl31_main(void) but it seems it is never called?&lt;BR /&gt;Any idea if there is something before that main?&lt;BR /&gt;I do not have a lot of experience (yet) with the BL31.&lt;BR /&gt;4. U-boot.its seems fine, since my U-Boot knows where to jump to (I do print the addresses before jumping &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt; ).&lt;BR /&gt;5. My SPL says it has done the DRAM init (and the rate is 2400MTS, calibration and config done). So I suspect that should work? Otherwise I would not be able to load my BL31 at address 0x960000?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2024 09:08:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MN-not-starting-U-Boot/m-p/2005892#M231468</guid>
      <dc:creator>AyrtonL</dc:creator>
      <dc:date>2024-12-03T09:08:48Z</dc:date>
    </item>
  </channel>
</rss>

