<?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: U-boot Bootloader not loading for ADLINK LEC-IMX8MP</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Bootloader-not-loading-for-ADLINK-LEC-IMX8MP/m-p/1578545#M199686</link>
    <description>&lt;P&gt;what difference between &lt;STRONG&gt;iMX8MP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;amp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ADlink_LEC8MP&lt;/STRONG&gt;&lt;SPAN&gt; ? bootdata.size? anything difference do you find? the &lt;STRONG&gt;ADLINK LEC-iMX8M Plus SMARC&lt;/STRONG&gt;&amp;nbsp; isn't nxp board, I'm not familiar with this, how did you download the images to the board? pls tell me what command you use &lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 11:25:50 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2023-01-06T11:25:50Z</dc:date>
    <item>
      <title>U-boot Bootloader not loading for ADLINK LEC-IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Bootloader-not-loading-for-ADLINK-LEC-IMX8MP/m-p/1575318#M199281</link>
      <description>&lt;P&gt;Hello dear NXP fellows,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I am trying to bring up a custom board &lt;STRONG&gt;ADLINK LEC-iMX8M Plus SMARC&lt;/STRONG&gt; Module using BSP from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="ADLINK-kirkstone" href="https://github.com/ADLINK/meta-adlink-nxp/tree/kirkstone" target="_blank" rel="nofollow noopener"&gt;ADLINK meta-adlink-nxp-kirkstone&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and building&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;yocto&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;project as per the instructions. However when I flash the bootloader (&lt;STRONG&gt;imx_boot&lt;/STRONG&gt;), I get error which is shown below.&lt;/P&gt;&lt;P&gt;I have tried to build U-boot, ATF &amp;amp; DDR firmware in standalone ENV&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;#uboot
make distclean 
make O=build adlink_lec8mp_defconfig
make O=build

#ATF
make PLAT=imx8mp bl31&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;and then created the bootcontainer using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;mkimage&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;utility, but still I get the same error.&lt;/P&gt;&lt;P&gt;###############################################&lt;/P&gt;&lt;P&gt;U-Boot SPL 2022.04-lf_v2022.04+g16e8414193 (Oct 08 2022 - 13:33:43 +0000)&lt;BR /&gt;No pca9450@25&lt;BR /&gt;DDRINFO: start DRAM init&lt;BR /&gt;DDRINFO: DRAM rate 3000MTS&lt;BR /&gt;DDRINFO:ddrphy calibration done&lt;BR /&gt;DDRINFO: ddrmix config done&lt;BR /&gt;Normal Boot&lt;BR /&gt;Trying to boot from BOOTROM&lt;BR /&gt;Boot Stage: Primary boot&lt;BR /&gt;image offset 0x8000, pagesize 0x200,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ivt offset 0x0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Can't support legacy image&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SPL: failed to boot from all boot devices&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR ### Please RESET the board&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;###############################################&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Debugging Results:&lt;/STRONG&gt;&lt;BR /&gt;I have search alot about this issues and it looks like there are some&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;image offset&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;issues (specially IVT table). Image Vector Table (&lt;STRONG&gt;IVT&lt;/STRONG&gt;) is a list of pointers located at a fixed address that the ROM examines to determine where the other components of the program image are located.&lt;/P&gt;&lt;P&gt;Based on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://lore.kernel.org/all/CAHCN7xKZvVozmp3bnsCXqJ2n0ug+62YK=x3Xh7YgBatu+HG7jg@mail.gmail.com/T/" target="_blank" rel="nofollow noopener"&gt;Boot problems imx8mp_evk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have tried to compile uboot for iMX8MP Model&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;make distclean
make O=build imx8mp_evk_defconfig 
make O=build&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;and then generated bootcontainer using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;mkimage&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;utility.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;This image run successfully and board is able to load uboot.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I compared the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;IVT table&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for both&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;iMX8MP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;amp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ADlink_LEC8MP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and I see&amp;nbsp;a few differences&amp;nbsp;which I guess is the reason for my bootloader not booting in the case for ADLINK.&lt;/P&gt;&lt;P&gt;I am attaching here IVT images for both cases. I am not sure how to correctly set these values in source code. However I believe I have identified the root casue for my issue. May I also know how can I validate/decode the uboot flash image to know its expected offsets?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Asad&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 23:20:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-Bootloader-not-loading-for-ADLINK-LEC-IMX8MP/m-p/1575318#M199281</guid>
      <dc:creator>AsadNawaZ_93</dc:creator>
      <dc:date>2022-12-28T23:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot Bootloader not loading for ADLINK LEC-IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Bootloader-not-loading-for-ADLINK-LEC-IMX8MP/m-p/1578545#M199686</link>
      <description>&lt;P&gt;what difference between &lt;STRONG&gt;iMX8MP&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;amp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;ADlink_LEC8MP&lt;/STRONG&gt;&lt;SPAN&gt; ? bootdata.size? anything difference do you find? the &lt;STRONG&gt;ADLINK LEC-iMX8M Plus SMARC&lt;/STRONG&gt;&amp;nbsp; isn't nxp board, I'm not familiar with this, how did you download the images to the board? pls tell me what command you use &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 11:25:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-Bootloader-not-loading-for-ADLINK-LEC-IMX8MP/m-p/1578545#M199686</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-01-06T11:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot Bootloader not loading for ADLINK LEC-IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Bootloader-not-loading-for-ADLINK-LEC-IMX8MP/m-p/1580864#M199928</link>
      <description>&lt;P&gt;&lt;STRONG&gt;ADlink_LEC8MP&amp;nbsp;&lt;/STRONG&gt;is a special SMARC board based on IMX8MP.&amp;nbsp;&lt;A href="https://www.ipi.wiki/pages/imx8mp-docs?page=ModuleIntroduction.html" target="_blank"&gt;https://www.ipi.wiki/pages/imx8mp-docs?page=ModuleIntroduction.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In fact I have found the solution. It was an issue of wrong UART address for ATF "&lt;STRONG&gt;ATF_BOOT_UART_BASE&lt;/STRONG&gt;" in uboot. After setting it correctly as per the UART address on carrier board (Renasas SMARC), I got it working.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 13:22:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-Bootloader-not-loading-for-ADLINK-LEC-IMX8MP/m-p/1580864#M199928</guid>
      <dc:creator>AsadNawaZ_93</dc:creator>
      <dc:date>2023-01-11T13:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot Bootloader not loading for ADLINK LEC-IMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-Bootloader-not-loading-for-ADLINK-LEC-IMX8MP/m-p/1962513#M228947</link>
      <description>&lt;P&gt;&lt;SPAN&gt;For IMX8MM hardware, this initialization process is managed within the U-Boot bootloader, specifically located in the board/freescale/imx8mm_evk/ directory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;U-Boot, drivers/power/pmic/pca9450.c is typically involved&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once customization is completed, the imx-mkimage tool is employed to generate the flash.bin image file for flashing.&amp;nbsp; Refer this for more..&lt;A href="http://upstream%20contributions for i.MX8." target="_self"&gt;upstream contributions for i.MX8.&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 08:34:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-Bootloader-not-loading-for-ADLINK-LEC-IMX8MP/m-p/1962513#M228947</guid>
      <dc:creator>MaazPatni</dc:creator>
      <dc:date>2024-09-26T08:34:13Z</dc:date>
    </item>
  </channel>
</rss>

