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: J721E arm-trusted-firmware build

Part Number: TDA4VM

Hi TI Support,

I installed ti-processor-sdk-linux-automotive-j7-evm-06_01_01_02

I would like to debug arm-trusted-firmware located at ti-processor-sdk-linux-automotive-j7-evm-06_01_01_02/board-support/arm-trusted-firmare-2.1+gitAUTOINC+ce3f1512bf/ 

Could you please let us know how to compile and install arm-trusted-firmware binary in the sd card ? I would like to know what is the binary file (is it bl31.bin ?) and where is it copied in the SD card partition (boot / rootfs/boot ?)

Best Regards

Sami

  • Hi Sami,


    Once you enter the arm-trusted-firmare-2.1+gitAUTOINC+ce3f1512bf/  directory:

    Key in: 

    make CROSS_COMPILE=aarch64-linux-gnu- ARCH=aarch64 PLAT=k3 TARGET_BOARD=generic SPD=opteed

    You can get all this documented nicely in u-boot source code directory i.e:
    board-support/u-boot-2019* folder, file: board/ti/j721e/README

    Build procedure:
    2. ATF.

    ATF binary is bl31.bin.


    This binary is part of tispl.bin and not used standalone on the SD card.

    Refer to board/ti/j721e/README under u-boot source directory for the tispl.bin composition.

    So you need to copy the bl31.bin to prebuilt images and freshly build u-boot
    so that your new tispl.bin has the updated ATF Binary.

    Hope that clarifies the entire set of questions asked :-).

    Best Regards,
    Keerthy


     




  • Thanks for your support. this worked. 

    Best Regards

    Sami