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.

DRA821U: Failed to build SBL in Processor SDK RTOS

Part Number: DRA821U


We succeed to build SBL in the previous PROCESSOR-SDK-RTOS 07.02.00.06, but we fail it in the latest PROCESSOR-SDK-RTOS 07.03.00.07.

cd ~ti\ti-processor-sdk-rtos-j7200-evm-07_03_00_07\pdk_j7200_07_03_00_29\packages
source pdksetupenv.sh
cd ~ti\ti-processor-sdk-rtos-j7200-evm-07_03_00_07\pdk_j7200_07_03_00_29\packages\ti\boot\sbl\build
sudo make clean all

sblmake.log.txt

5.2.6. Building the SBL and its components
software-dl.ti.com/.../boot_k3.html

On the other hand, we succeed to build all PDK applications and libraries for all cores.

cd ~ti\ti-processor-sdk-rtos-j7200-evm-07_03_00_07\pdk_j7200_07_03_00_29\packages\ti\build
sudo make -s allcores_clean BOARD = j7200_evm
sudo make -s allcores BOARD = j7200_evm

3.3.1. For running from PDK_INSTALL_DIR/packages/ti/build
software-dl.ti.com/.../getting_started.html

In this case we see the files in the directories listed below updated.

~ti\ti-processor-sdk-rtos-j7200-evm-07_03_00_07\pdk_j7200_07_03_00_29\packages\ti\boot\sbl\binary\j7200_evm\mmcsd\bin
~ti\ti-processor-sdk-rtos-j7200-evm-07_03_00_07\pdk_j7200_07_03_00_29\packages\ti\boot\sbl\example\k3MulticoreApp\binary\j7200

Could you tell me an alternative way to build only SBL related components in the latest SDK?

Best regards,

Daisuke

  • Daisuke,

    -1-

    Could you tell me an alternative way to build only SBL related components in the latest SDK?

    To build SBL, you can also use

    make BOARD=j7200_evm sbl_mmcsd_img 

    I was able to successfully build with this command.

    -2-

    Please see other options by using make help command.

    Also, please do not use the "sudo" in the command. It can causes some very weird issues.

    Regards

    Karthik

  • Hi Karthik-san,

    Thank you for your support.

    I successfully built only the relevant SBL objects with the command you mentioned once I built all PDK applications and libraries for all cores.

    cd ~ti\ti-processor-sdk-rtos-j7200-evm-07_03_00_07\pdk_j7200_07_03_00_29\packages\ti\build
    make -s allcores_clean BOARD=j7200_evm
    make -s allcores BOARD=j7200_evm
    make -s sbl_mmcsd_img_clean BOARD=j7200_evm
    make -s sbl_mmcsd_img BOARD=j7200_evm

    Best regards,

    Daisuke