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.

RTOS/PROCESSOR-SDK-AM65X: Build error

Part Number: PROCESSOR-SDK-AM65X

Tool/software: TI-RTOS

Hi TI engineers

I downloaded the new version  processor_SDK_05_03_00_07,

After execute "setupenv.bat", I execute the command “gmake LIMIT_BOARDS=am65xx_evm”

but  an error occurred as below

my system is Japanese language, and I will translate it for you.

the first line's Japanese word means "expression's or statement's token " . " cannot be used"

the second line's Japanese word means “the position of error occured”

the third line's Japanese word means "character"

would you please tell me the what is the reason of this error?

And what should I do to execute gmake successfully?

Best Regards

Hope Chen

  • Hope,

    Welcome back on the forums. Hope you are doing well.

    I unfortunately am not able to reproduce the issue at my end. Can you please indicate what component is the make building when the error occurs. Is it the SBL or diagnostic or some other component. Can you also confirm that you have Strawberry Perl installed on the machine. For creating boot images the bootloader if you remember uses OpenSSL which is not on the defualt windows install so it needs to be installed. If it is installed please check your environment using "set" and confirm that your PATH variable has Strawberry Perl included.

    Also,  one guidance we provide to most customer is to not invoke gmake all for a platform. Processor SDK RTOS is already pre-built so driver, CSL and component libraries are already built but we remove the intermediate object files to reduce size of the package. you should only do targetted builds in the package using the following options.

    The following steps can be used in a command shell to generate the CCS projects for PDK low level drivers. Users are expected to complete component discovery in CCS before using these steps.

    Setup environment from root directory:

    <SDK_INSTALL_PATH>\processor_sdk_rtos_am65xx_5_01_00_11
    
    setupenv.bat
    
     

    Optional step: SDK contains prebuilt binaries for driver and CSL libraries so there is no need to rebuild the libraries but if you need to rebuild the libraries, you can do it using gmake utility using the following options.

    gmake <target>_clean
    
    gmake <target>
    
     

    <target>: Refer to makefile in the pdk_am65xx_x_x_x\packages

     

    all csl board emac fvid2 gpio i2c mcasp mmcsd nimu pm profiling pruss sciclient spi uart udma usb sbl sa osal can be used as <target>

     

    This can take a while to build. To limit the build to A53 core, use the additional arguments as

    gmake <target> LIMIT_BOARDS=am65xx_evm LIMIT_CORES=mpu1_0 <ARGUMENTS>

     

    ARGUMENTS

    Options

    Description

    LIMIT_BOARDS

    am65xx_evm, am65xx_idk

    Supported evaluation platform

    LIMIT_SOC

    am65xx

    Supported SOC options

    LIMIT_CORES

    mcu1_0, mpu1_0

    Support for different cores

    DISABLE_RECURSE_DEPS

    yes, no

    Disable for building dependencies

    BUILD_PROFILE

    release, debug

    Build profile

     

    Hope this helps :)

    Regards,

    Rahul

  • Hi Rahul

    the error happens when build something about x509,
    and it seems that x509 need OPENSSL?
    I didn't install OPENSSL,
    So I think this is the reason that the error occurred.
    Do you also think so?

    Best Regards
    Hope Chen
  • Hi,

    yes, you need OpenSSL installed to be able to build large parts of the SDK, since the bootloader image (tiboot3.bin) for example is a "x509 certificate" that includes the bootloader code as a payload.

    There are precompiled distributions of OpenSSL for Windows that are working just fine for us.

    Judging from your console output you might be running into another issue - the processor SDK only supports Windows 10 as the host machine. Not sure if that's a problem in your case, but when we first tried building the SDK with Windows 7 the output looked suspiciously similar. The reason it failed for us even after installing OpenSSL was that the SDK scripts expect a more recent version of PowerShell.

    We managed to get the SDK to build on Windows 7 by installing .NET Framework Version 4.5.2 and Windows Management Frameworks Version 5.1. Both are official Microsoft software packages.

    Regards,

    Dominic

  • Hi Dominic

    Thanks for your reply.

    Dominic Rath said:
    There are precompiled distributions of OpenSSL for Windows that are working just fine for us.

    Is there precompiled distributions of OpenSSL for Windows in TI's website, would you please tell me a link?

    And just  as you said, my host machine is windows7.

    I'll install .NET Framework Version 4.5.2 and Windows Management Frameworks Version 5.1.

    Then I will try again

    Best Regards

    Hope Chen

  • Hi,
    I don't think OpenSSL is available from TI. You could just search for it on the Internet. We're using a download available from heise.de (german computer magazines c't and iX, rather well known here and I'm guessing one of the "good guys"): www.heise.de/.../download
    TI recommends installing Strawberry Perl: software-dl.ti.com/.../index_overview.html
    You should consider for yourself where you get binary software from.
    Regards,
    Dominic
  • Hi, Dominic
    Thanks for your reply. I have known that,
    I will installed it and try again.
    Best Regards
    Hope Chen