<?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: how to authenticate dtb togeter with zImage? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1177116#M164434</link>
    <description>&lt;P&gt;we use imx6ull in our product, and use nxp's linux-imx-5.4.24.&lt;/P&gt;&lt;P&gt;1、do you mean sign a dtb the same as sign a zImage, except&amp;nbsp;&lt;SPAN&gt;DTB load_address and size?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2、and is the signed dtb&amp;nbsp;layout the same as zImage's?&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="content"&gt;&lt;TABLE class="blob"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="lines"&gt;&lt;DIV class="highlight"&gt;&lt;PRE&gt;The diagram below illustrate the zImage layout:

            ------- +-----------------------------+ &amp;lt;-- *load_address
                ^   |                             |
                |   |                             |
                |   |                             |
                |   |                             |
                |   |           zImage/dtb?        
         Signed |   |                             |
          Data  |   |                             |
                |   |                             |
                |   +-----------------------------+
                |   |    Padding Next Boundary    |
                |   +-----------------------------+ &amp;lt;-- *ivt
                v   |     Image Vector Table      |
            ------- +-----------------------------+ &amp;lt;-- *csf
                    |                             |
                    | Command Sequence File (CSF) |
                    |                             |
                    +-----------------------------+
                    |     Padding (optional)      |
                    +-----------------------------+&lt;/PRE&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;3、is there any software interface to &lt;SPAN&gt;authenticate&amp;nbsp;zImage in user space(eg. rootfs) before update zImage?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Nov 2020 09:23:52 GMT</pubDate>
    <dc:creator>changbaoma</dc:creator>
    <dc:date>2020-11-03T09:23:52Z</dc:date>
    <item>
      <title>how to authenticate dtb togeter with zImage?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1174162#M164127</link>
      <description>&lt;P&gt;now i have sucess to signature single&amp;nbsp;zImage, and sucess to hab_auth_img without any&amp;nbsp;HAB Events found.&lt;/P&gt;&lt;P&gt;=&amp;gt; hab_auth_img 80800000 585000&lt;/P&gt;&lt;P&gt;Authenticate image from DDR location 0x80800000...&lt;/P&gt;&lt;P&gt;Secure boot enabled&lt;/P&gt;&lt;P&gt;HAB Configuration: 0xcc, HAB State: 0x99&lt;BR /&gt;No HAB Events Found!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And now i want to&amp;nbsp;&amp;nbsp;signature dtb too,&amp;nbsp; but i don't know how to do?&lt;/P&gt;&lt;P&gt;Any help is appresiated.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 02:30:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1174162#M164127</guid>
      <dc:creator>changbaoma</dc:creator>
      <dc:date>2020-10-28T02:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to authenticate dtb togeter with zImage?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1176927#M164411</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/63946"&gt;@changbaoma&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; What i.MX device is used in the case?&lt;BR /&gt;What Linux release?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 03:26:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1176927#M164411</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-11-03T03:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to authenticate dtb togeter with zImage?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1177035#M164426</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/63946"&gt;@changbaoma&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Basically the DTB may be signed in the same manner as kernel.&lt;BR /&gt;Please look at section 5.8 (Extending the root of trust) of app note &lt;BR /&gt;AN4581 (i.MX Secure Boot on HABv4 Supported Devices, Rev. 4, June 2020).&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4581.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN4581.pdf &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also section 2 ( Extending the root of trust) will be helpful.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt?h=imx_v2018.03_4.14.98_2.0.0_ga" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt?h=imx_v2018.03_4.14.98_2.0.0_ga &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Use U-boot environment to define what parameters / addresses are used&lt;BR /&gt;in Your system for DTB load.&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, 03 Nov 2020 06:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1177035#M164426</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-11-03T06:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to authenticate dtb togeter with zImage?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1177116#M164434</link>
      <description>&lt;P&gt;we use imx6ull in our product, and use nxp's linux-imx-5.4.24.&lt;/P&gt;&lt;P&gt;1、do you mean sign a dtb the same as sign a zImage, except&amp;nbsp;&lt;SPAN&gt;DTB load_address and size?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2、and is the signed dtb&amp;nbsp;layout the same as zImage's?&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="content"&gt;&lt;TABLE class="blob"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="lines"&gt;&lt;DIV class="highlight"&gt;&lt;PRE&gt;The diagram below illustrate the zImage layout:

            ------- +-----------------------------+ &amp;lt;-- *load_address
                ^   |                             |
                |   |                             |
                |   |                             |
                |   |                             |
                |   |           zImage/dtb?        
         Signed |   |                             |
          Data  |   |                             |
                |   |                             |
                |   +-----------------------------+
                |   |    Padding Next Boundary    |
                |   +-----------------------------+ &amp;lt;-- *ivt
                v   |     Image Vector Table      |
            ------- +-----------------------------+ &amp;lt;-- *csf
                    |                             |
                    | Command Sequence File (CSF) |
                    |                             |
                    +-----------------------------+
                    |     Padding (optional)      |
                    +-----------------------------+&lt;/PRE&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;3、is there any software interface to &lt;SPAN&gt;authenticate&amp;nbsp;zImage in user space(eg. rootfs) before update zImage?&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Nov 2020 09:23:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1177116#M164434</guid>
      <dc:creator>changbaoma</dc:creator>
      <dc:date>2020-11-03T09:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to authenticate dtb togeter with zImage?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1177721#M164496</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/63946"&gt;@changbaoma&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1) yes - in general Your understanding is correct.&lt;BR /&gt;&amp;nbsp; 2) U-boot uses HAB ROM API for authentication, but we do not have&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Linux user space for HAB ROM.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 06:57:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/how-to-authenticate-dtb-togeter-with-zImage/m-p/1177721#M164496</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-11-04T06:57:10Z</dc:date>
    </item>
  </channel>
</rss>

