<?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: i.mx8 ahab encryption in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1363930#M182328</link>
    <description>&lt;P&gt;I built flash.bin with parameters:&lt;BR /&gt;CONFIG_AHAB_BOOT=y&lt;BR /&gt;CONFIG_CMD_DEKBLOB=y&lt;BR /&gt;CONFIG_IMG_SECO_DEK_ENCAP=y&lt;BR /&gt;CONFIG_FAT_WRITE=y&lt;BR /&gt;Built an imx code signing tool with encryption support:&lt;BR /&gt;$ sudo apt-get install libssl-dev openssl&lt;BR /&gt;$ cd &amp;lt;CST install directory&amp;gt;/code/back_end/src&lt;BR /&gt;$ $ gcc -o css_encrypted -I ../dr -L ../../../linux 64/lib *.cl frontend -lcrypto&lt;BR /&gt;$ $ cp css_encrypted ../../../linux 64/bit/&lt;/P&gt;&lt;P&gt;Generated a PKI and tried to encrypt the image:&lt;BR /&gt;././release/linux 64/bit/css_encrypted -i csf_enc_boot_image.txt -open_flash.bin&lt;BR /&gt;Invalid argument: ImageIndexes&lt;/P&gt;&lt;P&gt;Then I tried to just remove this parameter, then cst gave this:&lt;/P&gt;&lt;P&gt;Invalid command: InstallSecretKey is illegal for given target&lt;/P&gt;&lt;P&gt;Can you tell me, please, where you can read more about the css file parameters and preferably encryption on imx8 in general?&lt;/P&gt;</description>
    <pubDate>Fri, 29 Oct 2021 12:43:19 GMT</pubDate>
    <dc:creator>BrainKub</dc:creator>
    <dc:date>2021-10-29T12:43:19Z</dc:date>
    <item>
      <title>i.mx8 ahab encryption</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1358055#M181785</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Hello! I'm trying to encrypt the uboot image using AHAB. I built an imx cst with encryption support and when trying to encrypt the image, it gives an error: I&lt;STRONG&gt;nvalid argument: ImageIndexes&lt;/STRONG&gt;. Tell me how to solve this problem, where to get the value of image indexes? I tried to set 0 and the default value was 0xFFFFFFFE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Oct 2021 18:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1358055#M181785</guid>
      <dc:creator>BrainKub</dc:creator>
      <dc:date>2021-10-19T18:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx8 ahab encryption</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1358506#M181818</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190430"&gt;@BrainKub&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; please provide the sequence to reproduce the issue.&lt;/P&gt;
&lt;P&gt;Also:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/encrypted_boot.txt?h=imx_v2020.04_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/encrypted_boot.txt?h=imx_v2020.04_5.4.70_2.3.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 08:57:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1358506#M181818</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-10-20T08:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx8 ahab encryption</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1358705#M181831</link>
      <description>&lt;P&gt;I did it according to the instruction&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/ahab/guides/mx8_mx8x_encrypted_boot.txt?h=imx_v2020.04_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/ahab/guides/mx8_mx8x_encrypted_boot.txt?h=imx_v2020.04_5.4.70_2.3.0&lt;/A&gt;&lt;BR /&gt;Built u boot with parameters:&lt;BR /&gt;CONFIG_AHAB_BOOT=y&lt;BR /&gt;CONFIG_CMD_DEKBLOB=y&lt;BR /&gt;CONFIG_IMG_SECO_DEK_ENCAP=y&lt;BR /&gt;CONFIG_FAT_WRITE=y&lt;BR /&gt;took csf from the example and tried to encrypt the image. But I didn't really understand where to get the value of the image indexes parameter. Perhaps I have it incorrectly defined..&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 14:03:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1358705#M181831</guid>
      <dc:creator>BrainKub</dc:creator>
      <dc:date>2021-10-20T14:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx8 ahab encryption</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1363930#M182328</link>
      <description>&lt;P&gt;I built flash.bin with parameters:&lt;BR /&gt;CONFIG_AHAB_BOOT=y&lt;BR /&gt;CONFIG_CMD_DEKBLOB=y&lt;BR /&gt;CONFIG_IMG_SECO_DEK_ENCAP=y&lt;BR /&gt;CONFIG_FAT_WRITE=y&lt;BR /&gt;Built an imx code signing tool with encryption support:&lt;BR /&gt;$ sudo apt-get install libssl-dev openssl&lt;BR /&gt;$ cd &amp;lt;CST install directory&amp;gt;/code/back_end/src&lt;BR /&gt;$ $ gcc -o css_encrypted -I ../dr -L ../../../linux 64/lib *.cl frontend -lcrypto&lt;BR /&gt;$ $ cp css_encrypted ../../../linux 64/bit/&lt;/P&gt;&lt;P&gt;Generated a PKI and tried to encrypt the image:&lt;BR /&gt;././release/linux 64/bit/css_encrypted -i csf_enc_boot_image.txt -open_flash.bin&lt;BR /&gt;Invalid argument: ImageIndexes&lt;/P&gt;&lt;P&gt;Then I tried to just remove this parameter, then cst gave this:&lt;/P&gt;&lt;P&gt;Invalid command: InstallSecretKey is illegal for given target&lt;/P&gt;&lt;P&gt;Can you tell me, please, where you can read more about the css file parameters and preferably encryption on imx8 in general?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 12:43:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1363930#M182328</guid>
      <dc:creator>BrainKub</dc:creator>
      <dc:date>2021-10-29T12:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx8 ahab encryption</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1392446#M185094</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190430"&gt;@BrainKub&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Code-Signing Tool User’s Guide describes the image indexes parameter.&lt;BR /&gt;&lt;BR /&gt;Image Indexes&amp;nbsp; - List of images that will be encrypted.&amp;nbsp; Mask of bits (by default, all images are&lt;BR /&gt;encrypted)&lt;/P&gt;
&lt;P&gt;Image Indexes = 0xFFFFFFFE /* Image index 0 not encrypted */&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 05:44:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx8-ahab-encryption/m-p/1392446#M185094</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-12-28T05:44:39Z</dc:date>
    </item>
  </channel>
</rss>

