<?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: iMX6 / HAB - getting .csf values from U-Boot image</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-HAB-getting-csf-values-from-U-Boot-image/m-p/697675#M108317</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;&amp;nbsp; Below are example and comments.&lt;BR /&gt;&amp;nbsp;Padded u-boot should be signed starting at the IVT through to the end with&lt;BR /&gt;length = 0x71000 (padded u-boot length) - 0x400 (IVT offset) = 0x70C00&lt;BR /&gt;This covers the essential parts: IVT, boot data and DCD.&lt;BR /&gt;Blocks have the following definition:&lt;BR /&gt;Image block start address on i.MX, Offset from start of image file,&lt;BR /&gt;Length of block in bytes, image data file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;BR /&gt;Verification index = 2&lt;BR /&gt;Blocks = 0x27800400 0x400 0x70C00 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You may create request / ticket to get U-boot with .csf files (as example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/support/support:SUPPORTHOME?tid=sbmenu" title="http://www.nxp.com/support/support:SUPPORTHOME?tid=sbmenu"&gt;Support|NXP&lt;/A&gt;&amp;nbsp;&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;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Aug 2017 05:30:41 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2017-08-15T05:30:41Z</dc:date>
    <item>
      <title>iMX6 / HAB - getting .csf values from U-Boot image</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-HAB-getting-csf-values-from-U-Boot-image/m-p/697674#M108316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working to get iMX6 HAB to boot a signed U-Boot binary. The complication I have is that my SOM vendor has their own branch of U-Boot source, and they have their own assembler source and linker script which creates the IVT and CSF data in the binary image - they &lt;EM&gt;don't&lt;/EM&gt; use the 'imximage' generation of U-Boot's mkimage tool. Therefore, when I follow the HAB docs for creating the .csf file, I don't have the "HAB Blocks =" info [outputted by mkimage] to use in the .csf file (for the 'Blocks = ' line).&lt;/P&gt;&lt;P&gt;Therefore I'm aiming to extract the values from the .bin file, e.g. using readelf/objdump etc. But I'm struggling to figure out what I need to extract from the .bin&lt;/P&gt;&lt;P&gt;Could anyone give me some pointers on how to calculate the 'Blocks =' values?&lt;/P&gt;&lt;P&gt;Or, even, be willing to send me their U-Boot .bin file and the corresponding .csf file - so that I can sanity-check my own reasoning?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2017 13:00:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-HAB-getting-csf-values-from-U-Boot-image/m-p/697674#M108316</guid>
      <dc:creator>colinhelliwell</dc:creator>
      <dc:date>2017-08-14T13:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 / HAB - getting .csf values from U-Boot image</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-HAB-getting-csf-values-from-U-Boot-image/m-p/697675#M108317</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;&amp;nbsp; Below are example and comments.&lt;BR /&gt;&amp;nbsp;Padded u-boot should be signed starting at the IVT through to the end with&lt;BR /&gt;length = 0x71000 (padded u-boot length) - 0x400 (IVT offset) = 0x70C00&lt;BR /&gt;This covers the essential parts: IVT, boot data and DCD.&lt;BR /&gt;Blocks have the following definition:&lt;BR /&gt;Image block start address on i.MX, Offset from start of image file,&lt;BR /&gt;Length of block in bytes, image data file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;BR /&gt;Verification index = 2&lt;BR /&gt;Blocks = 0x27800400 0x400 0x70C00 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; You may create request / ticket to get U-boot with .csf files (as example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/support/support:SUPPORTHOME?tid=sbmenu" title="http://www.nxp.com/support/support:SUPPORTHOME?tid=sbmenu"&gt;Support|NXP&lt;/A&gt;&amp;nbsp;&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;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Aug 2017 05:30:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-HAB-getting-csf-values-from-U-Boot-image/m-p/697675#M108317</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2017-08-15T05:30:41Z</dc:date>
    </item>
  </channel>
</rss>

