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/TDA2: A15 SMP feature conflict with OpenCX

Part Number: TDA2
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hi,

I use tda2xx_evm_bios_opencx as default MAKECONFIG. Then I set the config of DUAL_A15_SMP_BIOS to yes(DUAL_A15_SMP_BIOS=yes) in cfg.mk.

I got a build error as below:

# Compiling generated /home/user03/sil-ti-visionsdk/vision_sdk/binaries/apps/tda2xx_evm_bios_opencx/obj/vision_sdk/tda2xx-evm/a15_0/release/vision_sdk_configuro/package/cfg/MAIN_APP_a1
5_0_pa15fg.c to /home/user03/sil-ti-visionsdk/vision_sdk/binaries/apps/tda2xx_evm_bios_opencx/obj/vision_sdk/tda2xx-evm/a15_0/release/MAIN_APP_a15_0_pa15fg.oa15fg ...
# Linking into /home/user03/sil-ti-visionsdk/vision_sdk/binaries/apps/tda2xx_evm_bios_opencx/vision_sdk/bin/tda2xx-evm/vision_sdk_a15_0_release.xa15fg...
#
/home/user03/sil-ti-visionsdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages/ti/opencl/usr/lib/libOpenCL.a(shmem_rw_policy_rtos.cpp.obj): In function `ReadWritePoli
cyRTOS::CacheWbInvAll()':
shmem_rw_policy_rtos.cpp:(.text+0x23c): undefined reference to `ti_sysbios_family_arm_a15_Cache_wbInvAll__E'
/home/user03/sil-ti-visionsdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages/ti/opencl/usr/lib/libOpenCL.a(memory_provider_rtos.cpp.obj): In function `tiocl::RTOSMe
m<tiocl::RTOSMemMapPolicyPersistent>::CacheInv(void*, unsigned int) const':
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE8CacheInvEPvj[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE8CacheInvEPvj]+0x24): undefined referenc
e to `ti_sysbios_family_arm_a15_Cache_inv__E'
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE8CacheInvEPvj[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE8CacheInvEPvj]+0x38): undefined referenc
e to `ti_sysbios_family_arm_a15_Cache_wbInvAll__E'
/home/user03/sil-ti-visionsdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages/ti/opencl/usr/lib/libOpenCL.a(memory_provider_rtos.cpp.obj): In function `tiocl::RTOSMe
m<tiocl::RTOSMemMapPolicyPersistent>::CacheWb(void*, unsigned int) const':
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE7CacheWbEPvj[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE7CacheWbEPvj]+0x24): undefined reference
to `ti_sysbios_family_arm_a15_Cache_wb__E'
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE7CacheWbEPvj[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE7CacheWbEPvj]+0x38): undefined reference
to `ti_sysbios_family_arm_a15_Cache_wbInvAll__E'
/home/user03/sil-ti-visionsdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages/ti/opencl/usr/lib/libOpenCL.a(memory_provider_rtos.cpp.obj): In function `tiocl::RTOSMe
m<tiocl::RTOSMemMapPolicyPersistent>::CacheWbInv(void*, unsigned int) const':
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE10CacheWbInvEPvj[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE10CacheWbInvEPvj]+0x24): undefined re
ference to `ti_sysbios_family_arm_a15_Cache_wbInv__E'
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE10CacheWbInvEPvj[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE10CacheWbInvEPvj]+0x38): undefined re
ference to `ti_sysbios_family_arm_a15_Cache_wbInvAll__E'
/home/user03/sil-ti-visionsdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages/ti/opencl/usr/lib/libOpenCL.a(memory_provider_rtos.cpp.obj): In function `tiocl::RTOSMe
m<tiocl::RTOSMemMapPolicyPersistent>::UnmapFromHostAddressSpace(void*, unsigned int, bool) const':
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE25UnmapFromHostAddressSpaceEPvjb[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE25UnmapFromHostAddres
sSpaceEPvjb]+0x5c): undefined reference to `ti_sysbios_family_arm_a15_Cache_wb__E'
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE25UnmapFromHostAddressSpaceEPvjb[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE25UnmapFromHostAddres
sSpaceEPvjb]+0x6c): undefined reference to `ti_sysbios_family_arm_a15_Cache_wbInvAll__E'
/home/user03/sil-ti-visionsdk/ti_components/open_compute/opencl_rtos_am57xx_01_01_10_00/packages/ti/opencl/usr/lib/libOpenCL.a(memory_provider_rtos.cpp.obj): In function `tiocl::RTOSMe
m<tiocl::RTOSMemMapPolicyPersistent>::MapToHostAddressSpace(unsigned long long, unsigned int, bool) const':
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE21MapToHostAddressSpaceEyjb[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE21MapToHostAddressSpaceEyj
b]+0xec): undefined reference to `ti_sysbios_family_arm_a15_Cache_inv__E'
memory_provider_rtos.cpp:(.text._ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE21MapToHostAddressSpaceEyjb[_ZNK5tiocl7RTOSMemINS_26RTOSMemMapPolicyPersistentEE21MapToHostAddressSpaceEyj
b]+0xf4): undefined reference to `ti_sysbios_family_arm_a15_Cache_wbInvAll__E'
make[7]: *** [/home/user03/sil-ti-visionsdk/vision_sdk/binaries/apps/tda2xx_evm_bios_opencx/vision_sdk/bin/tda2xx-evm/vision_sdk_a15_0_release.xa15fg] Error

Can i both use OpenCX and A15 SMP feature on BIOS?

Is there any method to solve this build problem?

Best Regards,

Junli,Chen