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.

TDA3: vsdk301: alg_plugins/surroundview/SRC_FILES.MK

Part Number: TDA3

Hello.
Can you notify VSDK-team about a bug in vsdk301 makefile?
Here are stderr-output from 'gmake -j -s PROFILE=release'.


D:/ti/vsdk301/vision_sdk/build/rtos/makerules/rules_66.mk:181: target `D:/ti/vsdk301/vision_sdk/binaries/apps/tda3xx_evm_bios_all/obj/app_alg_plugins/tda3xx-evm/66/release/GAlignLUT_tda3xx.oe66'

given more than once in the same rule.
D:/ti/vsdk301/vision_sdk/build/rtos/makerules/rules_66.mk:181: target `D:/ti/vsdk301/vision_sdk/binaries/apps/tda3xx_evm_bios_all/obj/app_alg_plugins/tda3xx-evm/66/release/GAlignExt_tda3xx.oe66'

given more than once in the same rule.
D:/ti/vsdk301/vision_sdk/build/rtos/makerules/rules_66.mk:181: target `D:/ti/vsdk301/vision_sdk/binaries/apps/tda3xx_evm_bios_all/obj/app_alg_plugins/tda3xx-evm/66/release/GAlignLUT_tda3xx.oe66'

given more than once in the same rule.
D:/ti/vsdk301/vision_sdk/build/rtos/makerules/rules_66.mk:181: target `D:/ti/vsdk301/vision_sdk/binaries/apps/tda3xx_evm_bios_all/obj/app_alg_plugins/tda3xx-evm/66/release/GAlignExt_tda3xx.oe66'

given more than once in the same rule.
warning: ti.sysbios.family.c66.Cache: "D:/ti/vsdk301/ti_components/os_tools/bios_6_46_04_53/packages/ti/sysbios/family/c66/Cache.xs", line 340: ti.sysbios.family.c66.Cache : Cache settings were

changed in user configuration. User configuration options will override platform settings. Check your memory map to make sure that Cache does not conflict with your L1/L2 memory placement. To avoid

conflicts between L1/L2 memory and cache, we recommended specifying cache sizes along with memory sizes in a platform package.
warning: ti.sysbios.family.c66.Cache: "D:/ti/vsdk301/ti_components/os_tools/bios_6_46_04_53/packages/ti/sysbios/family/c66/Cache.xs", line 340: ti.sysbios.family.c66.Cache : Cache settings were

changed in user configuration. User configuration options will override platform settings. Check your memory map to make sure that Cache does not conflict with your L1/L2 memory placement. To avoid

conflicts between L1/L2 memory and cache, we recommended specifying cache sizes along with memory sizes in a platform package.

The problem file is: 'vision_sdk/apps/src/rtos/alg_plugins/surroundview/SRC_FILES.MK'.
Targets GAlignLUT and GAlignExt both added to 'SRCS_SURROUND_VIEW_GALIGN' and 'SRCS_SURROUND_VIEW_SYTH'.
Both variables used in 'SRCS_c66xdsp_1' and 'SRCS_c66xdsp_2'. The result contains muliply targets.

Suggested patch (changes are marked with yellow) . Both vars (GALIGN and SYTH) are commented with '#' (exclude from build) inside SOC-sections.

---

SRCDIR += surroundview

SRCS_SURROUND_VIEW_SYTH = synthesisLink_algPlugin.c \

SRCS_SURROUND_VIEW_PALIGN = pAlignLink_algPlugin.c \

SRCS_SURROUND_VIEW_ULTRASONICFUSION = uFusionLink_algPlugin.c UFusionExt.c UFusion_bufferZonesLUT.c \

SRCS_SURROUND_VIEW_GALIGN = gAlignLink_algPlugin.c \
                            gAlign3DLink_algPlugin.c\
                            svLutGen_If.c \
                            svBlendTableGen_If.c \
                            adaptiveBowlLink_algPlugin.c

ifeq ($(EARLY_SRV_ENABLE), yes)
SRCS_SURROUND_VIEW_SYTH += GSynthLUT_default.c
endif

ifeq ($(SOC), tda2xx)
#SRCS_SURROUND_VIEW_GALIGN += GAlignLUT_tda2xx.c GAlignExt_tda2xx.c
#SRCS_SURROUND_VIEW_SYTH += GAlignLUT_tda2xx.c GAlignExt_tda2xx.c
SRCS_SURROUND_VIEW_LUTEXT += GAlignLUT_tda2xx.c GAlignExt_tda2xx.c
endif

ifeq ($(SOC), tda2px)
#SRCS_SURROUND_VIEW_SYTH += GAlignLUT_tda3xx.c GAlignExt_tda3xx.c
#SRCS_SURROUND_VIEW_GALIGN += GAlignLUT_tda3xx.c GAlignExt_tda3xx.c
SRCS_SURROUND_VIEW_LUTEXT += GAlignLUT_tda3xx.c GAlignExt_tda3xx.c
endif

ifeq ($(SOC), tda2ex)
#SRCS_SURROUND_VIEW_SYTH += GAlignLUT_tda2xx.c GAlignExt_tda2xx.c
#SRCS_SURROUND_VIEW_GALIGN += GAlignLUT_tda2xx.c GAlignExt_tda2xx.c
SRCS_SURROUND_VIEW_LUTEXT += GAlignLUT_tda2xx.c GAlignExt_tda2xx.c
endif

ifeq ($(SOC), tda3xx)
#SRCS_SURROUND_VIEW_SYTH += GAlignLUT_tda3xx.c GAlignExt_tda3xx.c
#SRCS_SURROUND_VIEW_GALIGN += GAlignLUT_tda3xx.c GAlignExt_tda3xx.c
SRCS_SURROUND_VIEW_LUTEXT += GAlignLUT_tda3xx.c GAlignExt_tda3xx.c
endif

SRCS_c66xdsp_1 += $(SRCS_SURROUND_VIEW_SYTH) $(SRCS_SURROUND_VIEW_PALIGN) $(SRCS_SURROUND_VIEW_ULTRASONICFUSION) $(SRCS_SURROUND_VIEW_GALIGN)
SRCS_c66xdsp_1 += $(SRCS_SURROUND_VIEW_LUTEXT)
SRCS_c66xdsp_2 += $(SRCS_SURROUND_VIEW_SYTH) $(SRCS_SURROUND_VIEW_PALIGN) $(SRCS_SURROUND_VIEW_ULTRASONICFUSION) $(SRCS_SURROUND_VIEW_GALIGN)
SRCS_c66xdsp_2 += $(SRCS_SURROUND_VIEW_LUTEXT)

---

 

Also, Can you explain warnings 'conflicts between L1/L2 memory and cache'? These warnings are old and observed in previous releases.

 

Thank you.

  • Hi Senchuss,

    thanks for finding it. I have notified the VisionSDK experts.

    Regards,
    Yordan
  • Hi, Yordan.
    Just found another bug!
    Try to build dcan.
    If set 'DCAN_INCLUDE=yes' then build fails.

    The problem file is: vision_sdk/apps/src/rtos/modules/dcan/utils_dcan.c
    LINES 102-104.
    Incorrect include directives. Header files are located in 'vision_sdk/links_fw/src/rtos/utils_common/include'.
    But 'rtos' keywords are missing.

    These lines:
    #include "src/utils_common/include/utils.h"

    #include "src/utils_common/include/utils_que.h"

    #include "src/utils_common/include/utils_tsk.h"

    Must be replaced with these lines:
    #include "src/rtos/utils_common/include/utils.h"

    #include "src/rtos/utils_common/include/utils_que.h"

    #include "src/rtos/utils_common/include/utils_tsk.h"


    Please notify VSDK-team.
  • Hi Senchuss,

    Sure, this is bug, we will fix them in the next release.

    Rgds,

    Brijesh