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.

CCSTUDIO: XDC Release fails: no config.bld file was found along the package path

Part Number: CCSTUDIO
Other Parts Discussed in Thread: SYSBIOS

Hi,

I get the same error message as described in this post but for the ti.osal package: 

xdc.PACKAGE_NOT_FOUND: C:\ti\SDKs\processor-sdk-rtos-arm65xx-evm-08_02_00_05\pdk_am65xx_08_02_00_21\packages\ti\osal\package.xdc found along the package path, but no schema file was found.  Ensure that the package 'ti.osal' is completely built.

I've tried running the proposed fix but it fails with the following error messages:

C:\ti\SDKs\processor-sdk-rtos-arm65xx-evm-08_02_00_05\pdk_am65xx_08_02_00_21\packages\ti\osal>xdc release
making package.mak (because of package.bld) ...
Warning: no config.bld file was found along the package path.
         The config.bld file specifies the location of the
         compiler tool-chains required to compile runtime content.
         Without this file, the XDC tools assume no targets are to be
         used.
js: "./package.bld", line 41: ReferenceError: "osalDriverReleaseVersion" is not defined.
xdctools_3_62_01_16_core\gmake.exe: *** Deleting file 'package.mak'
xdctools_3_62_01_16_core\gmake.exe: *** No rule to make target 'package.mak', needed by '.interfaces'.  Stop.

It complains that the config.bld file is missing and in fact it does not exist in that directory. A config_mk.bld does exists in the directory, if thats relevant. How can I go about fixing this issue?

  • Hello Eric,

    Please check the RTOS SDK documentation on how to rebuild the PDK.

    Regards,

    Jianzhong

  • Hello Jianzhong,

    Thank you for your quick response. I've followed the instructions and now the PDK was successfully rebuilt. However, I still get the "schema file not found" error.

    To give you some background: I'm currently trying to build the example app rtos_template_app. I've imported the code from the latest processor SDK (v8.2.0.5). When I compile it with the included PDK (v8.2.0.21), I get the error message below. If I compile it with the an older PDK (8.0.0.36), it compiles successfully.

    A possible explanation is that for PDK v8.0.0.36 in /packages/ti/osal/lib I find the folders freertos, nonos, and tirtos whereas for the PDK v8.2.0.21 I find only freertos and nonos (and tirtos is not present). Is this intentional?

    **** Build of configuration Debug for project rtos_template_app_am65xx_a53 ****
    
    "C:\\ti\\ccs1120\\ccs\\utils\\bin\\gmake" -k -j 16 all -O 
     
    Building file: "../main.cfg"
    Invoking: XDCtools
    "C:/ti/SDKs/processor-sdk-rtos-arm65xx-evm-08_00_00_12/xdctools_3_61_04_40_core/xs" --xdcpath="C:/ti/SDKs/processor-sdk-rtos-arm65xx-evm-08_00_00_12/bios_6_83_02_07/packages;C:/ti/SDKs/processor-sdk-rtos-arm65xx-evm-08_02_00_05/pdk_am65xx_08_02_00_21/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A53F -p ti.platforms.cortexA:AM65X -r release -c "C:/ti/SDKs/processor-sdk-rtos-arm65xx-evm-08_00_00_12/gcc-arm-9.2-2019.12-mingw-w64-i686-aarch64-none-elf" "../main.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring main.xa53fg from package/cfg/main_pa53fg.cfg ...
    subdir_rules.mk:19: recipe for target 'build-1995341329-inproc' failed
    js: "D:/ccsworkspace/rtos_template_app_am65xx_a53/main.cfg", line 162: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: C:\ti\SDKs\processor-sdk-rtos-arm65xx-evm-08_02_00_05\pdk_am65xx_08_02_00_21\packages\ti\osal\package.xdc found along the package path, but no schema file was found.  Ensure that the package 'ti.osal' is completely built.
        "./package/cfg/main_pa53fg.cfg", line 192
    gmake.exe: *** [package.mak:214: package/cfg/main_pa53fg.xdl] Error 1
    js: "C:/ti/SDKs/processor-sdk-rtos-arm65xx-evm-08_00_00_12/xdctools_3_61_04_40_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1995341329-inproc] Error 1
    gmake: *** [build-1995341329] Error 2
    subdir_rules.mk:16: recipe for target 'build-1995341329' failed
    gmake: Target 'all' not remade because of errors.

    Kind Regards,

    Eric Opitz

  • Hi Eric,

    You're right. TI-RTOS is not packaged into the Processor SDK since 8.1 release. Please refer to the release notes of the Processor SDK RTOS for AM65x, section 4.2.3.2:

    4.2.3.2. TI-RTOS vs. FreeRTOS

    FreeRTOS is the default OS for R5F libraries and binaries starting in 08.00.00 release. In 08.01.00 release, FreeRTOS is the default build and TI-RTOS (Sysbios) is no longer supported or packaged as part of the SDK. Please review the PDK release notes (LINK) for additional links and developer pages dedicated FreeRTOS migration.

    Regards,

    Jianzhong