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.

RE: AM572x RTOS SD card creation issue

Anjana,

I am having the same problem you had with gmake although I am using a later package.

C:\ti\pdk_am57xx_1_0_5\packages\ti\boot\sbl>C:\ti\ccsv6\utils\bin\gmake example BOARD=evmAM572x SOC=AM572x
gmake[1]: Entering directory 'C:/ti/pdk_am57xx_1_0_5/packages/ti/boot/sbl'
gmake[1]: *** No rule to make target '/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/obj/sbl_multicore_mpu.o', needed by '/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/bin/sbl_app.out'. Stop.
gmake[1]: Leaving directory 'C:/ti/pdk_am57xx_1_0_5/packages/ti/boot/sbl'
makefile:73: recipe for target 'example' failed
gmake: *** [example] Error 2

No rule to make target '/ti/boot/sbl/binary/evmAM572x/example --does not exist, have the following
C:\ti\pdk_am57xx_1_0_5\packages\ti\boot\sbl\binary\evmAM572x\mmcsd

I see from your messages that you got your gmake to work but I don't see what you did to get it working in the message.

One issue I saw and fixed in the make file is:

ifndef MAKE
export MAKE = make /* I changed to gmake */
endif

Can you please provide the information.

Thank You in Advance,

Jim Jordan

  • The paths I provided in the previous post might be confusing.

    I added C:\ti\ccsv6\utils\bin to my environment path to use gmake.

    Ran gmake:
    C:\ti\pdk_am57xx_1_0_5\packages\ti\boot\sbl>gmake example BOARD=evmAM572x SOC=AM572x

    Resulting in the following error:
    gmake[1]: Entering directory 'C:/ti/pdk_am57xx_1_0_5/packages/ti/boot/sbl'
    gmake[1]: *** No rule to make target '/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/obj/sbl_multicore_mpu.o', needed by '/ti/boot/sbl/binary/evmAM572x/example/a15/mpuc0/bin/sbl_app.out'. Stop.
    gmake[1]: Leaving directory 'C:/ti/pdk_am57xx_1_0_5/packages/ti/boot/sbl'
    makefile:73: recipe for target 'example' failed
    gmake: *** [example] Error 2

    No rule to make target '/ti/boot/sbl/binary/evmAM572x/example --does not exist, have the following
    C:\ti\pdk_am57xx_1_0_5\packages\ti\boot\sbl\binary\evmAM572x\mmcsd
  • Jim,

    I created a separate thread on e2e as the thread you commented on was already verified by the user so it doesn`t show up on our tracking as pending response. I recommend that you start a new post to get our attention.

    The recommended approach tot setup the SDK build environment is provided here:

    If you setup the build environment using those instructions then you don`t need to modify the make files to build. The easiest way is to

    set TOOLS_INSTALL_PATH = <location of CCS>
    
    set SDK_INSTALL_PATH = <location of SDK>
    
    cd processor_sdk_rtos_am57xx_x_x
    
    setup.bat

    After this is setup, you should be able to build the example using 

    gmake all BOARD=evmAM572x SOC=AM572x BOOTMODE=mmcsd

    Please give that a try and let me know if this resolves your issue. If it doesn`t please provide the log from the setup.bat file so that I can verify your build is setup correctly.

    Regards,

    Rahul