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: run mcusw exemple problem

Part Number: TDA4VM


Hi,

I try to run Can Profiling Application and meet some problems.When using make sbl_mmcsd_img command,there are some errors as below.Can you help me solve it?And the guide writes that copy the application from .*appimage to the SD card boot partition as app.But there are two  appimages,can_profile_app_mcu1_0_release.appimage and can_profile_app_mcu2_1_release.appimage.Should all of them are named as app?Besides,I have make a SD card for running vision apps.Can I run mcusw demo in this card?Thanks!

vmuser@ubuntu:~/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/build$ make sbl_mmcsd_img
make -C /home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/board/k3 -f/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/build/sbl_img.mk BOOTMODE=mmcsd SBL_USE_DMA=yes BUILD_HS=no
make[1]: Entering directory '/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/board/k3'
make -f/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/build/sbl_img.mk BOOTMODE=mmcsd SBL_USE_DMA=yes BUILD_HS=no board uart osal_nonos csl csl_init i2c sciclient sbl_lib_mmcsd udma mmcsd fatfs_indp
make[2]: Entering directory '/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/board/k3'
make[2]: Nothing to be done for 'board'.
make[2]: Nothing to be done for 'uart'.
make[2]: Nothing to be done for 'osal_nonos'.
make[2]: Nothing to be done for 'csl'.
make[2]: Nothing to be done for 'csl_init'.
make[2]: Nothing to be done for 'i2c'.
make[2]: Nothing to be done for 'sciclient'.
make[2]: Nothing to be done for 'sbl_lib_mmcsd'.
make[2]: Nothing to be done for 'udma'.
make[2]: Nothing to be done for 'mmcsd'.
make[2]: Nothing to be done for 'fatfs_indp'.
make[2]: Leaving directory '/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/board/k3'
make -f/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/build/sbl_img.mk BOOTMODE=mmcsd SBL_USE_DMA=yes BUILD_HS=no /home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/binary/j721e_evm/mmcsd/bin/sbl_mmcsd_img_mcu1_0_release.xer5f
make[2]: Entering directory '/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/board/k3'
make[2]: *** No rule to make target '/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/osal/lib/nonos/j721e/r5f/release/ti.osal.aer5f', needed by '/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/binary/j721e_evm/mmcsd/bin/sbl_mmcsd_img_mcu1_0_release.xer5f'. Stop.
make[2]: Leaving directory '/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/board/k3'
/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/build/makerules/common.mk:402: recipe for target 'mcu1_0' failed
make[1]: *** [mcu1_0] Error 2
make[1]: Leaving directory '/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/boot/sbl/board/k3'

Best Regards!

HJ

  • Hi HJ,

    JIAN HUANG said:
    '/home/vmuser/psdk_rtos_auto_j7_07_00_00_11/pdk_jacinto_07_00_00/packages/ti/osal/lib/nonos/j721e/r5f/release/ti.osal.aer5f', needed by

    There are some dependencies which SBL needs. I think you could have done a make clean or something due to which now it tries to look for OSAL and doesn't find and errors out the build.

    Can you please try the following:

    # NOTE, this will take some time depending on your PC's processing power
    make all -sj
    
    # build SBL now
    make sbl_mmcsd_img -sj

    Regards,

    Karan

  • Hi Karan,

    I have used make -s allclean and it may cause this error.When I try make all -sj,my ubuntu reboot again and again.Maybe my computer feature can not support make all -sj.Is there any other way to solve my problem?Thanks!

    Best regards!

    HJ

  • Hi HJ,

    You can just try make all -s (do not use the -j option). This will just not parallelize the execution but is the same.

    So basically run the following: (you can also skip -s, -s suppresses the prints.

    make all -s
    
    make sbl_mmcsd_img -s

    Regards,

    Karan