<?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中的主题 Re: adding optee hangs secure boot</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1733517#M213539</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191131"&gt;@greeran&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;Please try making changes in&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;CFG_DDR_SIZE&lt;/STRONG&gt; at&lt;A href="https://github.com/nxp-imx/imx-optee-os/blob/lf-5.15.32_2.0.0/core/arch/arm/plat-imx/conf.mk#L381" target="_self"&gt;&amp;nbsp;imx-optee-os/core/arch/arm/plat-imx&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/nxp-imx/imx-optee-os/blob/lf-5.15.32_2.0.0/core/arch/arm/plat-imx/conf.mk" target="_self"&gt;/conf.mk&lt;/A&gt;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/imx-optee-os/blob/lf-5.15.32_2.0.0/core/arch/arm/plat-imx/conf.mk" target="_self"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please make sure that you have updated&amp;nbsp; &lt;STRONG&gt;[Authenticate Data] Blocks&lt;/STRONG&gt; in CSF&amp;nbsp;according to generate info using&amp;nbsp;print_fit_hab when op-tee is enabled.&lt;/P&gt;
&lt;P&gt;Please make sure that you have referred to&lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/doc/imx/habv4/guides/mx8m_secure_boot.txt" target="_self"&gt;&amp;nbsp;/doc/imx/habv4/guides/mx8m_secure_boot.txt&lt;/A&gt; in uboot-imx.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 06:07:44 GMT</pubDate>
    <dc:creator>Dhruvit</dc:creator>
    <dc:date>2023-10-04T06:07:44Z</dc:date>
    <item>
      <title>adding optee hangs secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1732481#M213439</link>
      <description>&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;i would like to secure my imx8mp. i added a secure boot (HAB) and fit image that verifies the rootfs. the boot flow is secure and successful. now i would like to add optee but when i add configuration for optee the boot flow hangs (freezes). the configuration i add&lt;/P&gt;&lt;P&gt;conf:&lt;/P&gt;&lt;P&gt;MACHINE_FEATURES:append = " optee"&lt;BR /&gt;DISTRO_FEATURES:append = " optee"&lt;/P&gt;&lt;P&gt;TEE_CFG_DDR_SIZE = "0x100000000"&lt;/P&gt;&lt;P&gt;image:&lt;/P&gt;&lt;P&gt;IMAGE_INSTALL:append = " optee-os optee-client optee-test"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on boot i get:&lt;/P&gt;&lt;P&gt;U-Boot SPL 2022.04-lf_v2022.04_var01+g49ec7c516a (Jan 22 2023 - 09:08:56 +0000)&lt;BR /&gt;SEC0: RNG instantiated&lt;BR /&gt;Normal Boot&lt;BR /&gt;Trying to boot from BOOTROM&lt;BR /&gt;image offset 0x8000, pagesize 0x200, ivt offset 0x0&lt;BR /&gt;hab fuse not enabled&lt;/P&gt;&lt;P&gt;Authenticate image from DDR location 0x401fcdc0...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;does someone know what i am missing&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 08:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1732481#M213439</guid>
      <dc:creator>greeran</dc:creator>
      <dc:date>2023-10-02T08:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: adding optee hangs secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1733517#M213539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191131"&gt;@greeran&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;Please try making changes in&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;CFG_DDR_SIZE&lt;/STRONG&gt; at&lt;A href="https://github.com/nxp-imx/imx-optee-os/blob/lf-5.15.32_2.0.0/core/arch/arm/plat-imx/conf.mk#L381" target="_self"&gt;&amp;nbsp;imx-optee-os/core/arch/arm/plat-imx&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/nxp-imx/imx-optee-os/blob/lf-5.15.32_2.0.0/core/arch/arm/plat-imx/conf.mk" target="_self"&gt;/conf.mk&lt;/A&gt;&lt;/SPAN&gt;&lt;A href="https://github.com/nxp-imx/imx-optee-os/blob/lf-5.15.32_2.0.0/core/arch/arm/plat-imx/conf.mk" target="_self"&gt;&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please make sure that you have updated&amp;nbsp; &lt;STRONG&gt;[Authenticate Data] Blocks&lt;/STRONG&gt; in CSF&amp;nbsp;according to generate info using&amp;nbsp;print_fit_hab when op-tee is enabled.&lt;/P&gt;
&lt;P&gt;Please make sure that you have referred to&lt;A href="https://github.com/nxp-imx/uboot-imx/blob/lf_v2022.04/doc/imx/habv4/guides/mx8m_secure_boot.txt" target="_self"&gt;&amp;nbsp;/doc/imx/habv4/guides/mx8m_secure_boot.txt&lt;/A&gt; in uboot-imx.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Dhruvit Vasavada&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 06:07:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1733517#M213539</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-10-04T06:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: adding optee hangs secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1733617#M213553</link>
      <description>&lt;P&gt;hi Dhruvit&lt;/P&gt;&lt;P&gt;thanks for the reply. i went over the documents you sent and i see something that i cannot explain when the imx-boot creates the flash.bin. i am sending log.do_compile below&lt;/P&gt;&lt;P&gt;you can see that the tee.bin is found and its added to the fit image but in the print_fit_hab and [Authenticate Data] I do not see the TEE_LOAD_ADDR and in the list.&lt;/P&gt;&lt;P&gt;i am using Yocto and from the manual i added all the configuration needed in the conf so if you could point out what i am missing&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;BL32=tee.bin DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00970000 ../iMX8M/mkimage_fit_atf.sh imx8mp-var-dart-dt8mcustomboard-legacy.dtb &amp;gt; u-boot.its&lt;BR /&gt;bl31.bin size:&lt;BR /&gt;45392&lt;BR /&gt;Building with TEE support, make sure bl31.bin is compiled with spd. If you do not want tee, please delete tee.bin&lt;BR /&gt;tee.bin size:&lt;BR /&gt;550176&lt;BR /&gt;u-boot-nodtb.bin size:&lt;BR /&gt;1062752&lt;BR /&gt;imx8mp-var-dart-dt8mcustomboard-legacy.dtb size:&lt;BR /&gt;45568&lt;BR /&gt;mkimage -E -p 0x3000 -f u-boot.its u-boot.itb&lt;BR /&gt;FIT description: Configuration to load ATF before U-Boot&lt;BR /&gt;Created: Wed Oct 19 06:29:00 2022&lt;BR /&gt;Image 0 (uboot-1)&lt;BR /&gt;Description: U-Boot (64-bit)&lt;BR /&gt;Created: Wed Oct 19 06:29:00 2022&lt;BR /&gt;Type: Standalone Program&lt;BR /&gt;Compression: uncompressed&lt;BR /&gt;Data Size: 1062752 Bytes = 1037.84 KiB = 1.01 MiB&lt;BR /&gt;Architecture: AArch64&lt;BR /&gt;Load Address: 0x40200000&lt;BR /&gt;Entry Point: unavailable&lt;BR /&gt;Image 1 (fdt-1)&lt;BR /&gt;Description: imx8mp-var-dart-dt8mcustomboard-legacy&lt;BR /&gt;Created: Wed Oct 19 06:29:00 2022&lt;BR /&gt;Type: Flat Device Tree&lt;BR /&gt;Compression: uncompressed&lt;BR /&gt;Data Size: 45568 Bytes = 44.50 KiB = 0.04 MiB&lt;BR /&gt;Architecture: Unknown Architecture&lt;BR /&gt;Image 2 (atf-1)&lt;BR /&gt;Description: ARM Trusted Firmware&lt;BR /&gt;Created: Wed Oct 19 06:29:00 2022&lt;BR /&gt;Type: Firmware&lt;BR /&gt;Compression: uncompressed&lt;BR /&gt;Data Size: 45392 Bytes = 44.33 KiB = 0.04 MiB&lt;BR /&gt;Architecture: AArch64&lt;BR /&gt;OS: Unknown OS&lt;BR /&gt;Load Address: 0x00970000&lt;BR /&gt;Image 3 (tee-1)&lt;BR /&gt;Description: TEE firmware&lt;BR /&gt;Created: Wed Oct 19 06:29:00 2022&lt;BR /&gt;Type: Firmware&lt;BR /&gt;Compression: uncompressed&lt;BR /&gt;Data Size: 550176 Bytes = 537.28 KiB = 0.52 MiB&lt;BR /&gt;Architecture: AArch64&lt;BR /&gt;OS: Unknown OS&lt;BR /&gt;Load Address: 0x56000000&lt;BR /&gt;Default Configuration: 'config-1'&lt;BR /&gt;Configuration 0 (config-1)&lt;BR /&gt;Description: imx8mp-var-dart-dt8mcustomboard-legacy&lt;BR /&gt;Kernel: unavailable&lt;BR /&gt;Firmware: uboot-1&lt;BR /&gt;FDT: fdt-1&lt;BR /&gt;Loadables: atf-1&lt;BR /&gt;tee-1&lt;BR /&gt;./mkimage_imx8 -version v2 -fit -loader u-boot-spl-ddr.bin 0x920000 -second_loader u-boot.itb 0x40200000 0x60000 -out flash.bin &amp;gt; hab.log 2&amp;lt;&amp;amp;1&lt;BR /&gt;./../scripts/pad_image.sh tee.bin&lt;BR /&gt;./../scripts/pad_image.sh bl31.bin&lt;BR /&gt;./../scripts/pad_image.sh u-boot-nodtb.bin imx8mp-var-dart-dt8mcustomboard-legacy.dtb&lt;BR /&gt;TEE_LOAD_ADDR=0x56000000 ATF_LOAD_ADDR=0x00970000 VERSION=v2 ../iMX8M/print_fit_hab.sh 0x60000 imx8mp-var-dart-dt8mcustomboard-legacy.dtb &amp;gt; hab2.log 2&amp;lt;&amp;amp;1&lt;BR /&gt;csf_assemble&lt;BR /&gt;csf_assemble 1&lt;BR /&gt;csf_assemble 1 SPL_BLOCKS 0x91ffc0 0x0 0x33800 "flash.bin"&lt;BR /&gt;csf_assemble 2&lt;BR /&gt;csf_assemble 2 FIT_BLOCK_1: 0x401fcdc0 0x58000 0x1020 "flash.bin"&lt;BR /&gt;csf_assemble 2 FIT_BLOCK_2: 0x40200000 0x5B000 0x103760 "flash.bin"&lt;BR /&gt;csf_assemble 2 FIT_BLOCK_3: 0x40303760 0x15E760 0xB200 "flash.bin"&lt;BR /&gt;csf_assemble 2 FIT_BLOCK_4: 0x970000 0x169960 0xB150 "flash.bin"&lt;BR /&gt;csf_assemble 3 csf_spl.bin&lt;BR /&gt;[Header]&lt;BR /&gt;Version = 4.3&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;[Install SRK]&lt;BR /&gt;File = "/workdir/build_secure_real/../keys/cst-3.3.1/crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;BR /&gt;[Install CSFK]&lt;BR /&gt;File = "/workdir/build_secure_real/../keys/cst-3.3.1/crts/CSF1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;BR /&gt;[Authenticate CSF]&lt;BR /&gt;[Unlock]&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;Features = MID&lt;BR /&gt;[Install Key]&lt;BR /&gt;Verification index = 0&lt;BR /&gt;Target Index = 2&lt;BR /&gt;File = "/workdir/build_secure_real/../keys/cst-3.3.1/crts/IMG1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;BR /&gt;[Authenticate Data]&lt;BR /&gt;Verification index = 2&lt;BR /&gt;Blocks = 0x91ffc0 0x0 0x33800 "flash.bin"&lt;BR /&gt;CSF Processed successfully and signed data available in csf_spl.bin&lt;BR /&gt;csf_assemble 3 csf_fit.bin&lt;BR /&gt;[Header]&lt;BR /&gt;Version = 4.3&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine = CAAM&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;[Install SRK]&lt;BR /&gt;File = "/workdir/build_secure_real/../keys/cst-3.3.1/crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;BR /&gt;[Install CSFK]&lt;BR /&gt;File = "/workdir/build_secure_real/../keys/cst-3.3.1/crts/CSF1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;BR /&gt;[Authenticate CSF]&lt;BR /&gt;[Install Key]&lt;BR /&gt;Verification index = 0&lt;BR /&gt;Target Index = 2&lt;BR /&gt;File = "/workdir/build_secure_real/../keys/cst-3.3.1/crts/IMG1_1_sha256_4096_65537_v3_usr_crt.pem"&lt;BR /&gt;[Authenticate Data]&lt;BR /&gt;Verification index = 2&lt;BR /&gt;Blocks = 0x401fcdc0 0x58000 0x1020 "flash.bin", \&lt;BR /&gt;0x40200000 0x5B000 0x103760 "flash.bin", \&lt;BR /&gt;0x40303760 0x15E760 0xB200 "flash.bin", \&lt;BR /&gt;0x970000 0x169960 0xB150 "flash.bin"&lt;BR /&gt;CSF Processed successfully and signed data available in csf_fit.bin&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 08:31:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1733617#M213553</guid>
      <dc:creator>greeran</dc:creator>
      <dc:date>2023-10-04T08:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: adding optee hangs secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1736651#M213800</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/191131"&gt;@greeran&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please refer to the below link and check the suggestion for&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;HAB event enabling on i.MX8mp&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;and share the observation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/imx8mp-HAB/m-p/1546498#M197035" target="_blank" rel="noopener" data-saferedirecturl="https://www.google.com/url?q=https://community.nxp.com/t5/i-MX-Processors/imx8mp-HAB/m-p/1546498%23M197035&amp;amp;source=gmail&amp;amp;ust=1697025271091000&amp;amp;usg=AOvVaw3Lz_jwTkVz3p-em-rZtRFW"&gt;https://community.nxp.com/t5/&lt;WBR /&gt;i-MX-Processors/imx8mp-HAB/m-&lt;WBR /&gt;p/1546498#M197035&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope it helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dhruvit Vasavada&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2023 14:27:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1736651#M213800</guid>
      <dc:creator>Dhruvit</dc:creator>
      <dc:date>2023-10-10T14:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: adding optee hangs secure boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1752325#M215246</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i found out what freezes the boot with optee. it seems that when i add the "CFG_TEE_TA_LOG_LEVEL=4 CFG_TEE_CORE_LOG_LEVEL=4" configuration to the optee-os bbappend the boot freezes. without does configuration the boot is successful the the optee loads well also&lt;/P&gt;</description>
      <pubDate>Sun, 05 Nov 2023 08:35:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/adding-optee-hangs-secure-boot/m-p/1752325#M215246</guid>
      <dc:creator>greeran</dc:creator>
      <dc:date>2023-11-05T08:35:22Z</dc:date>
    </item>
  </channel>
</rss>

