<?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 U-boot bootelf starts at wrong entry point in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-bootelf-starts-at-wrong-entry-point/m-p/1728007#M213026</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm currently developping an application for IMX6 SOLO processor embedded on custom board.&lt;/P&gt;&lt;P&gt;It uses U-boot to launch the application. When U-Boot start application I see that the entry point is not correct : 0x00000000 instead of 0x10100000 (see folowing image).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="U-boot prompt" style="width: 825px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242255iDBCF41AE93CCC1D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Uboot.png" alt="U-boot prompt" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;U-boot prompt&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I look into the .map file is see that _start is correctly defined :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babylone_0-1695383159071.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242256i052F72C67D4D8A64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Babylone_0-1695383159071.png" alt="Babylone_0-1695383159071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And in the linkerscript :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babylone_0-1695383816812.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242258iF61DAB81E2F82751/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Babylone_0-1695383816812.png" alt="Babylone_0-1695383816812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Gdb information :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babylone_0-1695385285989.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242261i636E15B0331D38F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Babylone_0-1695385285989.png" alt="Babylone_0-1695385285989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other thing is that I'm able to run the application via Debugger.&lt;/P&gt;&lt;P&gt;So my question is : From where this could be coming from ?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Sep 2023 12:21:45 GMT</pubDate>
    <dc:creator>Babylone</dc:creator>
    <dc:date>2023-09-22T12:21:45Z</dc:date>
    <item>
      <title>U-boot bootelf starts at wrong entry point</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-bootelf-starts-at-wrong-entry-point/m-p/1728007#M213026</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm currently developping an application for IMX6 SOLO processor embedded on custom board.&lt;/P&gt;&lt;P&gt;It uses U-boot to launch the application. When U-Boot start application I see that the entry point is not correct : 0x00000000 instead of 0x10100000 (see folowing image).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="U-boot prompt" style="width: 825px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242255iDBCF41AE93CCC1D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Uboot.png" alt="U-boot prompt" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;U-boot prompt&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If I look into the .map file is see that _start is correctly defined :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babylone_0-1695383159071.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242256i052F72C67D4D8A64/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Babylone_0-1695383159071.png" alt="Babylone_0-1695383159071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And in the linkerscript :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babylone_0-1695383816812.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242258iF61DAB81E2F82751/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Babylone_0-1695383816812.png" alt="Babylone_0-1695383816812.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Gdb information :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Babylone_0-1695385285989.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/242261i636E15B0331D38F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Babylone_0-1695385285989.png" alt="Babylone_0-1695385285989.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other thing is that I'm able to run the application via Debugger.&lt;/P&gt;&lt;P&gt;So my question is : From where this could be coming from ?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 12:21:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-bootelf-starts-at-wrong-entry-point/m-p/1728007#M213026</guid>
      <dc:creator>Babylone</dc:creator>
      <dc:date>2023-09-22T12:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot bootelf starts at wrong entry point</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-bootelf-starts-at-wrong-entry-point/m-p/1728194#M213045</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217206"&gt;@Babylone&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;What kernel version are you using?&lt;/P&gt;
&lt;P&gt;Are you using our BSP?&lt;/P&gt;
&lt;P&gt;How are you running the program?&lt;/P&gt;
&lt;P&gt;We have a variable on the environment called "load_addr" In that direction you can load your program and run it.&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;=&amp;gt;fatload mmc 0:1 $load_addr hello_world.bin&lt;/P&gt;
&lt;P&gt;=&amp;gt;go $load_addr&lt;/P&gt;
&lt;P&gt;In that way, we can run the hello_word.bin allowed on MMC 0:1&lt;/P&gt;
&lt;P&gt;Note: The commands used are only used as an example the Hello_world.bin is not loaded in the memory by default.&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 17:14:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-bootelf-starts-at-wrong-entry-point/m-p/1728194#M213045</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-09-22T17:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot bootelf starts at wrong entry point</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-bootelf-starts-at-wrong-entry-point/m-p/1731929#M213384</link>
      <description>&lt;P&gt;Hello Chavira,&lt;/P&gt;&lt;P&gt;Sorry to be late.&lt;/P&gt;&lt;P&gt;We use a custom U-boot available &lt;A title="Variscite U-boot " href="https://github.com/varigit/uboot-imx" target="_self"&gt;here.&lt;/A&gt; Our application runs under SafeRTOS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We get the elf file through USB or NAND and then run it with the bootelf command.&lt;/P&gt;&lt;P&gt;Our elf file is correct since it can be runned via JTAG, telling me that it could be a U-boot issue.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Babylone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 12:44:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-bootelf-starts-at-wrong-entry-point/m-p/1731929#M213384</guid>
      <dc:creator>Babylone</dc:creator>
      <dc:date>2023-09-29T12:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot bootelf starts at wrong entry point</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-bootelf-starts-at-wrong-entry-point/m-p/1731981#M213390</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217206"&gt;@Babylone&lt;/a&gt;!&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;Sorry, we can't provide support due to you are not using our source code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;Please try to use our source code available here:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;A class="editor-rtfLink" style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt; ; color: #4a6ee0;" href="https://github.com/nxp-imx/uboot-imx" target="_blank" rel="noopener"&gt;&lt;SPAN data-preserver-spaces="true"&gt;https://github.com/nxp-imx/uboot-imx&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;Best Regards!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color: #0e101a; background: transparent; margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN data-preserver-spaces="true"&gt;Chavira&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 13:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-bootelf-starts-at-wrong-entry-point/m-p/1731981#M213390</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2023-09-29T13:08:46Z</dc:date>
    </item>
  </channel>
</rss>

