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: How to run app on SE board

Part Number: TDA4VM


Hi,

I have a SE board with a customer key and now I want to run the app on it

  1. Replace k3_dev_mpk.pem with cuntom smpk.pem
    $ cp packages/ti/boot/keywriter/scripts/keys/smpk.pem packages/ti/build/makerules/k3_dev_mpk.pem
  2. Generated SBL
    $ cd packages/ti/build
    $ make pdk_libs_clean -j8
    $ make -s BOARD=j721e_evm CORE=mcu1_0 BUILD_PROFILE=release pdk_libs -j8
    $ make -s BOARD=j721e_evm CORE=mcu1_0 BUILD_PROFILE=release sbl_mmcsd_img_hs -j8
  3. Generate app
    $ make -s board_diag_adc BOARD=j721e_evm -j8
  4. copy image to SD card
    cp packages/ti/boot/sbl/binary/j721e_evm_hs/mmcsd/bin/sbl_mmcsd_img_mcu1_0_release.tiimage media/allen/boot/tiboot3.bin
    cp packages/ti/drv/sciclient/soc/V1/tifs_sr1.1-hs-enc.bin media/allen/boot/tifs.bin
    cp packages/ti/binary/board_diag_adc/bin/j721e_evm/board_diag_adc_mcu1_0_release.appimage.signed media/allen/boot/app

Install the SD card and power on, but the MCU UART has no ADC log.
So what to do next?

BRs,

Allen

  • Hi Allen,

    Couple of missing steps:

    Replace k3_dev_mpk.pem with custom smpk.pem
    $ cp packages/ti/boot/keywriter/scripts/keys/smpk.pem packages/ti/build/makerules/k3_dev_mpk.pem

    xxd -p -c 32 boot/keywriter/scripts/keys/smek.key > build/makerules/k3_dev_mek.txt

    cd /ti/jacinto/workarea/pdk/packages/ti/drv/sciclient/tools

    ./firmwareHeaderGen.sh j721e_sr1_1-hs

    $ cd packages/ti/build
    $ make pdk_libs_clean -j8
    $ make -s BOARD=j721e_evm CORE=mcu1_0 BUILD_PROFILE=release pdk_libs -j8
    $ make -s BOARD=j721e_evm CORE=mcu1_0 BUILD_PROFILE=release sbl_mmcsd_img_hs -j8

    $ make -s board_diag_adc BOARD=j721e_evm -j8

    cp packages/ti/boot/sbl/binary/j721e_evm_hs/mmcsd/bin/sbl_mmcsd_img_mcu1_0_release.tiimage media/allen/boot/tiboot3.bin
    cp packages/ti/drv/sciclient/soc/V1/tifs_sr1.1-hs-enc.bin media/allen/boot/tifs.bin
    cp packages/ti/binary/board_diag_adc/bin/j721e_evm/board_diag_adc_mcu1_0_release.appimage.signed media/allen/boot/app

    Best Regards,
    Keerthy