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