<?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 Re: u-boot.bin and u-boot.imx in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276485#M30879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The difference between u-boot.bin and u-boot.imx is the IVT header. That means after u-boot.bin is build, we will also add a IVT header and put it in front of u-boot.bin. This IVT header is for our boot ROM to identify the u-boot's location &amp;amp; function etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The parameter "imximage" means telling mkimage tool to generate a imx uboot image, which means to put a header defined by image_type_params, then full in the imx content. So we will see after u-boot.imx generated, it is actually u-boot.bin with a imx IVT header which include header, DCD/plugin. For more detail, you can refer to:&lt;/P&gt;&lt;P&gt;tools/imximage.c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 08:26:42 GMT</pubDate>
    <dc:creator>AnsonHuang</dc:creator>
    <dc:date>2013-07-17T08:26:42Z</dc:date>
    <item>
      <title>u-boot.bin and u-boot.imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276484#M30878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Today i generated a u-boot.imx file to burn into SD card, it works ok,&lt;/P&gt;&lt;P&gt;my question is what is the difference between u-boot.bin and u-boot.imx?&lt;/P&gt;&lt;P&gt;i have known there is a 1K data has been added in u-boot.bin,&lt;/P&gt;&lt;P&gt;but i don't know what the data includes which informations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;part command is:&lt;/P&gt;&lt;P&gt;$[u-boot path]/tools/mkimage -T imximage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the parameter :"imximage" after 'T" represents for what?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope some's help, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 07:26:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276484#M30878</guid>
      <dc:creator>tomfang</dc:creator>
      <dc:date>2013-07-17T07:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot.bin and u-boot.imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276485#M30879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The difference between u-boot.bin and u-boot.imx is the IVT header. That means after u-boot.bin is build, we will also add a IVT header and put it in front of u-boot.bin. This IVT header is for our boot ROM to identify the u-boot's location &amp;amp; function etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The parameter "imximage" means telling mkimage tool to generate a imx uboot image, which means to put a header defined by image_type_params, then full in the imx content. So we will see after u-boot.imx generated, it is actually u-boot.bin with a imx IVT header which include header, DCD/plugin. For more detail, you can refer to:&lt;/P&gt;&lt;P&gt;tools/imximage.c.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 08:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276485#M30879</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2013-07-17T08:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot.bin and u-boot.imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276486#M30880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yongcai,&lt;/P&gt;&lt;P&gt;Thanks for your detailing description!&lt;/P&gt;&lt;P&gt;I got your mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 08:31:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276486#M30880</guid>
      <dc:creator>tomfang</dc:creator>
      <dc:date>2013-07-17T08:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot.bin and u-boot.imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276487#M30881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome, can you set this question as answered if you think this is done, thanks in advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 08:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276487#M30881</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2013-07-17T08:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot.bin and u-boot.imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276488#M30882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could anyone explain details about the ROM code activities?&lt;/P&gt;&lt;P&gt;currently, i used the u-boot-2013-04 source code to generate&lt;/P&gt;&lt;P&gt;a u-boot.bin and u-boot.imx which work well, i just want to lean&lt;/P&gt;&lt;P&gt;more, for example, how can i to dig out where the u-boot well run on?&lt;/P&gt;&lt;P&gt;(it seems that the start address(TEXT_BASE) is 0x17800000)&lt;/P&gt;&lt;P&gt;does anyone provide any documents about those knowledges?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 02:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276488#M30882</guid>
      <dc:creator>tomfang</dc:creator>
      <dc:date>2013-07-19T02:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot.bin and u-boot.imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276489#M30883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can look into the HEX code of u-boot.imx, for the first 1K structure, the beginning is formatted as below, this header is for uboot-v2009.08, but I think uboot-2013-04 is same, although the code is different, but eventually they will both put a header in front of uboot.bin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ROM will read first IVT header to identify which mode need to execute, DCD or PLUG, if DCD mode, then where to find the DRAM config data, and after DRAM configured, where to read the reset uboot image and where to put this image, in which DRAM address etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TEXT_BASE is the address of uboot.bin location, I meant where to put this u-boot.bin. Normally it should be the DRAM address and should reserve some space for other utility, such as mem alloc and global data, &lt;STRONG style="color: #333333; font-family: Arial; font-size: 14px; background-color: #ffffff;"&gt;gd = (gd_t*)(_armboot_start - CFG_MALLOC_LEN - sizeof(gd_t));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #333333; font-family: Arial; font-size: 14px; background-color: #ffffff;"&gt;So I think the TEXT_BASE should be as least &lt;STRONG style="color: #333333; font-family: Arial; font-size: 14px; background-color: #ffffff;"&gt;CFG_MALLOC_LEN&lt;/STRONG&gt; + sizeof(gd_t) offset from the start of DRAM.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 43 ivt_header:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word 0x402000D1 /* Tag=0xD1, Len=0x0020, Ver=0x40 */&lt;/P&gt;&lt;P&gt; 44 app_code_jump_v:&amp;nbsp; .word _start&lt;/P&gt;&lt;P&gt; 45 reserv1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word 0x0&lt;/P&gt;&lt;P&gt; 46 dcd_ptr:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word dcd_hdr&lt;/P&gt;&lt;P&gt; 47 boot_data_ptr:&amp;nbsp;&amp;nbsp;&amp;nbsp; .word boot_data&lt;/P&gt;&lt;P&gt; 48 self_ptr:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word ivt_header&lt;/P&gt;&lt;P&gt; 49 #ifdef CONFIG_SECURE_BOOT&lt;/P&gt;&lt;P&gt; 50 app_code_csf:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word __hab_data&lt;/P&gt;&lt;P&gt; 51 #else&lt;/P&gt;&lt;P&gt; 52 app_code_csf:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word 0x0&lt;/P&gt;&lt;P&gt; 53 #endif&lt;/P&gt;&lt;P&gt; 54 reserv2:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word 0x0&lt;/P&gt;&lt;P&gt; 55 &lt;/P&gt;&lt;P&gt; 56 boot_data:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word TEXT_BASE&lt;/P&gt;&lt;P&gt; 57 #ifdef CONFIG_SECURE_BOOT&lt;/P&gt;&lt;P&gt; 58 image_len:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word __hab_data_end - TEXT_BASE + CONFIG_FLASH_HEADER_OFFSET&lt;/P&gt;&lt;P&gt; 59 #else&lt;/P&gt;&lt;P&gt; 60 image_len:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word _end_of_copy&amp;nbsp; - TEXT_BASE + CONFIG_FLASH_HEADER_OFFSET&lt;/P&gt;&lt;P&gt; 61 #endif&lt;/P&gt;&lt;P&gt; 62 plugin:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word 0x0&lt;/P&gt;&lt;P&gt; 63 &lt;/P&gt;&lt;P&gt; 64 #if defined CONFIG_MX6DL_DDR3&lt;/P&gt;&lt;P&gt; 65 #if defined CONFIG_DDR_32BIT&lt;/P&gt;&lt;P&gt; 66 dcd_hdr:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .word 0x40E001D2 /* Tag=0xD2, Len=59*8 + 4 + 4, Ver=0x40 */&lt;/P&gt;&lt;P&gt; 67 write_dcd_cmd:&amp;nbsp;&amp;nbsp;&amp;nbsp; .word 0x04DC01CC /* Tag=0xCC, Len=59*8 + 4, Param=0x04 */&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 03:27:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276489#M30883</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2013-07-19T03:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot.bin and u-boot.imx</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276490#M30884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Yongcai, I understand now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2013 05:17:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-bin-and-u-boot-imx/m-p/276490#M30884</guid>
      <dc:creator>tomfang</dc:creator>
      <dc:date>2013-07-19T05:17:15Z</dc:date>
    </item>
  </channel>
</rss>

