<?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: optee test failed when HSE enabled based on SDK BSP41 on RDB3 v1.1 board in S32G</title>
    <link>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1899451#M7437</link>
    <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135277"&gt;@hittzt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the question.&lt;/P&gt;
&lt;P&gt;I checked it with the same configuration with my local RDB3(1.1 silicon).&lt;/P&gt;
&lt;P&gt;Seems no such issues from side, would you please double check your test, my log is attached for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 09:58:17 GMT</pubDate>
    <dc:creator>chenyin_h</dc:creator>
    <dc:date>2024-07-04T09:58:17Z</dc:date>
    <item>
      <title>optee test failed when HSE enabled based on SDK BSP41 on RDB3 v1.1 board</title>
      <link>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1897250#M7409</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently, I tested optee feature, and found that when hse enabled, the optee will fail, messages as following:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;NOTICE: Reset status: Power-On Reset&lt;BR /&gt;NOTICE: BL2: v2.10.0 (release):bsp41.0-2.10&lt;BR /&gt;NOTICE: BL2: Built : 09:32:10, May 27 2024&lt;BR /&gt;NOTICE: BL2: Booting BL31&lt;BR /&gt;I/TC:&lt;BR /&gt;I/TC: Non-secure external DT found&lt;BR /&gt;I/TC: OP-TEE version: bsp41.0-4.0-dev (gcc version 11.4.0 (GCC)) #1 Thu May 23 14:46:51 UTC 2024 aarch64&lt;BR /&gt;I/TC: WARNING: This OP-TEE configuration might be insecure!&lt;BR /&gt;I/TC: WARNING: Please check &lt;A href="https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html" target="_blank" rel="noopener"&gt;https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html&lt;/A&gt;&lt;BR /&gt;I/TC: Primary CPU initializing&lt;BR /&gt;E/TC:0 0 crypto_driver_init:1224 Firmware not initialised&lt;BR /&gt;E/TC:0 0 crypto_driver_init:1336 HSE Crypto Driver init failed with err 0xffff0007&lt;BR /&gt;E/TC:0 0 call_initcalls:43 Initcall __text_start + 0x00075b28 failed&lt;BR /&gt;I/TC: WARNING: Using fixed value for stack canary&lt;BR /&gt;I/TC: Primary CPU switching to normal world boot&lt;BR /&gt;I/TC: WARNING: Using fixed value for stack canary&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;...&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Auto Linux BSP 41.0 s32g399ardb3 ttyLF0&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;s32g399ardb3 login: root&lt;BR /&gt;root@s32g399ardb3:~#&lt;BR /&gt;root@s32g399ardb3:~#&lt;BR /&gt;root@s32g399ardb3:~# xtest -l 15&lt;BR /&gt;Run test suite Iith WARNING (i&lt;BR /&gt;sEE re t npiguration)started ovo get monotTnE instanee for REE ##,#u#i####&lt;BR /&gt;##################################&lt;BR /&gt;#&lt;BR /&gt;# regression&lt;BR /&gt;#&lt;BR /&gt;######################################################&lt;BR /&gt;&lt;BR /&gt;* regression_1E/LD: e ie_f tes8s sys_open_ta_bin(d96a5b40-c3e5-21e3-8794-1002a5d5c61b)&lt;BR /&gt;E/TC:? 0 ldelf_init_with_ldelf:152 ldelf failed with res: 0xffff0001&lt;BR /&gt;/usr/src/debug/optee-test/4.0.0-r0/git/host/xtest/regression_1000.c:299: res has an unexpected value: 0xffff0001 = E/ED_ERiOR_ACCf:486 sys_o ex_eatbdn(d96a5b40-cSUCCESS3&lt;BR /&gt;7r4-1002a5d510s&lt;BR /&gt;iled with res: 0xffff0001&lt;BR /&gt;/usr/src/debug/optee-test/4.0.0-r0/git/host/xtest/regression_1000.c:338: res has an unexpected value: 0xffff0001 = TEEC_ERROR_ACCESS_DENIED, expected 0x0 = TEEC_SUCCESS&lt;BR /&gt;/usr/src/debug/optee-test/4.0.0-r0/git/host/xtest/regression_1000.c:350: TEEC_InvokeCommand( &amp;amp;session, 1, &amp;amp;op, &amp;amp;ret_orig) has an unexpected value: 0xffff0006 = TEEC_ERROR_BAD_PARAMETERS&lt;BR /&gt;Segmentation fault&lt;BR /&gt;root@s32g399ardb3:~#&lt;BR /&gt;root@s32g399ardb3:~# uname -a&lt;BR /&gt;Linux s32g399ardb3 6.6.25-rt29-g8c8864ffb5db #1 SMP PREEMPT Mon May 27 16:30:16 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux&lt;BR /&gt;&lt;A href="mailto:root@s32g399ardb3:~" target="_blank" rel="noopener"&gt;root@s32g399ardb3:~#&lt;/A&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the hse firmware is v0.2.51.0 for S32G3 v1.1 version, and the following line:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;DISTRO_FEATURES:append = " hse optee"&lt;/P&gt;&lt;P&gt;is added into the conf/local.conf of the bsp41 project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The whole test log is attached.&lt;/P&gt;&lt;P&gt;Would you please help to check the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhantao&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2024 07:28:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1897250#M7409</guid>
      <dc:creator>hittzt</dc:creator>
      <dc:date>2024-07-02T07:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: optee test failed when HSE enabled based on SDK BSP41 on RDB3 v1.1 board</title>
      <link>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1899451#M7437</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135277"&gt;@hittzt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the question.&lt;/P&gt;
&lt;P&gt;I checked it with the same configuration with my local RDB3(1.1 silicon).&lt;/P&gt;
&lt;P&gt;Seems no such issues from side, would you please double check your test, my log is attached for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 09:58:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1899451#M7437</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-07-04T09:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: optee test failed when HSE enabled based on SDK BSP41 on RDB3 v1.1 board</title>
      <link>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1904187#M8174</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24163"&gt;@chenyin_h&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;And I checked the log you attached, it seems that, you boot the board 2 times and in 1st time, there are following info in BL31 stage:&lt;/P&gt;&lt;P&gt;NOTICE: BL2: Booting BL31&lt;BR /&gt;I/TC:&lt;BR /&gt;I/TC: Non-secure external DT found&lt;BR /&gt;I/TC: OP-TEE version: bsp41.0-4.0-dev (gcc version 11.4.0 (GCC)) #1 Thu May 23 14:46:51 UTC 2024 aarch64&lt;BR /&gt;I/TC: WARNING: This OP-TEE configuration might be insecure!&lt;BR /&gt;I/TC: WARNING: Please check &lt;A href="https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html" target="_blank"&gt;https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html&lt;/A&gt;&lt;BR /&gt;I/TC: Primary CPU initializing&lt;BR /&gt;E/TC:0 0 crypto_driver_init:1224 Firmware not initialised&lt;BR /&gt;E/TC:0 0 crypto_driver_init:1336 HSE Crypto Driver init failed with err 0xffff0007&lt;BR /&gt;E/TC:0 0 call_initcalls:43 Initcall __text_start + 0x00075b28 failed&lt;BR /&gt;I/TC: WARNING: Using fixed value for stack canary&lt;BR /&gt;I/TC: Primary CPU switching to normal world boot&lt;BR /&gt;I/TC: WARNING: Using fixed value for stack canary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in 2nd time, the board boots up normally.&lt;/P&gt;&lt;P&gt;So I want to know if there are any difference between the 1st and 2nd boot?&lt;/P&gt;&lt;P&gt;And which HSE firmware version you used for test?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhantao&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 10:43:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1904187#M8174</guid>
      <dc:creator>hittzt</dc:creator>
      <dc:date>2024-07-09T10:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: optee test failed when HSE enabled based on SDK BSP41 on RDB3 v1.1 board</title>
      <link>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1905048#M8330</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135277"&gt;@hittzt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the reply.&lt;/P&gt;
&lt;P&gt;I was using firmware 0.2.51 as told by the BSP41 release notes.&lt;/P&gt;
&lt;P&gt;Briefly speaking, enable the OP-TEE Crypto Driver upon booting a freshly built FIP Image, the HSE OP-TEE Driver fails during its first initialization. This happens because the Key Catalog is not yet formatted at that point. The only way to format the catalog is to build the hse-secboot example, and run it in the Linux user space. Reset the board once the operation is complete, there should be no errors displayed by the HSE OP-TEE Driver during any subsequent initializations and the driver should function properly.&lt;/P&gt;
&lt;P&gt;Hope it helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 04:15:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1905048#M8330</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-07-10T04:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: optee test failed when HSE enabled based on SDK BSP41 on RDB3 v1.1 board</title>
      <link>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1905982#M8390</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24163"&gt;@chenyin_h&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your helpful reply.&lt;/P&gt;&lt;P&gt;Now I know how to enable the optee with hse existed.&lt;/P&gt;&lt;P&gt;But in 2nd time bootup, there still have messges like:&lt;/P&gt;&lt;P&gt;E/TC:0 0 hse_copy_and_extract:145 HSE Export Key service request failed&lt;BR /&gt;E/TC:0 0 hse_retrieve_huk:192 Copy and Export Step failed&lt;BR /&gt;E/TC:0 0 hse_retrieve_huk:203 HW Unique Key request failed with err 0xffff0007&lt;BR /&gt;I/TC: Could not retrieve HSE HUK. Using default HUK&lt;BR /&gt;I/TC: HSE is successfully initialized&lt;BR /&gt;I/TC: Primary CPU switching to normal world boot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this the right status?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhantao&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2024 07:47:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1905982#M8390</guid>
      <dc:creator>hittzt</dc:creator>
      <dc:date>2024-07-11T07:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: optee test failed when HSE enabled based on SDK BSP41 on RDB3 v1.1 board</title>
      <link>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1906706#M8406</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/135277"&gt;@hittzt&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the feedback.&lt;/P&gt;
&lt;P&gt;In general, I often reference the log of "I/TC: HSE is successfully initialized", where HSE is initialized.&lt;/P&gt;
&lt;P&gt;From the functional test in kernel, seems there are no issues for this feature.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 02:55:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1906706#M8406</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-07-12T02:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: optee test failed when HSE enabled based on SDK BSP41 on RDB3 v1.1 board</title>
      <link>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1908198#M8512</link>
      <description>&lt;P&gt;OK, got it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Zhantao&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 02:43:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1908198#M8512</guid>
      <dc:creator>hittzt</dc:creator>
      <dc:date>2024-07-15T02:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: optee test failed when HSE enabled based on SDK BSP41 on RDB3 v1.1 board</title>
      <link>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1997034#M11765</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I have the same message from secure boot step after formatting the key store with hse-secboot utility.&lt;/P&gt;&lt;P&gt;And the BOOT_SEQ bit in the IVT, at offset 0x48, is unchanged (00e4). That means the board is still in insecure mode.&lt;/P&gt;&lt;P&gt;How to switch in secure mode ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Jerome&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 09:43:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/optee-test-failed-when-HSE-enabled-based-on-SDK-BSP41-on-RDB3-v1/m-p/1997034#M11765</guid>
      <dc:creator>jeromelf</dc:creator>
      <dc:date>2024-11-19T09:43:50Z</dc:date>
    </item>
  </channel>
</rss>

