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.

AM5728: RTOS test application build error

Part Number: AM5728

Hi,

  I want to use the SD card to run the Test Application on the AM572xEVM.The development kit I am using is PROCESSOR-SDK-RTOS-AM57X.

I compiled and generated MLO and app with reference to http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_Foundational_Components.html#am57x.

I suspect that I have problems compiling the app.When I run AM57xImageGen.sh, the output is as follows:

ycc@ycc-virtual-machine:~/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl$ export BIN_PATH=/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary
ycc@ycc-virtual-machine:~/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl$ export APP_MPU_CPU0=/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/bin/sbl_app.out
ycc@ycc-virtual-machine:~/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl$ export APP_DSP1=/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/sbl_app.xe66
ycc@ycc-virtual-machine:~/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl$ export APP_DSP2=/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp2/sbl_app.xe66
ycc@ycc-virtual-machine:~/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl$ export APP_IPU1_CPU0=/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/sbl_app.xem4
ycc@ycc-virtual-machine:~/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl$ export APP_IPU1_CPU0=/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu2/sbl_app.xem4
ycc@ycc-virtual-machine:~/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl$ ./tools/scripts/AM57xImageGen.sh
/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary exists
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Parsing the input object file, /home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/bin/sbl_app.out.
File conversion complete!
/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/testApp does not exists
/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu2/sbl_app.xem4 does not exists
/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/testApp does not exists
/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/testApp does not exists
/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/testApp does not exists
/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/sbl_app.xe66 does not exists
/home/ycc/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp2/sbl_app.xe66 does not exists
Number of Input Files 1

Why is "testApp does not exists" which is an error code? 

Copy the MLO and application app in the SD card,Board power on,The terminal prints the information as follows:

**** PDK SBL ****
SBL Revision: 01.00.09.02 (Aug 3 2019 - 00:16:46)
Begin parsing user application
Jumping to user application...
Multicore Boot Test application

No print message for “DSP1 boot-up Successful“ 、“IPU1 CPU0 boot-up Successful”.Is the code of the dsp and ipu core not loaded when compiling the app?

How to solve this problem?

Thank you for your atttention to this matter.

Best Regards,

ycc

  • Did you execute the make example option in addition to build the SBL as described in the article here:

    http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_Foundational_Components.html#linux-environment

    The fact that you have exported the path to the binary but the script doesn`t find the binaries indicates to me that the binaries may not have been built.  Can you browse to the path and indicate if the DSP and IPU binaries have been built ? From the log it appears that only A15 application binary has been built in your environment so the resulting app only contains ARM binary. 

    At my end, I was able to build the binaries using the following command :

    cd pdk_am57xx_1_0_13\packages\ti\boot\sbl
    gmake example BOARD=evmAM572x SOC=AM572x BOOTMODE=mmcsd

    Regards,

    Rahul

  • Hi,

    I tested the Windows case and I didn't get this working. I opened a ticket to track this.

    Regards, Eric

  • Hi,

    I thought I need to update the test setup:

    1) build with "gmake example BOARD=evmAM572x SOC=AM572x"

    2) Setup the env:

    set TI_PDK_INSTALL_DIR=c:\ti\pdk_am57xx_1_0_15
    set BIN_PATH=%TI_PDK_INSTALL_DIR%\packages\ti\boot\sbl\binary
    set TOOLS_PATH=%TI_PDK_INSTALL_DIR%\packages\ti\boot\sbl\tools
    set PDK_INSTALL_PATH=%TI_PDK_INSTALL_DIR%\packages

    set App_MPU_CPU0=%TI_PDK_INSTALL_DIR%\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc0\bin\sbl_app.out
    set App_MPU_CPU1=%TI_PDK_INSTALL_DIR%\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc1\bin\sbl_app.out
    set App_DSP1=%TI_PDK_INSTALL_DIR%\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp1\bin\sbl_app.xe66
    set App_DSP2=%TI_PDK_INSTALL_DIR%\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp2\bin\sbl_app.xe66
    set App_IPU1_CPU0=%TI_PDK_INSTALL_DIR%\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu1\bin\sbl_app.xem4
    set App_IPU2_CPU0=%TI_PDK_INSTALL_DIR%\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu2\bin\sbl_app.xem4

    3) Run script: c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>tools\scripts\AM57xImageGen.bat

    ========

    Log:

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>tools\scripts\AM57xImageGen.bat

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM @echo off

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM Define Device Id Vayu - 55 - choosen random value will be updated

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM Device ID & CPU ID should be in sync with SBL. Refer SBL user guide for values

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set Dev_ID=55

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set MPU_CPU0_ID=0

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set MPU_CPU1_ID=1

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set IPU1_CPU0_ID=2

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set IPU1_CPU1_ID=3

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set IPU1_CPU_SMP_ID=4

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set IPU2_CPU0_ID=5

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set IPU2_CPU1_ID=6

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set IPU2_CPU_SMP_ID=7

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set DSP1_ID=8

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set DSP2_ID=9

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM Define Output file path

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined TOOLS_PATH (set TOOLS_PATH=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>IF NOT EXIST c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\ mkdir c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM assigning variable to a dummy application to avoid creating a dummy app image.

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined APP_MPU_CPU0 (set APP_MPU_CPU0=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>IF EXIST c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc0\bin\sbl_app.out (
    set MPU_CPU0=0
    set image_gen=1
    set APP_MPU_CPU0_RPRC=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc0\bin\sbl_app.out.rprc
    REM APP_MPU_CPU0 EXISTING
    )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if defined APP_MPU_CPU0_RPRC (
    "c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools\out2rprc\bin\out2rprc.exe" c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc0\bin\sbl_app.out c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc0\bin\sbl_app.out.rprc
    REM CONVERT DONE
    )
    Parsing the input object file, c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc0\bin\sbl_app.out.
    File conversion complete!

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM assigning variable to a dummy application to avoid creating a dummy app image.

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined APP_MPU_CPU1 (set APP_MPU_CPU1=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>IF EXIST c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc1\bin\sbl_app.out (
    set MPU_CPU1=1
    set image_gen=1
    set APP_MPU_CPU1_RPRC=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc1\bin\sbl_app.out.rprc
    )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if defined APP_MPU_CPU1_RPRC ("c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools\out2rprc\bin\out2rprc.exe" c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc1\bin\sbl_app.out c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc1\bin\sbl_app.out.rprc )
    Parsing the input object file, c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc1\bin\sbl_app.out.
    File conversion complete!

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM assigning variable to a dummy application to avoid creating a dummy app image.

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined APP_IPU1_CPU0 (set APP_IPU1_CPU0=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>IF EXIST c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu1\bin\sbl_app.xem4 (
    set IPU1_CPU0=2
    set image_gen=1
    set APP_IPU1_CPU0_RPRC=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu1\bin\sbl_app.xem4.rprc
    )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if defined APP_IPU1_CPU0_RPRC ("c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools\out2rprc\bin\out2rprc.exe" c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu1\bin\sbl_app.xem4 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu1\bin\sbl_app.xem4.rprc )
    Parsing the input object file, c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu1\bin\sbl_app.xem4.
    File conversion complete!

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM assigning variable to a dummy application to avoid creating a dummy app image.

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined APP_IPU1_CPU1 (set APP_IPU1_CPU1=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>IF EXIST c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp (
    set IPU1_CPU1=3
    set image_gen=1
    set APP_IPU1_CPU1_RPRC=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp.rprc
    )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if defined APP_IPU1_CPU1_RPRC ("c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools\out2rprc\bin\out2rprc.exe" c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM assigning variable to a dummy application to avoid creating a dummy app image.

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined APP_IPU2_CPU0 (set APP_IPU2_CPU0=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>IF EXIST c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu2\bin\sbl_app.xem4 (
    set IPU2_CPU0=5
    set image_gen=1
    set APP_IPU2_CPU0_RPRC=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu2\bin\sbl_app.xem4.rprc
    )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if defined APP_IPU2_CPU0_RPRC ("c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools\out2rprc\bin\out2rprc.exe" c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu2\bin\sbl_app.xem4 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu2\bin\sbl_app.xem4.rprc )
    Parsing the input object file, c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu2\bin\sbl_app.xem4.
    File conversion complete!

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM assigning variable to a dummy application to avoid creating a dummy app image.

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined APP_IPU2_CPU1 (set APP_IPU2_CPU1=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>IF EXIST c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp (
    set IPU2_CPU1=6
    set image_gen=1
    set APP_IPU2_CPU1_RPRC=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp.rprc
    )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if defined APP_IPU2_CPU1_RPRC ("c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools\out2rprc\bin\out2rprc.exe" c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM assigning variable to a dummy application to avoid creating a dummy app image.

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined APP_DSP1 (set APP_DSP1=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>IF EXIST c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp1\bin\sbl_app.xe66 (
    set DSP1_CPU=8
    set image_gen=1
    set APP_DSP1_RPRC=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp1\bin\sbl_app.xe66.rprc
    )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if defined APP_DSP1_RPRC ("c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools\out2rprc\bin\out2rprc.exe" c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp1\bin\sbl_app.xe66 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp1\bin\sbl_app.xe66.rprc )
    Parsing the input object file, c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp1\bin\sbl_app.xe66.
    File conversion complete!

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM assigning variable to a dummy application to avoid creating a dummy app image.

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined APP_DSP2 (set APP_DSP2=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\TestApp )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>IF EXIST c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp2\bin\sbl_app.xe66 (
    set DSP2_CPU=9
    set image_gen=1
    set APP_DSP2_RPRC=c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp2\bin\sbl_app.xe66.rprc
    )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if defined APP_DSP2_RPRC ("c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools\out2rprc\bin\out2rprc.exe" c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp2\bin\sbl_app.xe66 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp2\bin\sbl_app.xe66.rprc )
    Parsing the input object file, c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp2\bin\sbl_app.xe66.
    File conversion complete!

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM ImageGen

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if defined image_gen (
    REM Generating MulticoreImage Gen
    "c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\tools\multicoreImageGen\bin\MulticoreImageGen.exe" LE 55 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\app 0 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc0\bin\sbl_app.out.rprc 1 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\a15\mpuc1\bin\sbl_app.out.rprc 2 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu1\bin\sbl_app.xem4.rprc 5 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\m4\ipu2\bin\sbl_app.xem4.rprc 8 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp1\bin\sbl_app.xe66.rprc 9 c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\example\c66\dsp2\bin\sbl_app.xe66.rprc
    )
    Number of Input Files 6


    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>if not defined image_gen (echo. Error Application .out missing!! )

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>REM Clearing the image gen flag

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>set image_gen=

    4) Copy app and pdk_am57xx_1_0_15\packages\ti\boot\sbl\binary\evmAM572x\mmcsd\bin\MLO into a MMCSD card 

    5) Power on 


    UART output:

     

    Regards, Eric

  • Hi,

     wHEN i build with "gmake example BOARD=evmAM572x SOC=AM572x",

    There is  a error as follows :

    How to solve this problem?

    Thank you for your atttention to this matter.

    Best Regards,

    ycc

  • Hi,

     wHEN i build with "gmake example BOARD=evmAM572x SOC=AM572x",

    There is  a error as follows :

    How to solve this problem?

    Thank you for your atttention to this matter.

    Best Regards,

    ycc

  • ycc,

    Maybe you missed some setup? E.g, setupenv script. See my full log below:


    c:\>cd ti\processor_sdk_rtos_am57xx_6_00_00_07

    c:\ti\processor_sdk_rtos_am57xx_6_00_00_07>setupenv.bat
    ***************************************************
    Environment Configuration:
    ***************************************************
    SDK_INSTALL_PATH : C:/ti
    GMAKE_INSTALL_PATH : C:/ti/xdctools_3_51_01_18_core
    RULES_MAKE : C:/ti/pdk_am57xx_1_0_15/packages/Rules.make
    ***************************************************
    IPC_PLATFORM: DRA7XX
    IPC_ALT_PLATFORM: AM572X AM571X
    PROC_SDK_INSTALL_PATH : C:/ti/processor_sdk_rtos_am57xx_6_00_00_07
    **************************************************************************
    Changing to short name to support directory names containing spaces
    current directory: C:/ti/processor_sdk_rtos_am57xx_6_00_00_07
    PROCESSOR SDK BUILD ENVIRONMENT CONFIGURED
    **************************************************************************

    c:\ti\processor_sdk_rtos_am57xx_6_00_00_07>cd ..\pdk_am57xx_1_0_15\packages\ti\boot\sbl

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>gmake example BOARD=evmAM572x SOC=AM572x
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Nothing to be done for 'example'.
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Nothing to be done for 'example'.
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Nothing to be done for 'example'.
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Nothing to be done for 'example'.
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Nothing to be done for 'example'.
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Nothing to be done for 'example'.
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>gmake example_clean BOARD=evmAM572x
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>gmake example BOARD=evmAM572x SOC=AM572x
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    compiling C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/mpuMulticoreApp/sbl_multicore_mpu.c ...
    C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/mpuMulticoreApp/sbl_multicore_mpu.c: In function 'main':
    C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/mpuMulticoreApp/sbl_multicore_mpu.c:49:14: warning: variable 'mpu1Flag' set but not used [-Wunused-but-set-variable]
    uint32_t mpu1Flag = 0U;
    ^~~~~~~~
    compiling C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx/mailbox.c ...
    compiling C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx/sbl_startup.c ...
    compiling C:/ti/pdk_am57xx_1_0_15/packages/ti/drv/uart/soc/am572x/UART_soc.c ...
    compiling C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx/sbl_init.S ...
    linking C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/obj/sbl_multicore_mpu.o C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/obj/mailbox.o C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/obj/sbl_startup.o C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/obj/UART_soc.o into C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/bin/sbl_app.out ...
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    compiling C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/dsp1MulticoreApp/sbl_multicore_dsp1.c ...
    #C:/ti/ti-cgt-c6000_8.3.2/bin/cl6x -c -ppd=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/.deps/sbl_multicore_dsp1.P -qq -pdsw225 --endian=little -mv6600 --abi=eabi -eo.oe66 -ea.se66 -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 --program_level_compile -g -DSOC_AM572x -ppa -ppd=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/sbl_multicore_dsp1.oe66.dep -O2 --optimize_with_debug --diag_wrap=off --preproc_with_compile -IC:/ti/pdk_am57xx_1_0_15/packages -IC:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx -IC:/ti/ti-cgt-c6000_8.3.2/include -fr=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj -fs=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj -fc C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/dsp1MulticoreApp/sbl_multicore_dsp1.c
    C:/ti/ti-cgt-c6000_8.3.2/bin/cl6x -c -qq -pdsw225 --endian=little -mv6600 --abi=eabi -eo.oe66 -ea.se66 -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 --program_level_compile -g -DSOC_AM572x -ppa -ppd=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/sbl_multicore_dsp1.oe66.dep -O2 --optimize_with_debug --diag_wrap=off --preproc_with_compile -IC:/ti/pdk_am57xx_1_0_15/packages -IC:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx -IC:/ti/ti-cgt-c6000_8.3.2/include -fr=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj -fs=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj -fc C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/dsp1MulticoreApp/sbl_multicore_dsp1.c
    remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
    subsequent release. The behavior is enabled by default.
    compiling C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx/mailbox.c ...
    #C:/ti/ti-cgt-c6000_8.3.2/bin/cl6x -c -ppd=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/.deps/mailbox.P -qq -pdsw225 --endian=little -mv6600 --abi=eabi -eo.oe66 -ea.se66 -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 --program_level_compile -g -DSOC_AM572x -ppa -ppd=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/mailbox.oe66.dep -O2 --optimize_with_debug --diag_wrap=off --preproc_with_compile -IC:/ti/pdk_am57xx_1_0_15/packages -IC:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx -IC:/ti/ti-cgt-c6000_8.3.2/include -fr=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj -fs=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj -fc C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx/mailbox.c
    C:/ti/ti-cgt-c6000_8.3.2/bin/cl6x -c -qq -pdsw225 --endian=little -mv6600 --abi=eabi -eo.oe66 -ea.se66 -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 --program_level_compile -g -DSOC_AM572x -ppa -ppd=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/mailbox.oe66.dep -O2 --optimize_with_debug --diag_wrap=off --preproc_with_compile -IC:/ti/pdk_am57xx_1_0_15/packages -IC:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx -IC:/ti/ti-cgt-c6000_8.3.2/include -fr=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj -fs=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj -fc C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx/mailbox.c
    remark #24038-D: --optimize_with_debug is deprecated and will be removed in a
    subsequent release. The behavior is enabled by default.
    linking C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/sbl_multicore_dsp1.oe66 C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/mailbox.oe66 into C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/bin/sbl_app.xe66 ...
    C:/ti/ti-cgt-c6000_8.3.2/bin/lnk6x C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/sbl_multicore_dsp1.oe66 C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/obj/mailbox.oe66 -w -q -u _c_int00 --silicon_version=6600 -c --dynamic -x --zero_init=on --retain=_vectors C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/dsp1MulticoreApp/lnk_dsp1.cmd -o C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/bin/sbl_app.xe66 -m C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/c66/dsp1/bin/sbl_app.xe66.map -lC:/ti/ti-cgt-c6000_8.3.2/lib/libc.a
    "C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/dsp1MulticoreApp/lnk_dsp1.cmd", line 45: warning:
    no matching section
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    compiling C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/ipu1MulticoreApp/sbl_multicore_cpu0.c ...
    C:/ti/ti-cgt-arm_18.12.1.LTS/bin/armcl -c -qq -pdsw225 --endian=little -mv7M4 --float_support=vfplib --abi=eabi -eo.oem4 -ea.sem4 -DSOC_AM572x --symdebug:dwarf --embed_inline_assembly -IC:/ti/pdk_am57xx_1_0_15/packages -IC:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx -IC:/ti/ti-cgt-arm_18.12.1.LTS/include -fr=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/obj -fs=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/obj -fc C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/ipu1MulticoreApp/sbl_multicore_cpu0.c
    compiling C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx/mailbox.c ...
    C:/ti/ti-cgt-arm_18.12.1.LTS/bin/armcl -c -qq -pdsw225 --endian=little -mv7M4 --float_support=vfplib --abi=eabi -eo.oem4 -ea.sem4 -DSOC_AM572x --symdebug:dwarf --embed_inline_assembly -IC:/ti/pdk_am57xx_1_0_15/packages -IC:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx -IC:/ti/ti-cgt-arm_18.12.1.LTS/include -fr=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/obj -fs=C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/obj -fc C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/soc/am57xx/mailbox.c
    linking C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/obj/sbl_multicore_cpu0.oem4 C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/obj/mailbox.oem4 into C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/bin/sbl_app.xem4 ...
    C:/ti/ti-cgt-arm_18.12.1.LTS/bin/armcl C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/obj/sbl_multicore_cpu0.oem4 C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/obj/mailbox.oem4 --silicon_version=7M4 --run_linker -w -q -u _c_int00 -c --dynamic C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/example/ipu1MulticoreApp/lnk_cpu0.cmd -o C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/bin/sbl_app.xem4 -m C:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl/binary/evmAM572x/example/m4/ipu1/bin/sbl_app.xem4.map -lC:/ti/ti-cgt-arm_18.12.1.LTS/lib/libc.a
    <Linking>
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Nothing to be done for 'example'.
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Nothing to be done for 'example'.
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Entering directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'
    gmake[1]: Nothing to be done for 'example'.
    gmake[1]: Leaving directory 'c:/ti/pdk_am57xx_1_0_15/packages/ti/boot/sbl'

    c:\ti\pdk_am57xx_1_0_15\packages\ti\boot\sbl>

    Regards, Eric