<?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>LayerscapeのトピックRe: LSDK 21.08 OP-TEE breaks boot</title>
    <link>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2410287#M16843</link>
    <description>&lt;P&gt;It seems that there is problem with your u-boot.&lt;/P&gt;
&lt;P&gt;Would you please try whether it can work to boot normal u-boot(not secured) with OPTEE enabled?&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2026 03:58:22 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2026-09-02T03:58:22Z</dc:date>
    <item>
      <title>LSDK 21.08 OP-TEE breaks boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2409898#M16841</link>
      <description>&lt;P&gt;Custom board using LS1043AE have it secure booting just fine with no OP-TEE. Trying to introduce OP-TEE to the system and console outputs and hangs at:&lt;BR /&gt;&lt;BR /&gt;NOTICE: 2 GB DDR4, 32-bit, CL=11, ECC off&lt;BR /&gt;NOTICE: BL2: v2.4(release):LSDK-21.08-1-ga08bfddba-dirty&lt;BR /&gt;NOTICE: BL2: Built : 22:39:20, Aug 31 2026&lt;BR /&gt;NOTICE: Initializing &amp;amp; configuring SEC block.&lt;BR /&gt;NOTICE: Sec is already initialized and configured.&lt;BR /&gt;NOTICE: Verifying RSA&lt;BR /&gt;NOTICE: Verifying hash&lt;BR /&gt;NOTICE: Verifying RSA&lt;BR /&gt;NOTICE: Verifying hash&lt;BR /&gt;NOTICE: Verifying RSA&lt;BR /&gt;NOTICE: Verifying hash&lt;BR /&gt;NOTICE: BL2: Booting BL31&lt;BR /&gt;NOTICE: BL31: v2.4(release):LSDK-21.08-1-ga08bfddba-dirty&lt;BR /&gt;NOTICE: BL31: Built : 22:39:48, Aug 31 2026&lt;BR /&gt;NOTICE: Welcome to ls1043aerb BL31 Phase&lt;/P&gt;&lt;P&gt;According to Google/Gemini it thinks there is a problem with GIC. ATF and OP-TEE appear to be using 64k page aligned, but in a uboot dts it has it at a 4k page aligned. I don't think it's this issue, or at least not yet. Because it doesn't appear to Initialize OP-TEE at all.&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2026 06:01:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2409898#M16841</guid>
      <dc:creator>endrunner_smw</dc:creator>
      <dc:date>2026-09-01T06:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK 21.08 OP-TEE breaks boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2410287#M16843</link>
      <description>&lt;P&gt;It seems that there is problem with your u-boot.&lt;/P&gt;
&lt;P&gt;Would you please try whether it can work to boot normal u-boot(not secured) with OPTEE enabled?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2026 03:58:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2410287#M16843</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2026-09-02T03:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK 21.08 OP-TEE breaks boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2410714#M16851</link>
      <description>&lt;P&gt;I don't mind trying that, but what is that testing for? What are you currently thinking is possibly wrong with uboot? Since it works without optee I'm curious as to what could be wrong or what I should look for?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2026 22:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2410714#M16851</guid>
      <dc:creator>endrunner_smw</dc:creator>
      <dc:date>2026-09-02T22:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK 21.08 OP-TEE breaks boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2410748#M16853</link>
      <description>&lt;P&gt;What I would check first:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Rebuild TF-A in debug mode and confirm the exact stop point.&lt;/STRONG&gt;&lt;BR /&gt;Use&amp;nbsp;DEBUG=1 LOG_LEVEL=50&amp;nbsp;if practical, or add&amp;nbsp;NOTICE()&amp;nbsp;breadcrumbs in early BL31 platform code around:&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;UL&gt;
&lt;LI&gt;platform setup entry&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;UL&gt;
&lt;LI&gt;GIC init&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;UL&gt;
&lt;LI&gt;TZC/TZASC/TZPC setup&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;UL&gt;
&lt;LI&gt;secure payload dispatcher / OP-TEE setup&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;UL&gt;
&lt;LI&gt;BL32 entry-point preparation&lt;BR /&gt;NXP support guidance for similar LS1043A hangs is to add ATF/U-Boot debug prints or use CodeWarrior/JTAG to inspect where execution is stuck.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Verify the FIP actually contains BL32 and that BL31 was built with OP-TEE support.&lt;/STRONG&gt;&lt;BR /&gt;For OP-TEE in TF-A, the build must include&amp;nbsp;SPD=opteed&amp;nbsp;and&amp;nbsp;BL32=&amp;lt;tee.bin&amp;gt;&amp;nbsp;; for secure boot/NXP CoT, the secure TF-A build flow also includes&amp;nbsp;TRUSTED_BOARD_BOOT=1&amp;nbsp;,&amp;nbsp;CST_DIR=...&amp;nbsp;,&amp;nbsp;BL32=$TEE_BIN&amp;nbsp;,&amp;nbsp;SPD=opteed&amp;nbsp;, and&amp;nbsp;BL33=$UBOOT_SECURE_BIN&amp;nbsp;.&lt;BR /&gt;Run something like:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;fiptool info fip.bin&lt;/P&gt;
&lt;P&gt;and confirm BL31, BL32/OP-TEE, and BL33 are all present. If BL32 is missing or BL31 was not built with&amp;nbsp;SPD=opteed&amp;nbsp;, OP-TEE will never be entered.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Check LS1043A secure-boot reserved-memory handling.&lt;/STRONG&gt;&lt;BR /&gt;There is a reported LS1043A secure-boot issue fixed by changing&amp;nbsp;plat/nxp/soc-ls1043a/soc.def&amp;nbsp;NXP_ROM_RSVD&amp;nbsp;from&amp;nbsp;0x5900&amp;nbsp;to&amp;nbsp;0x8000&amp;nbsp;.&amp;nbsp;Since you are already secure-booting and now adding another signed FIP component, this is worth checking early. It is more plausible than a later U-Boot DTS GIC alignment issue.&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Do not assume “RSA/hash verified” means the image layout is good.&lt;/STRONG&gt;&lt;BR /&gt;Your BL2 log proves authentication reached success for the components it validated, but it does not prove the runtime addresses, reserved-memory overlap, BL32 load address, or BL31 secure-payload configuration are correct. BL2 is documented as loading BL31/BL32/BL33 to DDR after validation before handing control to BL31.&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;If the hang moves to&amp;nbsp;BL31: Initializing BL32&amp;nbsp;, then shift focus to OP-TEE proper.&lt;/STRONG&gt;&lt;BR /&gt;At that later stage I would look at OP-TEE load address, secure DDR carveout, pager/non-pager layout, CAAM/SEC configuration, and OP-TEE console. There is NXP guidance in a related OP-TEE/crypto context to try disabling crypto/CAAM in OP-TEE with&amp;nbsp;CFG_NXP_CAAM=n&amp;nbsp;and&amp;nbsp;CFG_CRYPTO_DRIVER=n&amp;nbsp;when early OP-TEE crypto initialization is suspected.&amp;nbsp;But your current log does not yet prove OP-TEE is being entered.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;My strongest hypothesis:&amp;nbsp;&lt;STRONG&gt;BL31 is built/configured differently when OP-TEE is enabled and is hanging in early BL31 platform/SPD setup before the OP-TEE banner or BL32 entry.&lt;/STRONG&gt;&amp;nbsp;I would first instrument BL31 around GIC/platform setup and verify FIP/&amp;nbsp;SPD=opteed&amp;nbsp;/&amp;nbsp;BL32=tee.bin&amp;nbsp;/secure-boot CSF layout, then check the LS1043A&amp;nbsp;NXP_ROM_RSVD=0x8000&amp;nbsp;issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Sep 2026 02:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2410748#M16853</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2026-09-03T02:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK 21.08 OP-TEE breaks boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2411426#M16867</link>
      <description>&lt;P&gt;So I built atf with debugging and the final message I get before silent hang is:&lt;BR /&gt;&lt;BR /&gt;INFO: BL31: Initializing BL32&lt;/P&gt;&lt;P&gt;So if I understood your recommandation correctly, I should focus on OP-TEE specifically now, correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Sep 2026 20:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2411426#M16867</guid>
      <dc:creator>endrunner_smw</dc:creator>
      <dc:date>2026-09-04T20:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK 21.08 OP-TEE breaks boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2411559#M16870</link>
      <description>&lt;P&gt;Yes, please verify OP-TEE with normal boot(not secured) first to make sure there is no problem with your building and deployment procedure with OP-TEE.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2026 01:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2411559#M16870</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2026-09-07T01:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: LSDK 21.08 OP-TEE breaks boot</title>
      <link>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2412163#M16874</link>
      <description>&lt;P&gt;I believe I was using the wrong tee.bin.&lt;/P&gt;&lt;P&gt;I was using the tee.bin that was generated during a manual build of OP-TEE and not the objcopy version I needed to generate. That appears to allow the system to initialize and boot into linux.&lt;/P&gt;&lt;P&gt;I do have more kernel logging messages about optee that I need to look into, but I will close this thread because this specific issue is resolved.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2026 21:50:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LSDK-21-08-OP-TEE-breaks-boot/m-p/2412163#M16874</guid>
      <dc:creator>endrunner_smw</dc:creator>
      <dc:date>2026-09-08T21:50:11Z</dc:date>
    </item>
  </channel>
</rss>

