This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] [参考译文] [常见问题解答] J721S2XSOMXEVM:如何在 SBL 中启用体外身份验证

Guru**** 2474700 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1463920/faq-j721s2xsomxevm-how-to-enable-out-of-place-authentication-in-sbl

器件型号:J721S2XSOMXEVM

工具与软件:

如何在 SBL 中启用不适合身份验证?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    请按照以下步骤启用就地权验证:

    1. 在您需要的证书模板中  /ti/build/makerules/x509CertificateGen.sh 您需要将  authInPlace 类型更改为0  
      参考:https://software-dl.ti.com/tisci/esd/20_04_01/2_tisci_msgs/security/sec_cert_format.html?highlight=encryption#sysfw-load-extension
    2. 您需要具有一个输出缓冲器、以便您可以增加的大小  DSBL_SCRATCH_MEM_SIZE  根据您使用的 SBL 映像、它可以是 OCMC 或 DDR)、例如:  /ti/boot/sbl/sbl_component.mk.

      CUST_SBL_TEST_FLAGS ="-DSBL_LOG_LEVEL=1 -DSBL_SCRATCH_MEM_START=0xB8000000 - DSBL_SCRATCH_MEM_SIZE=0x5000000  -DSBL_ENABLE_PLL -DSBL_ENABLE_Clocks -DSBL_ENABLE_DDR -DSBL_SKIP_MCU_RESET -dboot_OSPI ${OCM_RAT

      在这里、我将 CUST SBL 和 DDR 用作从 0x4000000增加到的暂存存储器  0x5000000  ;
    3. 在中进行更改 TI/boot/SBL/SBL/K3/SBL_SoC.c soc 以定义输入缓冲器的位置。
    4. 在对映像签名时传递加载地址:  


      x509CertificateGen.sh -b xyz.appimage -o xyz.appimage.signed  -c r5 -l 0x0 -k key.pem -d debug -j DBG_full_enable -m split_mode -l 0xB8000000
      在这里、我们将 DDR 暂存存储器分为两部分、第一部分是输出缓冲器、其余部分是输入缓冲器。
    5. 重新编译 SBL 并引导器件。

    此致
    Diwakar