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.

TDA4VM: SBL for HS

Part Number: TDA4VM


Hi, expert,

I made the HS SBL image "sbl_ospi_img_mcu1_0_release.tiimage" under "pdk_jacinto_08_01_00_36\packages\ti\boot\sbl\binary\j721e_evm_hs\ospi\bin".

But when I run the SBL, SECURE_BOOT is not enabled.

code:

#ifndef SECURE_BOOT
#if defined(SBL_ENABLE_HLOS_BOOT) && (defined(SOC_J721E) || defined(SOC_J7200))
retVal = SBL_MulticoreImageParse((void *) &offset, OSPI_OFFSET_SI, pEntry, SBL_SKIP_BOOT_AFTER_COPY);
#else
retVal = SBL_MulticoreImageParse((void *) &offset, OSPI_OFFSET_SI, pEntry, SBL_BOOT_AFTER_COPY);
#endif

#else
retVal = SBL_loadOSPIBootData();

if (retVal == E_PASS)
{
/* authentiate it */
authenticated = SBL_authentication(sblInBootData.sbl_boot_buff);

The code block above does not enter the #else part, but enters the #ifndef SECURE_BOOT part.
What should I do to solve this?

regards