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/AM5728: SBL components build issue

Part Number: AM5728

Tool/software: TI-RTOS

Hello,

I am trying to build SBL components on windows and i have the following error:

gmake[1]: Leaving directory `C:/ti/pdk_am57xx_1_0_10/packages/ti/board/diag'
gmake buildtarget bboard=evmK2G btests=evmK2G_DIAG
gmake[1]: Entering directory `C:/ti/pdk_am57xx_1_0_10/packages/ti/board/diag'
gmake -C dcan BOARD=evmK2G TARGET=armv7 BOOTMODE=
gmake[2]: Entering directory `C:/ti/pdk_am57xx_1_0_10/packages/ti/board/diag/dca
n'
gmake -f ./build/evmK2G/armv7/makefile
gmake[3]: Entering directory `C:/ti/pdk_am57xx_1_0_10/packages/ti/board/diag/dca
n'
compiling /ti/PDK_AM~1/packages/ti/board/diag/common/K2G/platform.c ...
/ti/PDK_AM~1/packages/ti/board/diag/common/K2G/platform.c: In function 'platform
_delay':
/ti/PDK_AM~1/packages/ti/board/diag/common/K2G/platform.c:1063:5: warning: impli
cit declaration of function 'BOARD_delay' [-Wimplicit-function-declaration]
BOARD_delay(usecs);
^~~~~~~~~~~
/ti/PDK_AM~1/packages/ti/board/diag/common/K2G/platform.c:1064:1: warning: contr
ol reaches end of non-void function [-Wreturn-type]
}
^
At top level:
/ti/PDK_AM~1/packages/ti/board/diag/common/K2G/platform.c:168:13: warning: 'getS
erialNumber' defined but not used [-Wunused-function]
static void getSerialNumber(char *buf)
^~~~~~~~~~~~~~~
/ti/PDK_AM~1/packages/ti/board/diag/common/K2G/platform.c:59:3: warning: 'platfo
rm_mcb' defined but not used [-Wunused-variable]
} platform_mcb = {0, 0, 0};
^~~~~~~~~~~~
linking /ti/PDK_AM~1/packages/ti/board/obj/evmK2G/armv7/dcan_test.o /ti/PDK_AM~1
/packages/ti/board/obj/evmK2G/armv7/evmk2g_dcan.o /ti/PDK_AM~1/packages/ti/board
/obj/evmK2G/armv7/evmk2g_dcan_frame.o /ti/PDK_AM~1/packages/ti/board/obj/evmK2G/
armv7/evmk2g_dcan_platform.o /ti/PDK_AM~1/packages/ti/board/obj/evmK2G/armv7/dia
g_entry.ao /ti/PDK_AM~1/packages/ti/board/obj/evmK2G/armv7/platform.o /ti/PDK_AM
~1/packages/ti/board/obj/evmK2G/armv7/diag_common_cfg.o into /ti/PDK_AM~1/packag
es/ti/board/bin/evmK2G/armv7/dcan_diagExample_evmK2G_armv7.out ...
arm-none-eabi-gcc.exe: error: /ti/PDK_AM~1/packages/ti/board/lib/evmK2G/a15/rele
ase/ti.board.aa15fg: No such file or directory
arm-none-eabi-gcc.exe: error: /ti/PDK_AM~1/packages/ti/csl/lib/k2g/a15/release/t
i.csl.aa15fg: No such file or directory
arm-none-eabi-gcc.exe: error: /ti/PDK_AM~1/packages/ti/csl/lib/k2g/a15/release/t
i.csl.init.aa15fg: No such file or directory
arm-none-eabi-gcc.exe: error: /ti/PDK_AM~1/packages/ti/drv/uart/lib/k2g/a15/rele
ase/ti.drv.uart.aa15fg: No such file or directory
arm-none-eabi-gcc.exe: error: /ti/PDK_AM~1/packages/ti/drv/i2c/lib/k2g/a15/relea
se/ti.drv.i2c.aa15fg: No such file or directory
arm-none-eabi-gcc.exe: error: /ti/PDK_AM~1/packages/ti/osal/lib/nonos/k2g/a15/re
lease/ti.osal.aa15fg: No such file or directory
gmake[3]: *** [/ti/PDK_AM~1/packages/ti/board/bin/evmK2G/armv7/dcan_diagExample_
evmK2G_armv7.out] Error 1
gmake[3]: Leaving directory `C:/ti/pdk_am57xx_1_0_10/packages/ti/board/diag/dcan
'
gmake[2]: *** [build_example] Error 2
gmake[2]: Leaving directory `C:/ti/pdk_am57xx_1_0_10/packages/ti/board/diag/dcan
'
gmake[1]: *** [dcan_build] Error 2
gmake[1]: Leaving directory `C:/ti/pdk_am57xx_1_0_10/packages/ti/board/diag'
gmake: *** [evmK2G] Error 2

Please help me fix the issue. Not sure what i am missing here.

Thanks,
Deepthi

  • Hi,

    What processor is this - AM5728 or K2G?
  • Deepthi,

    I am not sure what exactly are you doing in this setup. The release you are is for AM57xx devices but your build has evmK2G all over the build log. 

    Can you help us understand how you setup the environment (provide a log when you setup the environment)and what build option you invoked and from which directory in the SDK. Processor SDK RTOS release for AM57xx doesn`t contain driver libraries built for K2G platform so when you try to build this for that platform, you are likely to see these kind of issues.

    Regards,

    Rahul