<?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中的主题 i.mx6UL start application program from bootloader</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6UL-start-application-program-from-bootloader/m-p/624494#M94769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.5pt;"&gt;Dear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.5pt;"&gt;We want to start application program from bootloader, we have below questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 10.5pt;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;&lt;SPAN&gt;We use I.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;MX6UL bootrom&lt;SPAN&gt;&amp;nbsp;start&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white;"&gt;BootLoader, we need use&amp;nbsp;mkimage.sh which could compile and generator bin file, then we convert bin to executable file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;If we need use Bootloader run application program,whether application image file also need convert by mkimage.sh?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;The file which convert by mkimage.sh is compressed file. we do not know its format, how about its start address, how to realize the the address jump, do you have example? Thanks.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2017 02:39:17 GMT</pubDate>
    <dc:creator>hansonhe</dc:creator>
    <dc:date>2017-01-18T02:39:17Z</dc:date>
    <item>
      <title>i.mx6UL start application program from bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6UL-start-application-program-from-bootloader/m-p/624494#M94769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.5pt;"&gt;Dear,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.5pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 10.5pt;"&gt;We want to start application program from bootloader, we have below questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 10.5pt;"&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;&lt;SPAN&gt;We use I.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: rgba(0, 0, 0, 0);"&gt;MX6UL bootrom&lt;SPAN&gt;&amp;nbsp;start&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="background: white;"&gt;BootLoader, we need use&amp;nbsp;mkimage.sh which could compile and generator bin file, then we convert bin to executable file.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;If we need use Bootloader run application program,whether application image file also need convert by mkimage.sh?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;The file which convert by mkimage.sh is compressed file. we do not know its format, how about its start address, how to realize the the address jump, do you have example? Thanks.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 02:39:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6UL-start-application-program-from-bootloader/m-p/624494#M94769</guid>
      <dc:creator>hansonhe</dc:creator>
      <dc:date>2017-01-18T02:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6UL start application program from bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6UL-start-application-program-from-bootloader/m-p/624495#M94770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Do You mean bare metal or Linux applications ? Is the mentioned bootloader &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Your own one or U-boot ? &lt;BR /&gt; It is possible to use i.MX boot ROM to load and run bare metal&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;applications. Generally, iMX6 UL boot process is described in Chapter 8 (System &lt;BR /&gt;Boot) of the Reference Manual. For example, for SD boot , the loading boot data &lt;BR /&gt;from boot SD card is performed in two stages :&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; first read IVT, DCD, then read executable code, using the Boot Data Structure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;At first, boot ROM copies 4K byte (containing IVT and DCD ) from sector 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;of the boot SD card to internal buffer in OCRAM, located in reserved area&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;(0x00900000 0x00907000). This area must not be used by user application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Then, “after checking the Image Vector Table header value (0xD1) from Program&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Image, the ROM code performs a DCD check. After successful DCD extraction,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;the ROM code extracts from Boot Data Structure the destination pointer and length&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;of image to be copied to RAM device from where code execution occurs”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; The IVT contains field entry as absolute address of the first instruction to execute &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;from the image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Note : according to Figure 8-3 (Internal ROM and RAM memory map), only OCRAM&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Free Area (68KB) from 0x00907000 till 0x00918000 may be used by user’s application.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; U-boot may be considered as good example for bare metal application,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;that may be load by i.MX6 UL boot ROM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 05:31:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6UL-start-application-program-from-bootloader/m-p/624495#M94770</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-01-18T05:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6UL start application program from bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6UL-start-application-program-from-bootloader/m-p/624496#M94771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;They use bare metal, and compile the application program in IAR, and got the bin file, we want to know the app startup address which use for Boot jump, and we got the _iar_program_start is 0x60005dac, whether 0x60005dac is address which use for&amp;nbsp;boot jump to application address? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 05:48:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6UL-start-application-program-from-bootloader/m-p/624496#M94771</guid>
      <dc:creator>hansonhe</dc:creator>
      <dc:date>2017-01-19T05:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6UL start application program from bootloader</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6UL-start-application-program-from-bootloader/m-p/624497#M94772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we&amp;nbsp;could jump from&amp;nbsp;bootloader to&amp;nbsp;APP program address.&amp;nbsp;We have below questions:&lt;/P&gt;&lt;P&gt;1. If&amp;nbsp;APP is running in DDR, how to copy the APP image file from external QSPI flash to DDR? What is the corresponding relationship between the QSPI flash address and DDR address. &lt;/P&gt;&lt;P&gt;2. If APP is runnning in QSPI nor flash, it will call the QSPI interface driver interface, init the QSPI register, when the app program running in nor flash, what need to&amp;nbsp;be noticed&amp;nbsp;about the QSPI register and QSPI interface driver code? Thanks.&lt;/P&gt;&lt;P&gt;When start APP in norflash, call the QSPI interface initializatioin, QSPI register will run crash. &lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: black; background: white; font-size: 10.5pt; font-family: 'Microsoft YaHei UI',sans-serif;"&gt;&lt;SPAN lang="ZH-CN"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 09:18:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6UL-start-application-program-from-bootloader/m-p/624497#M94772</guid>
      <dc:creator>hansonhe</dc:creator>
      <dc:date>2017-01-20T09:18:19Z</dc:date>
    </item>
  </channel>
</rss>

