<?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 Secure boot verifying bootloader and kernel: Same DTB file in both? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Secure-boot-verifying-bootloader-and-kernel-Same-DTB-file-in/m-p/1433345#M188571</link>
    <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I am trying to set up a secure boot for the bottloader and kernel in the iMX8MP following the instructions in the URL&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx8m_mx8mm_secure_boot.txt?h=imx_v2018.03_4.14.98_2.0.0_ga" target="_self"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx8m_mx8mm_secure_boot.txt?h=imx_v2018.03_4.14.98_2.0.0_ga&lt;/A&gt;&lt;/P&gt;&lt;P&gt;According to the instructions, a DTB file is required to assembly the signed bootloader:&lt;/P&gt;&lt;PRE&gt;1.3 Preparing the fit image
----------------------------

The imx-mkimage project is used to combines all the images in a single
flash.bin binary, the following files are required:

- U-Boot:
  u-boot.bin
  u-boot-nodtb.bin
  u-boot-spl.bin
  U-Boot DTB file (e.g. &lt;FONT color="#FF0000"&gt;fsl-imx8mq-evk.dtb&lt;/FONT&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then a DTB file is also required with the kernel, as can be seen in the CSF file in&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/csf_examples/additional_images/csf_additional_images.txt?h=imx_v2018.03_4.14.98_2.0.0_ga" target="_self"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/csf_examples/additional_images/csf_additional_images.txt?h=imx_v2018.03_4.14.98_2.0.0_ga.&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;[Authenticate Data]
    # Key slot index used to authenticate the image data
    Verification index = 2
    # Authenticate Start Address, Offset, Length and file
    Blocks = 0x80800000 0x00000000 0x006EA000 "zImage", \
	     0x83800000 0x00000000 0x0000B927 "&lt;FONT color="#FF0000"&gt;imx7d-sdb.dtb&lt;/FONT&gt;", \
	     0x84000000 0x00000000 0x000425B8 "uTee-7dsdb"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are these DTB files the same file? If not, which are the differences?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance and best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2022 09:19:30 GMT</pubDate>
    <dc:creator>Dial</dc:creator>
    <dc:date>2022-03-24T09:19:30Z</dc:date>
    <item>
      <title>Secure boot verifying bootloader and kernel: Same DTB file in both?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Secure-boot-verifying-bootloader-and-kernel-Same-DTB-file-in/m-p/1433345#M188571</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I am trying to set up a secure boot for the bottloader and kernel in the iMX8MP following the instructions in the URL&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx8m_mx8mm_secure_boot.txt?h=imx_v2018.03_4.14.98_2.0.0_ga" target="_self"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/guides/mx8m_mx8mm_secure_boot.txt?h=imx_v2018.03_4.14.98_2.0.0_ga&lt;/A&gt;&lt;/P&gt;&lt;P&gt;According to the instructions, a DTB file is required to assembly the signed bootloader:&lt;/P&gt;&lt;PRE&gt;1.3 Preparing the fit image
----------------------------

The imx-mkimage project is used to combines all the images in a single
flash.bin binary, the following files are required:

- U-Boot:
  u-boot.bin
  u-boot-nodtb.bin
  u-boot-spl.bin
  U-Boot DTB file (e.g. &lt;FONT color="#FF0000"&gt;fsl-imx8mq-evk.dtb&lt;/FONT&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But then a DTB file is also required with the kernel, as can be seen in the CSF file in&amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/csf_examples/additional_images/csf_additional_images.txt?h=imx_v2018.03_4.14.98_2.0.0_ga" target="_self"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/imx/habv4/csf_examples/additional_images/csf_additional_images.txt?h=imx_v2018.03_4.14.98_2.0.0_ga.&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;[Authenticate Data]
    # Key slot index used to authenticate the image data
    Verification index = 2
    # Authenticate Start Address, Offset, Length and file
    Blocks = 0x80800000 0x00000000 0x006EA000 "zImage", \
	     0x83800000 0x00000000 0x0000B927 "&lt;FONT color="#FF0000"&gt;imx7d-sdb.dtb&lt;/FONT&gt;", \
	     0x84000000 0x00000000 0x000425B8 "uTee-7dsdb"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are these DTB files the same file? If not, which are the differences?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much in advance and best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 09:19:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Secure-boot-verifying-bootloader-and-kernel-Same-DTB-file-in/m-p/1433345#M188571</guid>
      <dc:creator>Dial</dc:creator>
      <dc:date>2022-03-24T09:19:30Z</dc:date>
    </item>
  </channel>
</rss>

