Other Parts Discussed in Thread: SYSBIOS, MATHLIB
Tool/software: TI C/C++ Compiler
HI all,
We have CCS 8.3.1, RTOS SDK 04_03_00_05 and PDK DRA7xx 1.0.10 (these are not the latest versions of tools, but these are the versions J6EVM5777 page links to, so I assume we have to stay at this SDK version to develop for TDA2x).
I am trying to compile multicore demo located at
packages\ti\boot\sbl_auto\examples\sbl_multicore_mbx\tda2xx
The platform is Windows. According to we run pdksetupenv.bat, go to that directory, and run gmake. However, it seems like it is building for idkAM752x and fails with unresolved symbols.
From folder name, one could expect that a build for tda2x would take place.
Doing gmake LIMIT_SOCS=DRA75x does not change anything. The build log is below.
Any advice would be much appreciated. Thanks.
Ramani
C:\ti\pdk_dra7xx_1_0_10\packages\ti\boot\sbl_auto\examples\sbl_multicore_mbx\tda2xx>gmake LIMIT_SOCS="DRA75x"
gmake -fmakefile csl csl_utils_common csl_uart_console csl_init
gmake[1]: Entering directory `C:/ti/pdk_dra7xx_1_0_10/packages/ti/boot/sbl_auto/examples/sbl_multicore_mbx/tda2xx'
gmake -C /ti/PDK_DR~1/packages/ti/csl -fmakefile.mk
gmake[2]: Entering directory `C:/ti/PDK_DR~1/packages/ti/csl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `C:/ti/PDK_DR~1/packages/ti/csl'
gmake -C /ti/PDK_DR~1/packages/ti/csl/example/utils/common
gmake[2]: Entering directory `C:/ti/PDK_DR~1/packages/ti/csl/example/utils/common'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `C:/ti/PDK_DR~1/packages/ti/csl/example/utils/common'
gmake -C /ti/PDK_DR~1/packages/ti/csl/example/utils/uart_console
gmake[2]: Entering directory `C:/ti/PDK_DR~1/packages/ti/csl/example/utils/uart_console'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `C:/ti/PDK_DR~1/packages/ti/csl/example/utils/uart_console'
gmake -C /ti/PDK_DR~1/packages/ti/csl/arch -fmakefile_init.mk
gmake[2]: Entering directory `C:/ti/PDK_DR~1/packages/ti/csl/arch'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `C:/ti/PDK_DR~1/packages/ti/csl/arch'
gmake[1]: Leaving directory `C:/ti/pdk_dra7xx_1_0_10/packages/ti/boot/sbl_auto/examples/sbl_multicore_mbx/tda2xx'
gmake -fmakefile /ti/PDK_DR~1/packages/ti/binary/sbl_multicore_mbx/bin/idkAM572x/sbl_multicore_mbx_a15_0_release.xa15fg
gmake[1]: Entering directory `C:/ti/pdk_dra7xx_1_0_10/packages/ti/boot/sbl_auto/examples/sbl_multicore_mbx/tda2xx'
# Compiling idkAM572x:am572x:a15_0:release:sbl_multicore_mbx: sbl_mbx_mpu_cpu0.c
C:/ti/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc -MD -MF /ti/PDK_DR~1/packages/ti/binary/sbl_multicore_mbx/obj/idkAM572x/a15_0/release/.deps/sbl_mbx_mpu_cpu0.P -DMAKEFILE_BUILD -Wimplicit -Wall -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -c -mcpu=cortex-a15 -g -mfpu=neon -mfloat-abi=hard -mabi=aapcs -mapcs-frame -D__ARMv7 -Werror -O2 -s -DNDEBUG -DBUILD_A15_0 -DSOC_AM572x -DidkAM572x -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include -IC:/ti/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/include/newlib-nano -I/ti/PDK_DR~1/packages -I/apps/apps_nonbam/inc -I/ -I/common -o /ti/PDK_DR~1/packages/ti/binary/sbl_multicore_mbx/obj/idkAM572x/a15_0/release/sbl_mbx_mpu_cpu0.oa15fg sbl_mbx_mpu_cpu0.c
In file included from /ti/PDK_DR~1/packages/ti/csl/src/ip/mailbox/V0/mailbox.h:55:0,
from /ti/PDK_DR~1/packages/ti/csl/csl_mailbox.h:48,
from sbl_mbx_mpu_cpu0.c:41:
sbl_mbx_mpu_cpu0.c: In function 'padConfig_prcmEnable':
sbl_mbx_mpu_cpu0.c:68:48: error: 'CTRL_CORE_PAD_UART1_RXD' undeclared (first use in this function)
HW_WR_REG32(SOC_CORE_PAD_IO_REGISTERS_BASE+CTRL_CORE_PAD_UART1_RXD,0x00040000);
^
/ti/PDK_DR~1/packages/ti/csl/hw_types.h:88:34: note: in definition of macro 'HW_WR_REG32'
(HW_WR_REG32_RAW((uint32_t) (addr), (uint32_t) (value)))
^~~~
sbl_mbx_mpu_cpu0.c:68:48: note: each undeclared identifier is reported only once for each function it appears in
HW_WR_REG32(SOC_CORE_PAD_IO_REGISTERS_BASE+CTRL_CORE_PAD_UART1_RXD,0x00040000);
^
/ti/PDK_DR~1/packages/ti/csl/hw_types.h:88:34: note: in definition of macro 'HW_WR_REG32'
(HW_WR_REG32_RAW((uint32_t) (addr), (uint32_t) (value)))
^~~~
sbl_mbx_mpu_cpu0.c:69:48: error: 'CTRL_CORE_PAD_UART1_TXD' undeclared (first use in this function)
HW_WR_REG32(SOC_CORE_PAD_IO_REGISTERS_BASE+CTRL_CORE_PAD_UART1_TXD,0x00000000);
^
/ti/PDK_DR~1/packages/ti/csl/hw_types.h:88:34: note: in definition of macro 'HW_WR_REG32'
(HW_WR_REG32_RAW((uint32_t) (addr), (uint32_t) (value)))
^~~~
gmake[1]: *** [/ti/PDK_DR~1/packages/ti/binary/sbl_multicore_mbx/obj/idkAM572x/a15_0/release/sbl_mbx_mpu_cpu0.oa15fg] Error 1
gmake[1]: Leaving directory `C:/ti/pdk_dra7xx_1_0_10/packages/ti/boot/sbl_auto/examples/sbl_multicore_mbx/tda2xx'
gmake: *** [a15_0] Error 2