<?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 i.MX6 HAB setup issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-HAB-setup-issue/m-p/1095439#M160464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP support,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I face the iMX6 secure boot issue on our project. The following is the detailed information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have the customised i.MX6SOLO rev1.4 board by using&amp;nbsp;U-Boot 2018.03-imx_v2018.03_4.14.98_2.0.0_ga (imx-yocto-L4.14.98_2.0.0_ga). The u-boot boots up successfully from eMMC with HAB enabled, but it shows the following HAB events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secure boot disabled&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;/P&gt;&lt;P&gt;--------- HAB Event 1 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x24 0x42 0x69 0x30 0xe1 0x1d&lt;BR /&gt; 0x00 0x04 0x00 0x02 0x40 0x00 0x36 0x06&lt;BR /&gt; 0x55 0x55 0x00 0x03 0x00 0x00 0x00 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x01&lt;/P&gt;&lt;P&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_ENG_FAIL (0x30)&lt;BR /&gt;CTX = HAB_CTX_ENTRY (0xE1)&lt;BR /&gt;ENG = HAB_ENG_CAAM (0x1D)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 2 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x08 0x42 0x33 0x22 0x0a 0x00&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ADDRESS (0x22)&lt;BR /&gt;CTX = HAB_CTX_AUTHENTICATE (0x0A)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 3 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x20&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 4 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x2c&lt;BR /&gt; 0x00 0x00 0x02 0x90&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 5 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x20&lt;BR /&gt; 0x00 0x00 0x00 0x01&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 6 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x17 0x80 0x00 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x04&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually there are two kind of events (&lt;SPAN&gt;HAB_ENG_FAIL and &lt;SPAN&gt;HAB_INV_ADDRESS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;. I don't fully understand HAB event 1.&amp;nbsp;&lt;SPAN&gt;if I use u-boot-2018.05 from u-boot official website, it will have HAB event 2 to 6, and HAB event 1 is gone. I really have a concern about&amp;nbsp;HAB_INV_ADDRESS. I check CSF PTR by od command on u-boot.imx image, and it matches with the value on the target board eMMC area.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ od -X -N 0x20 u-boot.imx&lt;BR /&gt;0000000 402000d1 17800000 00000000 177ff42c&lt;BR /&gt;0000020 177ff420 177ff400 178b4000 00000000&lt;BR /&gt;0000040&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&amp;gt; md 0x177ff400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;177ff400: 402000d1 17800000 00000000 177ff42c .. @........,...&lt;BR /&gt;177ff410: 177ff420 177ff400 178b4000 00000000 ........@......&lt;BR /&gt;177ff420: 177ff000 000b500c 00000000 409002d2 .....P.........@&lt;BR /&gt;177ff430: 048c02cc 68400c02 3f3fc000 6c400c02 ......@h..??..@l&lt;BR /&gt;177ff440: 30fc3000 70400c02 00c0ff0f 74400c02 .0.0..@p......@t&lt;BR /&gt;177ff450: 0ff0f03f 78400c02 00f3ff00 7c400c02 ?.....@x......@|&lt;BR /&gt;177ff460: c300000f 80400c02 ff030000 60400c02 ......@.......@`&lt;BR /&gt;177ff470: fb000000 10000e02 cf0000f0 18000e02 ................&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&amp;gt; md 0x178b400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;178b4000: 425000d4 000c00be 00001703 50000000 ..PB...........P&lt;BR /&gt;178b4010: 020c00be 01000009 90040000 000c00ca ................&lt;BR /&gt;178b4020: 001dc501 e4070000 000c00be 02000009 ................&lt;BR /&gt;178b4030: e8090000 001400ca 001dc502 3c0d0000 ...............&amp;lt;&lt;BR /&gt;178b4040: 00f47f17 004c0b00 1d0800b2 02000000 ......L.........&lt;BR /&gt;178b4050: 404004d7 210f01e1 80000000 03000001 ..@@...!........&lt;BR /&gt;178b4060: c9a7d4b7 bd2d20b5 31fbf7ac 747d2c6b ..... -....1k,}t&lt;BR /&gt;178b4070: 671958b5 783295ec c87a6b80 43432646 .X.g..2x.kz.F&amp;amp;CC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, you can see there is the valid data in CSF section on the target board. I set the size of CSF file in imximage.cfg as 0x2000. I'm enclosed csf file for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#Illustrative Command Sequence File Description&lt;BR /&gt;[Header]&lt;BR /&gt;Version = 4.2&lt;BR /&gt;Security Configuration = Open&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;Engine = CAAM&lt;/P&gt;&lt;P&gt;[Install SRK]&lt;BR /&gt;File = "../crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;# Index of the key location in the SRK table to be installed&lt;BR /&gt;Source index = 0&lt;/P&gt;&lt;P&gt;[Install CSFK]&lt;BR /&gt;# Key used to authenticate the CSF data&lt;BR /&gt;File = "../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;/P&gt;&lt;P&gt;[Authenticate CSF]&lt;/P&gt;&lt;P&gt;[Install Key]&lt;BR /&gt;# Key slot index used to authenticate the key to be installed&lt;BR /&gt;Verification index = 0&lt;BR /&gt;# Target key slot in HAB key store where key will be installed&lt;BR /&gt;Target Index = 2&lt;BR /&gt;# Key to install&lt;BR /&gt;File= "../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;BR /&gt;# Key slot index used to authenticate the image data&lt;BR /&gt;Verification index = 2&lt;BR /&gt;# Address Offset Length Data File Path&lt;BR /&gt;Blocks = 0x177ff400 0x00000000 0x000b4c00 "u-boot.imx"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The following are the couple of commands to generate u-boot signed image file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ ../linux64/bin/cst --o u-boot_csf.bin --i u-boot.csf&lt;BR /&gt;$ objcopy -I binary -O binary --pad-to 0x2000 --gap-fill=0x00 u-boot_csf.bin u-boot_csf_pad.bin&lt;BR /&gt;$ cat u-boot.imx u-boot_csf_pad.bin &amp;gt; u-boot-signed.imx&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ ls -al&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-rw-rw-r--&amp;nbsp; 940 Apr 13 11:20 u-boot.csf&lt;BR /&gt;-rw-rw-r-- 1 3904 Apr 14 10:05 u-boot_csf.bin&lt;BR /&gt;-rw-rw-r-- 1&amp;nbsp; 8192 Apr 14 10:05 u-boot_csf_pad.bin&lt;BR /&gt;-rw-rw-r-- 1 740352 Apr 14 10:03 u-boot.imx&lt;BR /&gt;-rw-rw-r-- 1&amp;nbsp; 748544 Apr 14 10:05 u-boot-signed.imx&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By check the size of u-boot-signed.imx, you can see I don't pad u-boot.imx image file. What are the possibilities to have the HAB envents 1 to 6, especially for HAB_INV_ADDRESS. I am really appreciated if you could help me fix this HAB boot issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2020 18:38:56 GMT</pubDate>
    <dc:creator>jerry_zeng1</dc:creator>
    <dc:date>2020-04-14T18:38:56Z</dc:date>
    <item>
      <title>i.MX6 HAB setup issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-HAB-setup-issue/m-p/1095439#M160464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi NXP support,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I face the iMX6 secure boot issue on our project. The following is the detailed information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have the customised i.MX6SOLO rev1.4 board by using&amp;nbsp;U-Boot 2018.03-imx_v2018.03_4.14.98_2.0.0_ga (imx-yocto-L4.14.98_2.0.0_ga). The u-boot boots up successfully from eMMC with HAB enabled, but it shows the following HAB events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secure boot disabled&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;/P&gt;&lt;P&gt;--------- HAB Event 1 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x24 0x42 0x69 0x30 0xe1 0x1d&lt;BR /&gt; 0x00 0x04 0x00 0x02 0x40 0x00 0x36 0x06&lt;BR /&gt; 0x55 0x55 0x00 0x03 0x00 0x00 0x00 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x01&lt;/P&gt;&lt;P&gt;STS = HAB_WARNING (0x69)&lt;BR /&gt;RSN = HAB_ENG_FAIL (0x30)&lt;BR /&gt;CTX = HAB_CTX_ENTRY (0xE1)&lt;BR /&gt;ENG = HAB_ENG_CAAM (0x1D)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 2 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x08 0x42 0x33 0x22 0x0a 0x00&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ADDRESS (0x22)&lt;BR /&gt;CTX = HAB_CTX_AUTHENTICATE (0x0A)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 3 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x20&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 4 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x2c&lt;BR /&gt; 0x00 0x00 0x02 0x90&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 5 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x17 0x7f 0xf4 0x20&lt;BR /&gt; 0x00 0x00 0x00 0x01&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;--------- HAB Event 6 -----------------&lt;BR /&gt;event data:&lt;BR /&gt; 0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x00 0x17 0x80 0x00 0x00&lt;BR /&gt; 0x00 0x00 0x00 0x04&lt;/P&gt;&lt;P&gt;STS = HAB_FAILURE (0x33)&lt;BR /&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;BR /&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;BR /&gt;ENG = HAB_ENG_ANY (0x00)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually there are two kind of events (&lt;SPAN&gt;HAB_ENG_FAIL and &lt;SPAN&gt;HAB_INV_ADDRESS&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;. I don't fully understand HAB event 1.&amp;nbsp;&lt;SPAN&gt;if I use u-boot-2018.05 from u-boot official website, it will have HAB event 2 to 6, and HAB event 1 is gone. I really have a concern about&amp;nbsp;HAB_INV_ADDRESS. I check CSF PTR by od command on u-boot.imx image, and it matches with the value on the target board eMMC area.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ od -X -N 0x20 u-boot.imx&lt;BR /&gt;0000000 402000d1 17800000 00000000 177ff42c&lt;BR /&gt;0000020 177ff420 177ff400 178b4000 00000000&lt;BR /&gt;0000040&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&amp;gt; md 0x177ff400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;177ff400: 402000d1 17800000 00000000 177ff42c .. @........,...&lt;BR /&gt;177ff410: 177ff420 177ff400 178b4000 00000000 ........@......&lt;BR /&gt;177ff420: 177ff000 000b500c 00000000 409002d2 .....P.........@&lt;BR /&gt;177ff430: 048c02cc 68400c02 3f3fc000 6c400c02 ......@h..??..@l&lt;BR /&gt;177ff440: 30fc3000 70400c02 00c0ff0f 74400c02 .0.0..@p......@t&lt;BR /&gt;177ff450: 0ff0f03f 78400c02 00f3ff00 7c400c02 ?.....@x......@|&lt;BR /&gt;177ff460: c300000f 80400c02 ff030000 60400c02 ......@.......@`&lt;BR /&gt;177ff470: fb000000 10000e02 cf0000f0 18000e02 ................&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=&amp;gt; md 0x178b400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;178b4000: 425000d4 000c00be 00001703 50000000 ..PB...........P&lt;BR /&gt;178b4010: 020c00be 01000009 90040000 000c00ca ................&lt;BR /&gt;178b4020: 001dc501 e4070000 000c00be 02000009 ................&lt;BR /&gt;178b4030: e8090000 001400ca 001dc502 3c0d0000 ...............&amp;lt;&lt;BR /&gt;178b4040: 00f47f17 004c0b00 1d0800b2 02000000 ......L.........&lt;BR /&gt;178b4050: 404004d7 210f01e1 80000000 03000001 ..@@...!........&lt;BR /&gt;178b4060: c9a7d4b7 bd2d20b5 31fbf7ac 747d2c6b ..... -....1k,}t&lt;BR /&gt;178b4070: 671958b5 783295ec c87a6b80 43432646 .X.g..2x.kz.F&amp;amp;CC&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also, you can see there is the valid data in CSF section on the target board. I set the size of CSF file in imximage.cfg as 0x2000. I'm enclosed csf file for your reference.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#Illustrative Command Sequence File Description&lt;BR /&gt;[Header]&lt;BR /&gt;Version = 4.2&lt;BR /&gt;Security Configuration = Open&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;Engine = CAAM&lt;/P&gt;&lt;P&gt;[Install SRK]&lt;BR /&gt;File = "../crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;# Index of the key location in the SRK table to be installed&lt;BR /&gt;Source index = 0&lt;/P&gt;&lt;P&gt;[Install CSFK]&lt;BR /&gt;# Key used to authenticate the CSF data&lt;BR /&gt;File = "../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;/P&gt;&lt;P&gt;[Authenticate CSF]&lt;/P&gt;&lt;P&gt;[Install Key]&lt;BR /&gt;# Key slot index used to authenticate the key to be installed&lt;BR /&gt;Verification index = 0&lt;BR /&gt;# Target key slot in HAB key store where key will be installed&lt;BR /&gt;Target Index = 2&lt;BR /&gt;# Key to install&lt;BR /&gt;File= "../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;/P&gt;&lt;P&gt;[Authenticate Data]&lt;BR /&gt;# Key slot index used to authenticate the image data&lt;BR /&gt;Verification index = 2&lt;BR /&gt;# Address Offset Length Data File Path&lt;BR /&gt;Blocks = 0x177ff400 0x00000000 0x000b4c00 "u-boot.imx"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The following are the couple of commands to generate u-boot signed image file&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ ../linux64/bin/cst --o u-boot_csf.bin --i u-boot.csf&lt;BR /&gt;$ objcopy -I binary -O binary --pad-to 0x2000 --gap-fill=0x00 u-boot_csf.bin u-boot_csf_pad.bin&lt;BR /&gt;$ cat u-boot.imx u-boot_csf_pad.bin &amp;gt; u-boot-signed.imx&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;$ ls -al&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-rw-rw-r--&amp;nbsp; 940 Apr 13 11:20 u-boot.csf&lt;BR /&gt;-rw-rw-r-- 1 3904 Apr 14 10:05 u-boot_csf.bin&lt;BR /&gt;-rw-rw-r-- 1&amp;nbsp; 8192 Apr 14 10:05 u-boot_csf_pad.bin&lt;BR /&gt;-rw-rw-r-- 1 740352 Apr 14 10:03 u-boot.imx&lt;BR /&gt;-rw-rw-r-- 1&amp;nbsp; 748544 Apr 14 10:05 u-boot-signed.imx&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By check the size of u-boot-signed.imx, you can see I don't pad u-boot.imx image file. What are the possibilities to have the HAB envents 1 to 6, especially for HAB_INV_ADDRESS. I am really appreciated if you could help me fix this HAB boot issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jerry&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 18:38:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-HAB-setup-issue/m-p/1095439#M160464</guid>
      <dc:creator>jerry_zeng1</dc:creator>
      <dc:date>2020-04-14T18:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 HAB setup issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-HAB-setup-issue/m-p/1095440#M160465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me share some application notes, regarding how to use and setup HAB boot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 17:38:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-HAB-setup-issue/m-p/1095440#M160465</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2020-04-16T17:38:15Z</dc:date>
    </item>
  </channel>
</rss>

