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.

PROCESSOR-SDK-J7200: SBL source code SECURE_BOOT was not enabled.

Part Number: PROCESSOR-SDK-J7200

Using RTOS SDK 8.1 of J7200-evm. I am tring to compile the SBL source code with secure-boot feature enabled.

The commands that I used were:

copy the private key to directory:  ti-processor-sdk-rtos-j7200-evm-08_01_00_11/pdk_j7200_08_01_00_33/packages/ti/build/makerules/k3_dev_mpk.pem

1. make BOARD=j7200_evm CORE=mcu1_0 BUILD_PROFILE=release pdk_libs_clean -j8
2. make sciclient_boardcfg BOARD-j7200_evm BUILD_HS=yes -j8
3. make BOARD=j7200_evm CORE=mcu1_0 BUILD_PROFILE=release pdk_libs -j8
4. make -j8 BOARD=j7200_evm CORE=mcu1_0 BUILD_PROFILE=release sbl_mmcsd_img_hs

However, as I was inspecting the code, I found of the SBL authentication was dependent on the variable SECURE_BOOT to be enabled. 

Then I further traced down the compliation process, the command was executed by the makefile, which I modified a little to save the intermediate output, sbl_mmcsd_oer5f.cc

 

Then I found out that the SECURE_BOOT variable was not defined/enabled.

Is there some options of the makefile that I was not using? or is there something missing with the current SDK?

Please help me with the correct compliation method of the SBL with secure_boot.

Thank you

BR,

Kelvin Wang

Kelvin

  • Hi Kevin,

    This macro does not require to be defined. You just need to sign the binary with your key, and that will be taken care when you use sbl_mmcsd_img_hs build variable. 

    For SBL, it will check if the authentication is required in the SBL_VerifyMulticoreImage API, and then authenticates the image.. 

    Regards,

    Brijesh