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/EVMK2H:示例工程有错误"无效的 SOC"

Guru**** 2617695 points

Other Parts Discussed in Thread: SYSBIOS, CCSTUDIO

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/579864/rtos-evmk2h-example-project-has-error-invalid-soc

器件型号:EVMK2H

工具/软件:TI-RTOS

你(们)好

我为我的 PC 设置 这些 TI 工具、Code Composer Studio V7和适用于 EVMK2H 的 Processor SDK 4.0.4。

我尝试构建演示 TI 的示例项目。  构建非常好。 但 它有一个错误"无效 SOC"

我检查二进制文件、找到新的 bin 文件、我认为构建成功。

为什么会发生错误?? 我可以解决它吗? 我附加了控制台日志文件。

此致。

Shin。


****项目 PCIe_K2H_wSoCFile_C66BiosExampleProject 的配置调试构建****

"C:\\ti\\ccsv7\\utils\\bin\\gmake"-k -j 8 all -O
gmake[1]:输入目录'C:/Users/keunsu/workspace_v7/PCIE_K2H_wSoCFile_C66BiosExampleProject/Debug
'生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/pcie_sample_wSoCFile.cfg '
'调用:XDCtools '
"C:/ti/xdctools_3_32_01_22_core/xs "--xdcpath="C:/ti/edma3_lld_2_12_02_26/packages;C:/ti/ipc_3_44_00_00/packages;C:/ti/bios_6_46_01_38/packages;C:/ti/pdk_k2hk_4_0_4/packages;C:/ti/ndk_2_25_00_09/packages;C:/ti/uia_2_00_06_52/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro configPkg -t ti.targets.elf.c66 -p ti.platforms.evmTCI6636K2H -r debug -c "C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3 "C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/pcie_sample_wSoCFile.cfg
正在制作 package.mak (由于 package.bld)...
正在为软件包 configPkg 生成接口(因为 package/package.xdc.inc 比 package.XDC 旧)...
从 package/cfg/pcie_sample_wSoCFile_pe66.cfg 配置 PCIe_sample_wSoCfile.xe66 ...
正在生成自定义 ti.sysbios 库 makefile ...
EDMA3驱动器采样 getLib 内
将与 ti.sdo.EDMA3.drv.sample:lib/tci6636k2h-EVM/66/debug/EDMA3_LLD_drv_sample.ae66链接
链接库 ti.csl:./lib/k2h/c66/release/ti.csl.ae66
链接库 ti.drv.pcie:./lib/c66/release/ti.drv.pcie.profiling.ae66
链接库 ti.utils.profiling:./lib/c66/release/ti.utils.profiling.ae66
EDMA3 Drv getLibs 内
将与 ti.sdo.EDMA3.drv:lib/66/debug/EDMA3_LLD_drv.ae66链接
EDMA3 RM get库 中
将与 ti.sdo .edma3.rm:lib/tci6636k2h-evm/66/debug/edma3_LLD_rm.ae66链接
正在开始构建库源...
制作 C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/src/sysbios/sysbios.ae66 ...
gmake[1]:输入目录`C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/src/sysbios
gmake[1]:没有为`all '执行任何操作。
gmake[1]:离开目录`C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/src/sysbios
已完成库构建。
cle66软件包/cfg/PCIe_sample_wSoCFile_pe66.c……
'完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/pcie_sample_wSoCFile.cfg '
'
gmake[1]:离开目录'C:/Users/keunsu/workspace_v7/PCIE_K2H_wSoCFile_C66BiosExampleProject/Debug
'生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/soc/k2h/src/pcie_soc.c '
'调用:C6000编译器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/bin/cl6x -mv6600 --include_path="C:/Users/keunsu/workspace_v7/PCIE_K2H_wSoCFile_C66BiosExampleProject --include_path="C:/ti/pdk_k2hk_4_0_4/packages /ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/soc/k2h/src/pcie_soc.c --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/include -g --define=device_K2H --diag_wrap=off --diag_warning=ti --display_path="c:opt_exit_rom-out_exit_rom-opt_out_parention=pit_rom-out_exit_rom_exit_rom_rom_exit_rom-opt_exit_rom_rom_exit_rom_rom_rom_rom_exitudit_rom-opt_rom_exit_rom_rom_exit_rom-out_rom_rom_rom_rom_rom_rom_rom_rom_exit_rom_rom_rom_exit_rom_
'完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/soc/k2h/src/pcie_soc.c '
'
'生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/commonEDMA.c '
'调用:C6000编译器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/bin/cl6x -mv6600 --include_path="C:/Users/keunsu/workspace_v7/PCIE_K2H_wSoCFile_C66BiosExampleProject --include_path="C:/ti/pdk_k2hk_4_0_4/packages /ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/commonEDMA.c --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/include -g --define=device_K2H --diag_wrap=off --diag_warning=ti --display_path="c:--example_out_common-entry_proc-out_probe_target=us_out_probe_target=us_target=us_target=-out_parm=-out_target=us_target=us_target=-out_target=us_target=us_target=-out_target=us_target=us_target=us_target=us_target=-out_target=us_target=us_target=us_target=us_target=us_target=us_target=-
'完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/commonEDMA.c '
'
'生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeEDMAselector.c '
'调用:C6000编译器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/bin/cl6x -mv6600 --include_path="C:/Users/keunsu/workspace_v7/PCIE_K2H_wSoCFile_C66BiosExampleProject --include_path="C:/ti/pdk_k2hk_4_0_4/packages --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/include -g --define=device_K2H --diag_wrap=off --diag_warning=ti --display_path="c:--example_out_aprob_exit_rom-opt_exit_rom-out_parentry=/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeEDMAselector.c --opt_util_exit_out_exit_rom_exitude_parention_rom-out_profile_profile_parentry=us-out_probe_parent_us=
'完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeEDMAselector.c '
'
'生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeDMA.c '
'调用:C6000编译器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/bin/cl6x -mv6600 --include_path="C:/Users/keunsu/workspace_v7/PCIE_K2H_wSoCFile_C66BiosExampleProject --include_path="C:/ti/pdk_k2hk_4_0_4/packages /ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeDMA.c --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/include -g --define=device_K2H --diag_wrap=off --diag_warning=ti --display_path="c:--opt_out_exit_rom-exit_rom_board=opt_exit_rom_rom_rom_exit_rom-out_rom_rom_exit_rom_rom_exit_rom_rom_rom-out_us_rom_exitudit_rom_rom_exit_rom_rom_rom_exit_rom_rom_rom_rom_exit_rom_rom_rom_exit_rom_rom_rom_us_exit_rom_rom_rom_util
'完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeDMA.c '
'
'生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src/pcie_sample.c '
'调用:C6000编译器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/bin/cl6x -mv6600 --include_path="C:/Users/keunsu/workspace_v7/PCIE_K2H_wSoCFile_C66BiosExampleProject --include_path="C:/ti/pdk_k2hk_4_0_4/packages /ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src/pcie_sample.c --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/include -g --define=device_K2H --diag_wrap=off --diag_warning=ti --display_path="c:--opt_out_exit_rom-example_profile_out_rom-opt_example_parention=pit_rom-opt_rom_exit_rom_rom_exit_rom_rom_exit_rom-opt_rom_rom_exit_rom-out_exit_rom-out_profile_parention_rom_rom_rom_rom_rom_util_rom_exit_rom_rom_rom_exit_rom_rom_exitudit_ov
'完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src/pcie_sample.c '
'
'构建目标:PCIe_K2H_wSoCFile_C66BiosExampleProject.out'
'调用:C6000链接器'
"c:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/bin/cl6x "-mv6600 -g -define=device_K2H -diag_wrap=off -diag_warning=225 -display_error_number -exit_hook=ti_utils_exit -exit_parm=address -entry_parm=address -ent_entry_obj -entry_example_pcie_pcie_example.cmpci_example_pcie_pcie_remote_exit_example."-socus_example"-c66rom_example_pci_example_pci_example_pci_exit_example.cm_example_pcie_pci_example.cm_example"/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/lib -"_example.cmpci_example.cmpci_ab_example.cmpci_ab_ex-"_ex-cobtor_ex-rom_ab_ex-cobtex-"_obtexample.cmpci_obtex_ex_ex_ex_ex-rom_ab_example"/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3/include -

'完成的构建目标:PCIe_K2H_wSoCFile_C66BiosExampleProject.out'
'
C:/ti/pdk_k2hk_4_0_4/packages/pdkAppImageCreate.bat C:/ti/pdk_k2hk_4_0_4/packages C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3 C:/Users/keunsu/workspace_v7/PCIE_K2H_wSoCFile_C66BiosExampleProject/Debug PCIe_K2H_wSoCFile_C66BiosExampleProject K2H DSP

C:\Users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置 pdk_path=C:/ti/pdk_k2hk_4_0_4/packages

C:\Users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置 CG_TOOL_PATH=C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.1.3

C:\Users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置 app_path=C:/Users/keunsu/workspace_v7/PCIE_K2H_wSoCFile_C66BiosExampleProject/Debug

C:\users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>set app_name=PCIe_K2H_wSoCFile_C66BiosExampleProject

C:\Users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置 SOC=K2H

C:\Users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>Set processor=DSP

C:\users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>IF K2H =AM437x (转到 SOC_AM3_AM4)

C:\users\keunsu\workspace_v7\pcie K2H_wSoCFile_C66BiosExampleProject\Debug>IF K2H =AM335x (转至 SOC_AM3_AM4)

C:\users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>IF K2H =AM572x (转至 SOC_AM57XX)

C:\users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>IF K2H =AM571x (转至 SOC_AM57XX)

C:\Users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>else (

C:\Users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>echo 错误:无效的 SOC
错误:SOC 无效

C:\Users\keunsu\workspace_v7\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>转到 ENDSCRIPT
'
'else'不会被识别为内部或外部命令、
可操作的程序或批处理文件。

****构建完成****

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    请尝试以下步骤:
    x0155517@MMS:~$ cd ti/pdk_k2hk _4_0_3/packages/
    x0155517@MMS:~/ti/pdk_k2hk_4_0_3/packages 来源 pdksetupenv.sh
    x0155517@MMS:~/ti/pdk_k2hk_4_0_3/packages ./pdkProjectCreate.sh K2H 全小型 PCIe DSP

    这应该会在~/ti/pdk_k2hk_4_0_3/packages/MyExampleProjects.中对 PCIe 示例项目文件夹进行地理编码 然后打开 CCS、导入该 PCIe 项目并进行构建。

    命令./pdkProjectCreate.sh K2H 所有小尺寸 PCIe DSP 都转换为:
    pdkProjectCreate.sh [SoC][板][字节序][模块][处理器]

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好

    我使用 Windows 机器。 我尝试执行下面的序列

    TI\pdk_k2hk _4_0_4\packages/pdkSetup.bat

    TI\pdk_k2hk _4_0_4\packages/pdkProjectCreate.bat K2H 几乎没有所有 DSP

    它是生成所有项目文件。

    然后我在 CCSv7中加载 PCIe 项目文件。  

    "无效 SOC"消息仍然存在。

    很抱歉、但 您的推荐 对我没有帮助。

    谢谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    这很奇怪。  我在我这边验证了这个、它工作正常。 请参阅我的编译中的日志 :e2e.ti.com/.../PCI_5F00_build_5F00_log

    我建议您检查您的整个构建设置。 查看您是否已将 SDK 源正确导入到 CCS 中、请验证您的环境变量和路径是否正确。  

    此致、  
    Yordan

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你(们)好

    您可以尝试使用 Windows 机器吗?

    我认为"pdkAppImageCreate.bat"脚本有问题。

    此致
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    我的 PC 上没有安装 Windows。
    但是、我检查了.bat 文件、它的用法确实有一些差异:
    pdkProjectCreate.bat [SoC][板][字节序][模块][处理器][pdkDir]

    pdkDir -此文件位置/"C:\ti\pdk_ _ \packages "=>表示 pdkProjectCreate.bat 位置。

    您需要在末尾指定 PDK 目录 因此、请尝试运行:
    TI\pdk_k2hk _4_0_4\packages/pdkProjectCreate.bat K2H 几乎所有 DSP "C:\ti\pdk_k2hk _4_0_4\packages "

    在上面的命令中、我假设 ti\pdk_k2hk _4_0_4安装在 C:\中。

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我猜您使用的是 Processor SDK RTOS 3.2、其中包括 pdk_k2hk_4_0_3。 请注意、您使用的 SDK 版本仅支持使用 CCSv6.1.3而不支持 CCSv7。 我们的发行说明中指定了以下内容:
    processors.wiki.ti.com/.../Processor_SDK_RTOS_Release_Notes

    我们将在即将推出的 Processor SDK RTOS 版本中转到 CCS v7。 我不确定这是否是问题的根本原因、但我们建议您下载版本说明中指定的推荐 CCS 版本、并按照此处所述选择以下选项、以便在 CCS 中安装正确的软件包。


    processors.wiki.ti.com/.../Processor_SDK_RTOS_Getting_Started_Guide

    从 YORdan`s 的日志中可以看到这一点。 他正在使用 CCSv6、因此他可能没有遇到此问题。 如果您仍想使用 CCSv7、则可能需要相应地修改 pdkProjectcreate 脚本以正确生成项目。

    此致、
    Rahul

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好~

    感谢您的推荐。

    我尝试安装 pdk_k2hk_4_0_4和 ccsv6.1.3、我遇到另一个错误。

    "!错误:未知 RTSC 产品类型 ID 'com.ti.sdo .edma3'!"

    消息的含义是什么?

    此致。

    谢谢



    C:\ti\pdk_k2hk _4_0_4\packages >pdkProjectCreate.bat k2h 所有小型 PCIe DSP "C:\ti\pdk_k2hk _4_0_4\packages "
    ========================================================================================================================================================
    配置:
    SoC :K2H
    电路板 :全部
    字节序 :小
    模块 :PCIe
    处理器 :DSP
    pdk_short_name:"C:\ti\pdk_k2hk _4_0_4\packages "
    ========================================================================================================================================================
    正在检查配置...
    完成
    ========================================================================================================================================================
    PDK_PARTNO TCI6636
    pdk_Eclipse_ID :com.ti.pdk.k2hk
    RTSC_platform_name:ti.platforms.evmTCI6636K2H
    RTSC_TARGET :ti.targets.elf.c66
    CCS_DEVICE 网址:com.ti.ccstudio.deviceModel.C6000.GenericC64xPlusDevice"
    (小部分
    检测 PDK 中的所有工程并将其导入工作区"C:\ti\pdk_k2hk _4_0_4\packages "\MyExampleProjects"
    检测到的测试项目:PCIe_K2H_wSoCFile_C66BiosExampleProject

    --------------------------------------------------
    正在创建项目'PCIe_K2H_wSoCFile_C66BiosExampleProject'...

    !警告:没有与指定版本'3.2.1.22'等效的 XDCtools 可用-默认为'3.31.3.43_core'。
    !错误:未知 RTSC 产品类型 ID 'com.ti.sdo .edma3'!
    注:请参阅以下可用 RTSC 产品类型 ID 列表(方括号中的显示名称仅供参考):


    正在复制 macros.ini
    系统无法找到指定的路径。
    已复制0个文件。
    检测到的测试项目:PCIe_K2H_wSoCLib_C66BiosExampleProject

    --------------------------------------------------
    正在创建项目'PCIe_K2H_wSoCLib_C66BiosExampleProject'...

    !警告:没有与指定版本'3.2.1.22'等效的 XDCtools 可用-默认为'3.31.3.43_core'。
    !错误:未知 RTSC 产品类型 ID 'com.ti.sdo .edma3'!
    注:请参阅以下可用 RTSC 产品类型 ID 列表(方括号中的显示名称仅供参考):


    正在复制 macros.ini
    系统无法找到指定的路径。
    已复制0个文件。
    未检测到工程
    项目生成完成
    (小部分
    C:\ti\pdk_k2hk _4_0_4\packages/>
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你(们)好

    我更新了 CCSv6.1.3并删除了 EDMA3错误。 但仍然存在无效的 SOC 错误。

    我安装 CCSv6.1.3和 Processor SDK 3.02、包括 pdk_k2hk_4_0_4。 在给定 pdk_k2hk_4_0_4的情况下、我更新 ccsv6并导入 PCIe 示例。

    我构建项目。 结果与 CCS v7相同。

    您是否建议使用 CCS v 6.1.3和 Processor SDK 3.02稳定版本?

    我在下面的 CCSv6中附加了错误消息、请检查此消息并尽快修复此错误。

    谢谢。



    ****项目 PCIe_K2H_wSoCFile_C66BiosExampleProject 的配置调试构建****

    "C:\\ti\\ccsv6\\utils\\bin\\gmake"-k all
    '生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/pcie_sample_wSoCFile.cfg '
    '调用:XDCtools '
    "C:/ti/xdctools_3_32_01_22_core/xs "--xdcpath="C:/ti/edma3_lld_2_12_02_26/packages;C:/ti/ipc_3_44_00_00/packages;C:/ti/bios_6_46_01_38/packages;C:/ti/pdk_k2hk_4_0_4/packages;C:/ti/ndk_2_25_00_09/packages;C:/ti/uia_2_00_06_52/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro configPkg -t ti.targets.elf.c66 -p ti.platforms.evmTCI6636K2H -r debug -c "C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0 "C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/pcie_sample_wSoCFile.cfg
    正在制作 package.mak (由于 package.bld)...
    正在为软件包 configPkg 生成接口(因为 package/package.xdc.inc 比 package.XDC 旧)...
    从 package/cfg/pcie_sample_wSoCFile_pe66.cfg 配置 PCIe_sample_wSoCfile.xe66 ...
    正在生成自定义 ti.sysbios 库 makefile ...
    EDMA3驱动器采样 getLib 内
    将与 ti.sdo.EDMA3.drv.sample:lib/tci6636k2h-EVM/66/debug/EDMA3_LLD_drv_sample.ae66链接
    链接库 ti.csl:./lib/k2h/c66/release/ti.csl.ae66
    链接库 ti.drv.pcie:./lib/c66/release/ti.drv.pcie.profiling.ae66
    链接库 ti.utils.profiling:./lib/c66/release/ti.utils.profiling.ae66
    EDMA3 Drv getLibs 内
    将与 ti.sdo.EDMA3.drv:lib/66/debug/EDMA3_LLD_drv.ae66链接
    EDMA3 RM get库 中
    将与 ti.sdo .edma3.rm:lib/tci6636k2h-evm/66/debug/edma3_LLD_rm.ae66链接
    正在开始构建库源...
    制作 C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/src/sysbios/sysbios.ae66 ...
    gmake[1]:输入目录`C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/src/sysbios
    CLE66 C:/ti/bios_6_46_01_38/packages/ti/sysbios/BIOS.c……
    asme66 C:/ti/bios_6_46_01_38/packages/ti/sysbios/family/c64p/Exception_asm.s64P。。
    asme66 C:/ti/bios_6_46_01_38/packages/ti/sysbios/family/c64p/Hwi_asm.s62。。
    asme66 C:/ti/bios_6_46_01_38/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62。。
    asme66 C:/ti/bios_6_46_01_38/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P。。
    asme66 C:/ti/bios_6_46_01_38/packages/ti/sysbios/family/c62/TaskSupport_asm.s62。。
    asme66 C:/ti/bios_6_46_01_38/packages/ti/sysbios/rts/ti/tls_get_tp.asm。。
    asme66 C:/ti/bios_6_46_01_38/packages/ti/sysbios/timers/timer64/Timer_asm.s64P。。
    are66 bios.obj c64p_exception_asm_wi_asm_obj c64p_hwi_asm_switch.obj c64p_hwi_disp_always.obj c62_taskSupport_asm.obj ti_tls_get_tp.obj timer64_Timer_as.obj ...
    gmake[1]:离开目录`C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/src/sysbios
    已完成库构建。
    cle66软件包/cfg/PCIe_sample_wSoCFile_pe66.c……
    '完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/k2h/c66/bios/pcie_sample_wSoCFile.cfg '
    '
    '生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeDMA.c '
    '调用:C6000编译器'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -mv6600 -include_path="C:/ti/pdk_k2hk_4_0_4/packages --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include "-g --define=device_K2H --diag_warning=225 --diag_overy=off --display_error_number --entry=ti_hook=ti_exit_exit_decue_out-proc-premote_board_exit_decue_out_rom-exit_decue_out_entry-profile_proc-pit_opt_opt_profile_probe.m=/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeDMA.c -opt_out_probe_probe_probe_probe_opt_opt_util_exit_out_probe-probe_probe_target=-opt_probe.m_
    '完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeDMA.c '
    '
    '生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeEDMAselector.c '
    '调用:C6000编译器'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -mv6600 -include_path="C:/ti/pdk_k2hk_4_0_4/packages --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include "-g --define=device_K2H --diag_warning=225 --diag_overy=off --display_error_number --entry=ti_hook=ti_exit_out_parm=/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeEDMAselector.c --exit_exit_out_partrom-out_exit_exit_target=prue_target=premote_target=-out_parentry_opt_opt_profile_parentry-out_profile_opt_profile_opt_utils.come"-opt_probe_probe_opt_opt_opt_probe_opt_util_out_profile_opt_profile_pro
    '完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/PCIeEDMAselector.c '
    '
    '生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/commonEDMA.c '
    '调用:C6000编译器'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -mv6600 -include_path="C:/ti/pdk_k2hk_4_0_4/packages --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include "-g --define=device_K2H --diag_warning=225 --diag_overy=off --display_error_number --entry=ti_hook=ti_exit_out-proc-parm=/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/commonEDMA.c -out_exit_example_target=proc-parm=prue_out_probe_target=-out_parentry_probe-probe_target=-probe_target=prue_target=-parm=prue_target=-out_parm=prue_target=-parm=prue_out_parm=-out_parm=prue_target=-
    '完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/EDMA/commonEDMA.c '
    '
    '生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src/pcie_sample.c '
    '调用:C6000编译器'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -mv6600 -include_path="C:/ti/pdk_k2hk_4_0_4/packages --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include "-g --define=device_K2H --diag_warning=225 --diag_overy=off --display_error_number --entry=ti_hook=ti_exit_out_parm=/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src/pcie_sample.c --exit_example_opt_out_example_proc-probe_opt_probe_probe_probe_probe_opt_opt_out_probe_probe_probe.m=page-opt_profile_probe_probe_probe_probe_opt_opt_opt_opt_opt_out_probe_probe_probe_probe.m_sample_pro
    '完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src/pcie_sample.c '
    '
    '生成文件:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/soc/k2h/src/pcie_soc.c '
    '调用:C6000编译器'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x -mv6600 -include_path="C:/ti/pdk_k2hk_4_0_4/packages /ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/soc/k2h/src/pcie_soc.c --include_path="C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/example/sample/src --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include "-g --define=device_K2H --diag_warning=225 --diag_overy=off --display_error_number --entry=ti_hook=ti_exit_opt_out-pci_exit_rom-out_parentry=pci_opt_opt_opt_out_probe.m=pci_opt_out_opt_profile_opt_profile_probe_opt_opt_out_profile_opt_profile_opt_probe_opt_probe_probe_probe_opt_opt_opt_opt_opt_out_opt_probe_probe.m
    '完成的建筑:C:/ti/pdk_k2hk_4_0_4/packages/ti/drv/pcie/soc/k2h/src/pcie_soc.c '
    '
    '构建目标:PCIe_K2H_wSoCFile_C66BiosExampleProject.out'
    '调用:C6000链接器'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/bin/cl6x "-mv6600 -g -define=device_K2H -diag_warning=225 -diag_wrap=off -display_error_number -entry_hook=ti_utils_entry_parm_address -entry_parm=address -exit_exit_obj -example_pcie_pcie_example.cmpcie_example_pcie_pcie_remote_example."-socus_example"-c66rom_example_pci_example.example_pci_example_pcie_pci_example"-cove"/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/lib -rom_example_pci_exit_example_pci_example.texample_pci_example.texample_pci_example_pci_example.cm_example."-soc_example.cm_example."-soc_ecom_ecom_or_example"-"-"_example"-pci_ecome.tex-cove"-cov /ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0/include

    '完成的构建目标:PCIe_K2H_wSoCFile_C66BiosExampleProject.out'
    '
    C:/ti/pdk_k2hk_4_0_4/packages/pdkAppImageCreate.bat C:/ti/pdk_k2hk_4_0_4/packages C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0 C:/Users/keunsu/workspace_v6_1_3/PCIE_K2H_wSoCFile_C66BiosExampleProject/Debug PCIe_K2H_wSoCFile_C66BiosExampleProject K2H DSP

    C:\Users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置 pdk_path=C:/ti/pdk_k2hk_4_0_4/packages

    C:\users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置 CG_TOOL_PATH=C:/ti/ccsv6/tools/compiler/ti-cgt-c6000_8.1.0

    C:\users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置 app_path=C:/Users/keunsu/workspace_v6_1_3/PCIE_K2H_wSoCFile_C66BiosExampleProject/Debug

    C:\users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置 app_name=PCIe_K2H_wSoCFile_C66BiosExampleProject

    C:\Users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置 SOC=K2H

    C:\users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>设置处理器=DSP

    C:\users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>IF K2H =AM437x (转到 SOC_AM3_AM4)

    C:\users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>IF K2H =AM335x (转至 SOC_AM3_AM4)

    C:\users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>IF K2H =AM572x (转至 SOC_AM57XX)

    C:\users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>IF K2H =AM571x (转至 SOC_AM57XX)

    C:\Users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>else (

    C:\Users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>echo 错误:SOC 无效
    错误:SOC 无效

    C:\Users\keunsu\workspace_v6_1_3\PCIe_K2H_wSoCFile_C66BiosExampleProject\Debug>转到 ENDSCRIPT
    '
    'else'不会被识别为内部或外部命令、
    可操作的程序或批处理文件。

    ****构建完成****
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是的、Processor SDK 3.02和 CCSv6.1.3版本是稳定的、看起来您能够正确构建 PCIe 示例。

    无效的 SOC 问题发生在由工程中的编译后处理步骤调用的 pdkAppImageCreate.bat 上。 这似乎是一个错误、因为该脚本只应在支持从 SD 卡引导的 SOC 上调用。 请忽略该错误并在 K2H 平台的 C66x 内核上加载并运行 PCIe_K2H_wSoCFile_C66BiosExampleProject.out。

    此致、
    Rahul