<?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のトピックSecurity- HAB feature i.MX8 platform</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Security-HAB-feature-i-MX8-platform/m-p/1342603#M180335</link>
    <description>&lt;DIV&gt;Hi All&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We are working on a custom platform based on i.MX8. At present we are exercising the HAB feature enabling on the platform.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://boundarydevices.com/high-assurance-boot-hab-i-mx8m-edition/" target="_blank" rel="noopener"&gt;&amp;nbsp;https://boundarydevices.com/high-assurance-boot-hab-i-mx8m-edition/&amp;nbsp;&lt;/A&gt;&amp;nbsp;has been referred for first and second stage verification for HAB procedures.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;U Boot source in&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;android/vendor/boundary/uboot-imx&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;is used with HAB feature enabled from menuconfig.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;We have not fused any keys yet on to the platform and the secure boot fuse is also not configured yet.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Post flashing both the images on the board in boot-loader the following was verified&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;hab_status command is returning&amp;nbsp;no HAB events.&lt;/LI&gt;&lt;LI&gt;Signed kernel image was verified&amp;nbsp;manually by hab_auth_img cmd and this as well returned no HAB events.&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We added additional prints in&amp;nbsp;arch/arm/mach-imx/hab.c function imx_hab_authenticate_image .&lt;/DIV&gt;&lt;DIV&gt;In this function enabled DEBUG prints to check HAB verification details based on image load address.&lt;/DIV&gt;&lt;DIV&gt;The following is the observation of the same on normal boot of Ident platform to Android.&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;We are noticing prints of HAB verification&amp;nbsp;details for boot-loader load address 0x401fcdc0.&lt;/LI&gt;&lt;LI&gt;However we do not see such a print for kernel verification&amp;nbsp; from the boot-loader for load address 0x40480000.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;While working on this we came across&amp;nbsp;&lt;A href="https://github.com/boundarydevices/u-boot-imx6/commit/a20a5ee3c0" target="_blank" rel="noopener"&gt;https://github.com/boundarydevices/u-boot-imx6/commit/a20a5ee3c0&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;patch..&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is something similar will have to be done to get kernel HAB verified in boot-loader ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any input is appreciated and will be very useful.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Keerthi&lt;/DIV&gt;</description>
    <pubDate>Mon, 20 Sep 2021 05:47:15 GMT</pubDate>
    <dc:creator>keerthi-karanth</dc:creator>
    <dc:date>2021-09-20T05:47:15Z</dc:date>
    <item>
      <title>Security- HAB feature i.MX8 platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Security-HAB-feature-i-MX8-platform/m-p/1342603#M180335</link>
      <description>&lt;DIV&gt;Hi All&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We are working on a custom platform based on i.MX8. At present we are exercising the HAB feature enabling on the platform.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="https://boundarydevices.com/high-assurance-boot-hab-i-mx8m-edition/" target="_blank" rel="noopener"&gt;&amp;nbsp;https://boundarydevices.com/high-assurance-boot-hab-i-mx8m-edition/&amp;nbsp;&lt;/A&gt;&amp;nbsp;has been referred for first and second stage verification for HAB procedures.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;U Boot source in&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;android/vendor/boundary/uboot-imx&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;is used with HAB feature enabled from menuconfig.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;We have not fused any keys yet on to the platform and the secure boot fuse is also not configured yet.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Post flashing both the images on the board in boot-loader the following was verified&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;hab_status command is returning&amp;nbsp;no HAB events.&lt;/LI&gt;&lt;LI&gt;Signed kernel image was verified&amp;nbsp;manually by hab_auth_img cmd and this as well returned no HAB events.&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;We added additional prints in&amp;nbsp;arch/arm/mach-imx/hab.c function imx_hab_authenticate_image .&lt;/DIV&gt;&lt;DIV&gt;In this function enabled DEBUG prints to check HAB verification details based on image load address.&lt;/DIV&gt;&lt;DIV&gt;The following is the observation of the same on normal boot of Ident platform to Android.&lt;/DIV&gt;&lt;DIV&gt;&lt;UL&gt;&lt;LI&gt;We are noticing prints of HAB verification&amp;nbsp;details for boot-loader load address 0x401fcdc0.&lt;/LI&gt;&lt;LI&gt;However we do not see such a print for kernel verification&amp;nbsp; from the boot-loader for load address 0x40480000.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;While working on this we came across&amp;nbsp;&lt;A href="https://github.com/boundarydevices/u-boot-imx6/commit/a20a5ee3c0" target="_blank" rel="noopener"&gt;https://github.com/boundarydevices/u-boot-imx6/commit/a20a5ee3c0&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;patch..&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is something similar will have to be done to get kernel HAB verified in boot-loader ?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any input is appreciated and will be very useful.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Keerthi&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Sep 2021 05:47:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Security-HAB-feature-i-MX8-platform/m-p/1342603#M180335</guid>
      <dc:creator>keerthi-karanth</dc:creator>
      <dc:date>2021-09-20T05:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Security- HAB feature i.MX8 platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Security-HAB-feature-i-MX8-platform/m-p/1344936#M180525</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191510"&gt;@keerthi-karanth&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; please use recommendations of U-boot help.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx8m_secure_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/mx8m_secure_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;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 09:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Security-HAB-feature-i-MX8-platform/m-p/1344936#M180525</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-09-23T09:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Security- HAB feature i.MX8 platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Security-HAB-feature-i-MX8-platform/m-p/1347324#M180721</link>
      <description>&lt;P&gt;Hello Yuri&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have followed the HAB procedure , signing the kernel image is also fine and I loaded it with load mmc and checked with hab_auth_image as suggested in&amp;nbsp;&lt;A href="https://boundarydevices.com/high-assurance-boot-hab-i-mx8m-edition/" target="_self"&gt;https://boundarydevices.com/high-assurance-boot-hab-i-mx8m-edition/ &lt;/A&gt;&lt;/P&gt;&lt;P&gt;I get no HAB Events for both u-boot and kernel , that said I have not burned the fuses yet..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is there a way to use shadow register and verify the signed images are fine before burning the fuses ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. The platform is i.MX8mm and we are having Android Pie on it. Is the Kernel verification in HAB required as we will have AVB too ?&lt;/P&gt;&lt;P&gt;If Kernel verification in HAB is not required , any code of u-boot which does this has to be commented ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. AVB , keystore provisioing/rpmb keys etc. other security features, should any of these be done before burning the fuses for HAB ? we have not enabled any of these on the platform yet.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keerthi&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2021 06:54:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Security-HAB-feature-i-MX8-platform/m-p/1347324#M180721</guid>
      <dc:creator>keerthi-karanth</dc:creator>
      <dc:date>2021-09-28T06:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Security- HAB feature i.MX8 platform</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Security-HAB-feature-i-MX8-platform/m-p/1350550#M181056</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191510"&gt;@keerthi-karanth&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Theoretically it is possible to use the shadow register, but we do not have &lt;BR /&gt;considerations how to implement it.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp; As for Android - please refer to "i.MX Android Security User’s Guide".&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_ANDROID_SECURITY_USERS_GUIDE.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/user-guide/IMX_ANDROID_SECURITY_USERS_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 11:03:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Security-HAB-feature-i-MX8-platform/m-p/1350550#M181056</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2021-10-05T11:03:19Z</dc:date>
    </item>
  </channel>
</rss>

