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.

[参考译文] CCS/AM5716:CCS 中的端口 SBL 项目

Guru**** 2562120 points
Other Parts Discussed in Thread: CCSTUDIO, SYSBIOS

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/625644/ccs-am5716-port-sbl-project-in-ccs

器件型号:AM5716
Thread 中讨论的其他器件:CCStudioSYSBIOS

工具/软件:Code Composer Studio

您好!

我想将 SBL 项目用作我的项目的基础。 第一步是将 SBL 项目移植到 CCS 中。
遗憾的是,pdkProjectCreate.bat 不支持名为 SBL 的模块...

哪种方法是最有效的移植方式?
是否有"分步指南"?
可以给我一些建议吗?

我正在使用:

- CCS 版本:7.2.0.00013

- SDK RTOS v3.03.00.04

- PDK v1.0.6、在 Windows 上

此致、
Christian

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!
    我将把这个主题移至 Sitara 论坛。 那里的专家可以为您提供最好的指导。

    谢谢
    Ki
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    PDK 中的 SBL 裸机次级引导加载程序、使用以下简单 makefile 文件构建:
    pdk_am57xx_1_0_6\packages \ti\boot\sbl\board\idkAM571x\build

    是要更改辅助引导加载程序的行为、还是要尝试将其移植到自定义平台。 n`t 目的是在定制电路板上运行此操作、那么您应该知道、如果您想以与 TI 评估平台类似的方式启动、SBL 代码无需更改。 除 ABB 和 AVS 设置之外的所有板级初始化都是使用板库完成的。

    我们提供了一些分步指南、可将定制电路板添加到 PDK、还提供了如何更新电路板:
    processors.wiki.ti.com/.../Adding_Custom_Board_Library_Target_to_Processor_SDK_RTOS_makefiles
    processors.wiki.ti.com/.../Processor_SDK_RTOS_FAQ

    请参阅此处培训中的第9.5节:
    training.ti.com/application-development-using-processor-sdk-rtos

    如果您还有其他问题、我们可以指导您完成此过程、但我们需要了解您的用例以提供更多指导。

    此致、
    Rahul
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    是的、我想更改引导加载程序的行为。 我想使用 SDK 库中包含的过程(UART、i2c、...)。
    我曾谘询过有关的链接,但在整合图书馆方面仍然有问题。
    我所做的:
    1.根据"Processor SDK RTOS 常见问题解答"-Doc 和 add input (...)、从 ti\boot\sbl\board\idkAM571x\build 复制 linker.cmd。
    2.根据“Processor SDK RTOS 常见问题解答”-Doc.将设置->GNU Linker->Libraries

    控制台输出:

    "C:\\CCSTUDIO_V7\\ccsv7\\utils\\bin\\gmake"-k -j 4 all -O
    '生成文件:./main.c'
    '调用:GNU 编译器'
    "C:/CCSTUDIO_V7/ccsv7/tools/compiler/gcc-arm-no-eabi-6-2017-Q1-update/bin/arm-no-eabi-gcc.exe"
    -c -mcpu=cortex-a15 -mtune =cortex-a15 -marm -Dam5718 -I" C:/Develop/TC_CTR_V5/Workspace_CCS_V7/SBL
    -i"C:/CCSTUDIO_V7/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-Q1-update/arm-no-eabi/include"
    -i"C:/ti/pdk_am57xx_1_0_6/packages -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -mF"main.d"
    -mt"main.o"-o"main.o""../main.c"
    '完工建筑:./main.c'
    '
    '生成文件:./startup_ARMCA15.S'
    '调用:GNU 编译器'
    "C:/CCSTUDIO_V7/ccsv7/tools/compiler/gcc-arm-no-eabi-6-2017-Q1-update/bin/arm-no-eabi-gcc.exe"
    -c -mcpu=cortex-a15 -mtune =cortex-a15 -marm -Dam5718 -I" C:/Develop/TC_CTR_V5/Workspace_CCS_V7/SBL
    -i"C:/CCSTUDIO_V7/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-Q1-update/arm-no-eabi/include"
    -i"C:/ti/pdk_am57xx_1_0_6/packages -g -gdwarf-3 -gstrict-dwarf -Wall -md -mp -mF"startup_arMCA15.d"
    -mt"startup_arMCA15.o"-o"./startup_arMCA15.S"
    '已完成构建:./startup_armcA15.S'
    '
    '构建目标:SBL.OUT'
    '调用:GNU 连接器'
    "C:/CCSTUDIO_V7/ccsv7/tools/compiler/gcc-arm-no-eabi-6-2017-Q1-update/bin/arm-no-eabi-gcc.exe"
    mtune = cortex-a15 -mem -Dam5718 -g -gdwarf-3 -gstrict-dwarf -Wall -mcpu=cortex-a15 -wl、-Map、"SBL.map"
    -WL、--defsym、STACKSIZE = 0x10000 -WL、--defsym、HEAPSIZE = 0x400 -o"./main.o""./STARTUP_ARMCA15.o"
    -wl、-t"../linker.cmd"-wl、--start-group -lc
    -l:"C:/ti/pdk_am57xx_1_0_6/packages/ti/board/lib/idkAM571x/a15/release/ti.board.aa15fg -WL、--end-group
    Makefile:145:目标'SPL.OUT"的配方失败
    C:/CCSTUDIO_v7/ccsv7/tools/compiler/gcc-arm-none-eabi-6-2017-Q1-update/bin/./lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe:
    找不到-l:C:/ti/pdk_am57xx_1_0_6/packages/ti/board/lib/idkAM571x/a15/release/ti.board.aa15fg
    collect2.exe:错误:LD 返回1退出状态
    gmaking[1]:***[SBL.OUT]错误1
    gmake:***[全部]错误2.
    Makefile:141:目标'all'的配方失败

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

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

    Christian、

    如果  仔细检查屏幕截图、您将注意到需要在库名称前面添加":"、并且需要将库的路径添加到搜索路径中。

    例如:在您的案例中、将以下内容添加到 库搜索路径-L 或--library-path 链接器选项的路径

    C:/ti/pdk_am57xx_1_0_6/packages/ti/board/lib/idkAM571x/a15/release 

     

    将以下库添加到-l 或--library 中:

    :ti.board.aa15fg 

    请尝试此操作、并告知我们此问题是否已解决。

    此致、

    Rahul

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

    你(们)好,Rahul

    是的、我错过了这个。 (创建 PDF 后、仅集成了第一个映像。)

    我进行了以下更改:

    输入(
       "C:\ti\pdk_am57xx_1_0_6\packages \ti\board\lib\idkAM571x\a15\release\ti.board.aa15fg"
       "C:\ti\pdk_am57xx_1_0_6\packages \ti\drv\spi\lib\a15\release\ti.drv.spi.aa15fg"
       "C:\ti\pdk_am57xx_1_0_6\packages \ti\drv\i2c\lib\a15\release\ti.drv.i2c.aa15fg"
       "C:\ti\pdk_am57xx_1_0_6\packages \ti\drv\uart\lib\am571x\a15\release\ti.drv.uart.aa15fg"
       "C:\ti\pdk_am57xx_1_0_6\packages \ti\cSL\lib\am571x\a15\release\ti.csl.aa15fg"
       "C:\ti\pdk_am57xx_1_0_6\packages \ti\cSL\lib\am571x\a15\release\ti.csl.init.aa15fg"
       "C:\ti\pdk_am57xx_1_0_6\packages \ti\osal\lib\tirtos\a15\release\ti.osal.aa15fg"
       "C:\ti\pdk_am57xx_1_0_6\packages \ti\fs\fs\fs\fatfs\lib\a15\releases\ti.fs.fatfs.aa15fg"
       "C:\ti\pdk_am57xx_1_0_6\packages \ti\drv\mmcsd\lib\a15\release\ti.drv.mmcsd.aa15fg"
       "C:\ti\BIOS_6_46_04_53\packages/GNU\Targets\arm\rtsv7a\lib\syscalls.aa15fg"
    )

    库(-l、--library):

    :ti.board.aa15fg
    :ti.csl.aa15fg
    :ti.csl.init.aa15fg
    :ti.osal.aa15fg
    :ti.drv.uart.aa15fg
    :ti.drv.i2c.aa15fg
    :ti.drv.spi.aa15fg
    :ti.drv.mmcsd.aa15fg
    :ti.fs.fatfs.aa15fg
    :syscalls.aa15fg

    库搜索路径(-L、--library-path):

    "C:\ti\pdk_am57xx_1_0_6\packages \ti\board\lib_idkAM571x\a15\release"
    "C:\ti\pdk_am57xx_1_0_6\packages \ti\cSL\lib\am571x\a15\release"
    "C:\ti\pdk_am57xx_1_0_6\packages \ti\osal\lib\tirtos\am571x\a15\release"
    "C:\ti\pdk_am57xx_1_0_6\packages \ti\drv\uart\lib\am571x\a15\release"
    "C:\ti\pdk_am57xx_1_0_6\packages \ti\drv\i2c\lib\am571x\a15\release"
    "C:\ti\pdk_am57xx_1_0_6\packages \ti\drv\spi\lib\am571x\a15\release"
    "C:\ti\pdk_am57xx_1_0_6\packages \ti\drv\mmcsd\lib\am571x\a15\release"
    "C:\ti\pdk_am57xx_1_0_6\packages \ti\fs\fatfs\lib\a15\release"
    "C:\ti\BIOS_6_46_04_53\packages/GNU\Targets\arm\rtsv7a\lib"

    此外、我必须进行以下更改:

    -mfloat-abi=硬

    mfpu=fpv4-sp-D16

    -一些宏修改:__bss_start__、__bss_end__、__stack

    现在、我有以下输出:

    ****为项目 SBL 构建配置 Debug_GNU ****

    "C:\\CCSTUDIO_V7\\ccsv7\\utils\\bin\\gmake"-k -j 4 all -O
    '生成文件:./startup_ARMCA15.S'
    '调用:GNU 编译器'
    "c:/CCSTUDIO_V7/ccsv7/tools/compiler/gcc-arm-no-eabi-6-2017-Q1-update/bin/arm-no-eabi-gcc.exe"-c -mcpu=cortex-a15 -mtune =cortex-a15 -mfloat-abi-abi-gccstep-gcc-gce-step-rand-mf-ne.com/dmctradem-mstack-rand-msp-rand-msp-rand-msp-rand-msp-rand-rand-msp-msp-rand-msp-mctrack-rand-msp-msp-adem-adem-rand-adem-rand-r-rand-r-rand-mcum-r-rand-r-msp-mctrack-rand-mcateg-adem-adem-adem-r"-rand-r-adem-r-r-rand-r-msp-/ti/pdk_am57xx_1_0_6/packages /Develop/TC_CTR_V5/Workspace_CCS_V7/SBL  
    '已完成构建:./startup_armcA15.S'
    '
    '生成文件:./main.c'
    '调用:GNU 编译器'
    "C:/CCSTUDI_V7/ccsv7/tools/compiler/gcc-arm-no-eabi-6-2017-Q1-update/bin/arm-no-eabi-gcc.exe"-c -mcpu=cortex-a15 -mtex-a15 -marm -mfloat-abi=hard -mabi-gcc-gcc-gcc-gctrab-mf-ne.ex-mf-d"-mf-dstudio /Develop/TC_CTR_V5/Workspace_CCS_V7/SBL -mf-none -mf-dma-mf-nem-mf-ne.com/dmf-nem-mf-nem-mf-ne.com/msp-msp-msp-msp-msp-msp-msp-msp-msp-msp-msp-msp-dstudio -msp-mf-ne.7"-msp-msp-mf-ne.com/dma-msp-msp-msp-msp-msp-msp-msp-msp-g-/ti/pdk_am57xx_1_0_6/packages  
    '完工建筑:./main.c'
    '
    '构建目标:SBL.OUT'
    '调用:GNU 连接器'
    "C:/CCSTUDIO_V7/ccsv7/tools/compiler/gcc-arm-no-eabi-6-2017-Q1-update/bin/arm-no-eabi-gcc.exe"-mtex-a15 -mem -dam5718 -g -gdwarf-3 -gti-dwarf-eabi-gcc-gcc-gcc-exe"-mtune -l=cortex-a15 -mr -mr -mr -mr -mr -dwl"/ti/pdk_am57xx_1_0_6/packages/ti/board/lib/idkAM571x/a15/release -start-mr -mr -mr -mr -dwl"/ti/pdk_am57xx_1_0_6/packages/ti/csl/lib/am571x/a15/release /ti/pdk_am57xx_1_0_6/packages/ti/osal/lib/tirtos/am571x/a15/release /ti/pdk_am57xx_1_0_6/packages/ti/drv/uart/lib/am571x/a15/release -mf -mr -mr -mr -mr -mr -mcr -l"/ti/pdk_am57xx_1_0_6/packages/ti/drv/i2c/lib/am571x/a15/release /ti/pdk_am57xx_1_0_6/packages/ti/drv/spi/lib/am571x/a15/release /ti/pdk_am57xx_1_0_6/packages/ti/drv/mmcsd/lib/am571x/a15/release /ti/bios_6_46_04_53/packages/gnu/targets/arm/rtsv7A/lib -rf -rf -mcwl"/ti/pdk_am57xx_1_0_6/packages/ti/fs/fatfs/lib/a15/release -mf -r.cn.cn.cn"-r.cn.cn.cn.cn.cn"-r.cn.cn.cn.cn"-t.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn" ti.csl.init.aa15fg -
    Makefile:154:目标'SPL.OUT"的配方失败
    /main.o:在函数`main'中:
    C:\dev\TC_CTR_V5\Workspace_CCS_V7\SBL\Debug_GNU/./main.c:95:对`SBL_Configure_AVS'的引用未定义
    C:\DEEP\TC_CTR_V5\Workspace_CCS_V7\SBL\Debug_GNU/./main.c:101:未定义对`SBL_SlaveCorePrcmEnable'的引用
    C:\dev\TC_CTR_V5\Workspace_CCS_V7\SBL\Debug_GNU/./main.c:108:`SBL_ImageCopy'的引用未定义
    C:\develd\TC_CTR_V5\Workspace_CCS_V7\SBL\Debug_GNU/./main.c:118:未`S对 BL_DSP1_BringUp'的引用
    C:\dev\TC_CTR_V5\Workspace_CCS_V7\SBL\Debug_GNU/./main.c:124:未定义对`SBL_IPU1_CPU0_BringUp'的引用
    C:\dev\TC_CTR_V5\Workspace_CCS_V7\SBL\Debug_GNU/./main.c:129:`SBL_IPU1_CPU1_BringUp'的引用未定义
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (SemaphoreP_tirtos.oa15fg):在函数中`SemaphoreP_create':
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal/src/tirtos/SemaphoreP_tirtos.c:66:未定义对`xdc_runtime_Error_init__E_E'的引用
    C:\ti\pdk_am57xx_1_0_6\packages \ti\osal/src/tirtos/SemaphoreP_tirtos.c:67:未定义对`xdc_runtime_Memory_alloc_E_E'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release\ti.osal.aa15fg (SemaphoreP_tirtos.o15fg):在函数`ti_sysbios_kn_semaphore_Params_init'中:
    C:/ti/bios_6_46_04_53/packages/ti/sysbios/knl/Semaphore.h:419:未`对 ti_SysBIOS_KNL_Semaphore_Params__init (void) static'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (SemaphoreP_tirtos.oa15fg):在函数中`SemaphoreP_create':
    C:\ti\pdk_am57xx_1_0_6\packages \ti\osal/src/tirtos/SemaphoreP_tirtos.c:87:未定义对`ti_sysbios_knL_semaphore_construct'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal/src/tirtos/SemaphoreP_tirtos.c:75:未定义对`ti_sysbios_knL_semaphore_construct'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (SemaphoreP_tirtos.oa15fg):在函数`SemaphoreP_delete 中:
    C:\ti\pdk_am57xx_1_0_6\packages \ti\osal/src/tirtos/SemaphoreP_tirtos.c:104:未定义对`ti_SysBIOS_KNL_Semaphore_析 构的引用
    C:\ti\pdk_am57xx_1_0_6\packages \ti\osal/src/tirtos/SemaphoreP_tirtos.c:107:未定义对`XDC_RUNTIME_Memory_free__E'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (SemaphoreP_tirtos.oa15fg):在函数`SemaphoreP_pend 中:
    C:\ti\pdk_am57xx_1_0_6\packages \ti\osal/src/tirtos/SemaphoreP_tirtos.c:133:未定义对`ti_sysbios_knL_semaphore_pend_e_e'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (SemaphoreP_tirtos.oa15fg):在函数`SemaphoreP_post'中:
    C:\ti\pdk_am57xx_1_0_6\packages \ti\osal/src/tirtos/SemaphoreP_tirtos.c:152:未定义对`ti_sysbios_knL_semaphore_post_e_e'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Hwip_tirtos.oa15fg):在函数`Hwip_clearInterrupt"中:
    C:\ti\pdk_am57xx_1_0_6\packets\ti\osal/src/tirtos/Hwip_tirtos.c:75:未定义对`ti_sysbios_family_arm_gic_hwi_clearInterr__E'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Hwip_tirtos.oa15fg):在函数`Hwip_create'中:
    C:\ti\pdk_am57xx_1_0_6\packets\ti\osal/src/tirtos/Hwip_tirtos.c:88:未定义对`xdc_runtime_Error_init__E_E'的引用
    C:\ti\pdk_am57xx_1_0_6\packets\ti\osal/src/tirtos/Hwip_tirtos.c:91:未定义对`xdc_runtime_Memory_alloc_e_e'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Hwip_tirtos.oa15fg):在函数`ti_sysbios_family_arm_gic_Hwi_Params_init'中:
    C:/ti/bios_6_46_04_53/packages/ti/sysbios/family/arm/gic/Hwi.h:930:未`对 ti_SysBIOS_family_ARM_GIC_Hwi_Params__init (void) static'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Hwip_tirtos.oa15fg):在函数`Hwip_create'中:
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal/src/tirtos/Hwip_tirtos.c:113:未定义对`ti_sysbios_family_arm_gic_hwi_construct'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal/src/tirtos/Hwip_tirtos.c:98:未定义对`ti_sysbios_family_arm_gic_hwi_construct'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Hwip_tirtos.oa15fg):在函数`Hwip_delete 中:
    C:\ti\pdk_am57xx_1_0_6\packets\ti\osal/src/tirtos/Hwip_tirtos.c:129:未定义对`ti_SysBIOS_family_arm_GIC_Hwi_析 构的引用
    C:\ti\pdk_am57xx_1_0_6\packets\ti\osal/src/tirtos/Hwip_tirtos.c:132:未定义对`xdc_runtime_Memory_five_e_e_e_e_e'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release\ti.osal.aa15fg (Hwip_tirtos.oa15fg):在函数中`Hwip_disable':
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal/src/tirtos/Hwip_tirtos.c:144:未定义对`ti_sysbios_family_arm_gic_hwi_disableFxn__e_e'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Hwip_tirtos.oa15fg):在函数`Hwip_disableInterrupt"中:
    C:\ti\pdk_am57xx_1_0_6\packets\ti\osal/src/tirtos/Hwip_tirtos.c:154:未定义对`ti_sysbios_family_arm_gic_hwi_disableInterrupt___E_E'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Hwip_tirtos.oa15fg):在函数`Hwip_enableInterrupt"中:
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal/src/tirtos/Hwip_tirtos.c:162:未定义对`ti_sysbios_family_arm_gic_hwi_enableInterrupt__e_e'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Hwip_tirtos.oa15fg):在函数`Hwip_restore'中:
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal/src/tirtos/Hwip_tirtos.c:186:未定义对`ti_sysbios_family_arm_gic_Hwi_restoreFxn_E_E'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Utils_tirtos.oa15fg):在函数`_DebugP_assert'中:
    C:\ti\pdk_am57xx_1_0_6\package\ti\osal/src/tirtos/Utils_tirtos.c:73:未定义对`xdc_runtime_Main_Module_id (void) const'的引用
    C:\ti\pdk_am57xx_1_0_6\package\ti\osal/src/tirtos/Utils_tirtos.c:73:未定义对`xdc_runtime_Main_Module_id (void) const'的引用
    C:\ti\pdk_am57xx_1_0_6\packets\ti\osal/src/tirtos/Utils_tirtos.c:73:未定义对`xdc_runtime_assert_raise (int0_t)'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Utils_tirtos.oa15fg):在函数`OSAL_getThreadType'中:
    C:\ti\pdk_am57xx_1_0_6\packets\ti\osal/src/tirtos/Utils_tirtos.c:80:未定义对`ti_SysBIOS_BIOS_getThreadType__E_E'的引用
    C:\ti\pdk_am57xx_1_0_6\packets\ti\osal/src/tirtos/Utils_tirtos.c:80:未定义对`ti_SysBIOS_BIOS_getThreadType__E_E'的引用
    C:\ti\pdk_am57xx_1_0_6\packages/ti\osal\lib\tirtos\a15\release.ti.osal.aa15fg (Utils_tirtos.oa15fg):在函数`OSAL_DELAY"中:
    C:\ti\pdk_am57xx_1_0_6\packages \ti\osal/src/tirtos/Utils_tirtos.c:112:未定义对`ti_SysBIOS_KNL_Task_sleep_E_E'的引用
    collect2.exe:错误:LD 返回1退出状态
    gmaking[1]:***[SBL.OUT]错误1
    gmake:***[全部]错误2.
    Makefile:150:目标'all'的配方失败

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

    感谢你的帮助

    此致

    Christian

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

    Christian、

    您正在链接到不正确的 OSAL 库。 SBL 是n`t 操作系统的裸机组件、但我看到您在 OSAL 的 tirtos 版本中进行链接。

    您能更改路径  

    pdk_am57xx_1_0_7\packages/ti\osal\lib\tirtos\am571x\a15\release 

    到没有操作系统版本。

    pdk_am57xx_1_0_7\packages/ti\osal\lib\nonos\am571x\a15\release 

    SBL 未定义的符号是因为您尚未将所有 SBL 文件添加到项目中。 请参阅路径 pdk_am57xx_1_0_7\packages/ti\boot\sbl\boardIdkAM571x\build 下的 makefile。 检查文件中的 SRC_C 宏设置。

    此致、

    Rahul

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

    Rahul、

    谢谢你。 我现在可以构建并链接我的项目。

    此致

    Christian