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: How to update the MCU firmware after building Linux SDK with yocto

Part Number: PROCESSOR-SDK-J7200

Tool/software:

Hi expert,

I learned the way to  update the MCU firmware in below link:

https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/11_00_00_08/exports/docs/linux/Foundational_Components_IPC_J721E.html#:~:text=For%20updating%20MCU%20(DM)%20R5F%20firmware%20binary%2C%20tispl.bin%20needs%20to%20be%20recompiled%20with%20the%20new%20firmware%20binary%20as%20mentioned%20below%20%3A

The question is after building Linux SDK with yocto, i cannt find the same directory.

I want to know if another method is needed to solve it.

Thanks

  • Hi,

    The firmware is pulled from the ti-linux-firmware repository. You can write a bbappend for the ti-dm-fw recipe and patch the ipc_echo_testb_mcu1_0_release_strip.xer5f with your own custom binary.

    Best,
    Jared

  • Hi,

    After searching, i found 2 recipes:

    1.meta-tisdk/recipes-bsp/ti-dm-fw/ti-dm-fw.bbapend

    2.meta-ti/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb

    Is it enough to only modify the ti-dm-fw recipe?Specifically, is it the ti-dm-fw.bbapend above? or create a new one in  other dir?

    Thanks

  • Hi,

    Yes, you could modify the ti-dm-fw.bbappend to add your custom firmware.

    Best,
    Jared

  • Hi,

    Thanks a lot.

    I renamed my firmware to "ipc_echo_testb_mcu1_0_release_strip.xer5f", and then replaced the original one by modifying the ti-dm-fw.bbappend.

    Is it necessary to use the same name---ipc_echo_testb_mcu1_0_release_strip? If I want to use my own firmware name, what needs to be modified?

    Regards

  • Hi,

    You will have to change the definition of the DM_FIRMWARE variable through a bbappend:

    $ grep -n ipc_echo_testb_mcu1_0_release_strip -r ./*
    ./meta-ti/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb:41:DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"
    ./meta-ti/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc:43:DM_FIRMWARE = "ipc_echo_testb_mcu1_0_release_strip.xer5f"

    Best,
    Jared