<?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: HAB secure serial boot on mx6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/HAB-secure-serial-boot-on-mx6/m-p/237488#M19118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;As I know the problem was solved :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From AN 4581:&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;Verification index = 2&lt;/P&gt;&lt;P&gt;Blocks = 0x10800400 0x400 0x2BC00 "u-boot-pad.bin", \ Blocks = 0x00910000 0x430 0x2E0 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;This generates a syntax error&lt;/P&gt;&lt;P&gt;We used:&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x27800400 0x400 0x3BC00 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x00910000 0x42c 0x288 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;This generates a HAB assert at 0x00910000&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x00910000 0x42c 0x288 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x27800400 0x400 0x3BC00 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Generates 3 HAB assertions in DRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x00910000 0x42c 0x288 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x27800400 0x400 0x3BC00 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;This works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;As for the HAB Event below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------- HAB Event 1 -----------------&lt;/P&gt;&lt;P&gt;event data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x00 0x00 0x00 0x00 0x00 0x91 0x00 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x00 0x00 0x02 0x88&lt;/P&gt;&lt;P&gt;&amp;nbsp; STS: 0x33 RSN: 0x0c CTX: 0xa0 ENG: 0x00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header Word: 0xdb 0x00 0x14 0x41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tag = 0xDB Event&lt;/P&gt;&lt;P&gt;Length = 0x0014 Length of event record in bytes&lt;/P&gt;&lt;P&gt;Version: 0x41 HAB Version&lt;/P&gt;&lt;P&gt;SRCE Word: 0x33 0x0c 0xa0 0x00&lt;/P&gt;&lt;P&gt;Status = 0x33 HAB_FAILURE&lt;/P&gt;&lt;P&gt;Reason = 0x0c HAB_INV_ASSERTION&lt;/P&gt;&lt;P&gt;Context = 0xa0 HAB_CTX_AUTHENTICATE&lt;/P&gt;&lt;P&gt;Engine = 0x00 HAB_ENG_ANY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event Data: Since the Context is HAB_CTX_AUTHENTICATE the reason must also be &lt;/P&gt;&lt;P&gt;taken into account. &lt;/P&gt;&lt;P&gt;Here the reason is HAB_INV_ASSERTION so the context dependent data in this &lt;/P&gt;&lt;P&gt;example corresponds to HAB_CTX_ASSERT which contains the hab_rvt.assert() call &lt;/P&gt;&lt;P&gt;parameters in the order they appear in the parameter list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type: 0x00 0x00 0x00 0x00 = HAB_ASSERT_BLOCK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0x00 0x91 0x00 0x00 = data address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0x00 0x00 0x02 0x88 = data length in bytes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, that the API checks that all of the following data have been authenticated &lt;/P&gt;&lt;P&gt;(using their final locations):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IVT&lt;/P&gt;&lt;P&gt;DCD (if provided);&lt;/P&gt;&lt;P&gt;Boot Data (initial byte if provided);&lt;/P&gt;&lt;P&gt;Entry point (initial word).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of the above data components not covered by a valid signature will cause &lt;/P&gt;&lt;P&gt;HAB to generate an event with reason HAB_INV_ASSERTION like the one above.&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, 31 May 2013 07:50:17 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2013-05-31T07:50:17Z</dc:date>
    <item>
      <title>HAB secure serial boot on mx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-secure-serial-boot-on-mx6/m-p/237487#M19117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hello &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I am working on HAB secure boot. We can boot secure from NAND and MMC using boards in open and closed configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;However I have not managed to boot via freescale manufacturing tools without HAB events.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;If we boot a 'normal' singed u-boot.bin via MFG tool, we get ~5 HAB events.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;If we use the scripts from AN4581 6.2, I still get one single HAB event.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;--------- HAB Event 1 -----------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;event data:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; 0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; 0x00 0x00 0x00 0x00 0x00 0x91 0x00 0x00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; 0x00 0x00 0x02 0x88&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; STS: 0x33 RSN: 0x0c CTX: 0xa0 ENG: 0x00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Does anyone have experience with secure serial boot?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;What irritates me, is that we had to remove the coma / logical line break from the sample cst code in AN4581. The sample in AN 4581 generates a syntax error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;[Authenticate Data]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Verification index = 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Blocks = 0x10800400 0x400 0x2BC00 "u-boot-pad.bin"&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;, \&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Blocks = 0x00910000 0x430 0x2E0 "u-boot-pad.bin"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;How do I get rid of that HAB event?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Regards, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&amp;nbsp; Martin &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&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>Tue, 14 May 2013 12:26:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-secure-serial-boot-on-mx6/m-p/237487#M19117</guid>
      <dc:creator>mmeuli</dc:creator>
      <dc:date>2013-05-14T12:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: HAB secure serial boot on mx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-secure-serial-boot-on-mx6/m-p/237488#M19118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;As I know the problem was solved :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From AN 4581:&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;Verification index = 2&lt;/P&gt;&lt;P&gt;Blocks = 0x10800400 0x400 0x2BC00 "u-boot-pad.bin", \ Blocks = 0x00910000 0x430 0x2E0 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;This generates a syntax error&lt;/P&gt;&lt;P&gt;We used:&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x27800400 0x400 0x3BC00 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x00910000 0x42c 0x288 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;This generates a HAB assert at 0x00910000&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x00910000 0x42c 0x288 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x27800400 0x400 0x3BC00 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Generates 3 HAB assertions in DRAM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x00910000 0x42c 0x288 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Verification index = 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks = 0x27800400 0x400 0x3BC00 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;This works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;As for the HAB Event below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------- HAB Event 1 -----------------&lt;/P&gt;&lt;P&gt;event data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x00 0x00 0x00 0x00 0x00 0x91 0x00 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0x00 0x00 0x02 0x88&lt;/P&gt;&lt;P&gt;&amp;nbsp; STS: 0x33 RSN: 0x0c CTX: 0xa0 ENG: 0x00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Header Word: 0xdb 0x00 0x14 0x41&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tag = 0xDB Event&lt;/P&gt;&lt;P&gt;Length = 0x0014 Length of event record in bytes&lt;/P&gt;&lt;P&gt;Version: 0x41 HAB Version&lt;/P&gt;&lt;P&gt;SRCE Word: 0x33 0x0c 0xa0 0x00&lt;/P&gt;&lt;P&gt;Status = 0x33 HAB_FAILURE&lt;/P&gt;&lt;P&gt;Reason = 0x0c HAB_INV_ASSERTION&lt;/P&gt;&lt;P&gt;Context = 0xa0 HAB_CTX_AUTHENTICATE&lt;/P&gt;&lt;P&gt;Engine = 0x00 HAB_ENG_ANY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event Data: Since the Context is HAB_CTX_AUTHENTICATE the reason must also be &lt;/P&gt;&lt;P&gt;taken into account. &lt;/P&gt;&lt;P&gt;Here the reason is HAB_INV_ASSERTION so the context dependent data in this &lt;/P&gt;&lt;P&gt;example corresponds to HAB_CTX_ASSERT which contains the hab_rvt.assert() call &lt;/P&gt;&lt;P&gt;parameters in the order they appear in the parameter list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type: 0x00 0x00 0x00 0x00 = HAB_ASSERT_BLOCK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0x00 0x91 0x00 0x00 = data address&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0x00 0x00 0x02 0x88 = data length in bytes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, that the API checks that all of the following data have been authenticated &lt;/P&gt;&lt;P&gt;(using their final locations):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IVT&lt;/P&gt;&lt;P&gt;DCD (if provided);&lt;/P&gt;&lt;P&gt;Boot Data (initial byte if provided);&lt;/P&gt;&lt;P&gt;Entry point (initial word).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each of the above data components not covered by a valid signature will cause &lt;/P&gt;&lt;P&gt;HAB to generate an event with reason HAB_INV_ASSERTION like the one above.&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, 31 May 2013 07:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-secure-serial-boot-on-mx6/m-p/237488#M19118</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-05-31T07:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: HAB secure serial boot on mx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HAB-secure-serial-boot-on-mx6/m-p/237489#M19119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Martin,sorry to bother u.but hope you can do me a favor with "Signing Code Downloadable with Manufacturing Tool".&lt;/P&gt;&lt;P&gt;I've done as the AN4581 says.but i met HAB Event unfortunately.witch as follow.&lt;/P&gt;&lt;P&gt;Out:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Err:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Checking HAB_status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xf0&amp;nbsp; HAB State: 0x66&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------- HAB Event 1 -----------------&lt;/P&gt;&lt;P&gt;event data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xdb 0x00 0x08 0x41 0x33 0x22 0x0a 0x00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------- HAB Event 2 -----------------&lt;/P&gt;&lt;P&gt;event data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xdb 0x00 0x08 0x41 0x33 0x22 0x0a 0x00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------- HAB Event 3 -----------------&lt;/P&gt;&lt;P&gt;event data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xdb 0x00 0x08 0x41 0x33 0x22 0x0a 0x00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------- HAB Event 4 -----------------&lt;/P&gt;&lt;P&gt;event data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0x27 0x80 0x07 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x20&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------- HAB Event 5 -----------------&lt;/P&gt;&lt;P&gt;event data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0x27 0x80 0x07 0x20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--------- HAB Event 6 -----------------&lt;/P&gt;&lt;P&gt;event data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xdb 0x00 0x14 0x41 0x33 0x0c 0xa0 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0x00 0x91 0x00 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x02 0xe0&lt;/P&gt;&lt;P&gt;Net:&amp;nbsp;&amp;nbsp; got MAC address from IIM: 00:01:02:03:04:05&lt;/P&gt;&lt;P&gt;FEC0 [PRIME]&lt;/P&gt;&lt;P&gt;..main_loop&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;My u-boot.csf file comes bellow:&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;[Header] &lt;/P&gt;&lt;P&gt;&amp;nbsp; Version = 4.0 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Security Configuration = Open &lt;/P&gt;&lt;P&gt;&amp;nbsp; Hash Algorithm = sha256 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Engine Configuration = 0 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Certificate Format = X509 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Signature Format = CMS &lt;/P&gt;&lt;P&gt;[Install SRK] &lt;/P&gt;&lt;P&gt;&amp;nbsp; File = "../crts/SRK_1_2_3_4_table.bin" &lt;/P&gt;&lt;P&gt;&amp;nbsp; Source index = 0 &lt;/P&gt;&lt;P&gt;[Install CSFK] &lt;/P&gt;&lt;P&gt;&amp;nbsp; File = "../crts/CSF1_1_sha256_1024_65537_v3_usr_crt.pem" &lt;/P&gt;&lt;P&gt;[Authenticate CSF] &lt;/P&gt;&lt;P&gt;[Install Key] &lt;/P&gt;&lt;P&gt;&amp;nbsp; Verification index = 0 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Target index = 2 &lt;/P&gt;&lt;P&gt;&amp;nbsp; File = "../crts/IMG1_1_sha256_1024_65537_v3_usr_crt.pem" &lt;/P&gt;&lt;P&gt;# Sign padded u-boot starting at the IVT through to the end with &lt;/P&gt;&lt;P&gt;# length = 0x2F000 (padded u-boot length) - 0x400 (IVT offset) = 0x2EC00 &lt;/P&gt;&lt;P&gt;# Note: 0x2F000 may be different depending on the size of U-Boot &lt;/P&gt;&lt;P&gt;# This covers the essential parts: IVT, boot data and DCD. &lt;/P&gt;&lt;P&gt;# Blocks have the following definition: &lt;/P&gt;&lt;P&gt;# Image block start address on i.MX, Offset from start of image file, &lt;/P&gt;&lt;P&gt;# Length of block in bytes, image data file &lt;/P&gt;&lt;P&gt;[Authenticate Data] &lt;/P&gt;&lt;P&gt;&amp;nbsp; Verification index = 2 &lt;/P&gt;&lt;P&gt;&amp;nbsp; Blocks = 0x27800400 0x400 0x2EC00 "u-boot-pad.bin",\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00910000 0x42C 0x2E0 "u-boot-pad.bin"&lt;/P&gt;&lt;P&gt;---------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="QQ图片20140322124824.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43290iDFBF447115FBEFC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ图片20140322124824.jpg" alt="QQ图片20140322124824.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The pic above is the IVT get from u-boot-signed-pad.bin.&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Can u help me with this.TKS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Mar 2014 04:51:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HAB-secure-serial-boot-on-mx6/m-p/237489#M19119</guid>
      <dc:creator>torenyan</dc:creator>
      <dc:date>2014-03-22T04:51:55Z</dc:date>
    </item>
  </channel>
</rss>

