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/TMS320C6678: Running OpenMP in Secondary Bootloader

Part Number: TMS320C6678

Tool/software: TI-RTOS

Is it possible to use OpenMP functions in secondary bootloader?. If yes, then I am getting errors for using openmp functions.

PS:

I have a custom secondary bootloader. I am trying to run two different application on different cores using openMP.

  • Hi CHETAN,

    What kind of error are you seeing? Can you upload the failure log here?

    Regards,
    Garrett
  • Hi Garrett,

    The failure build log is attached below

    Regards,
    Chetan



    **** Build of configuration Debug for project ti_dsp_emif_boot_sbl_V7 ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 4 all -O

    'Building target: "ti_dsp_emif_boot_sbl_V7.out"'
    'Invoking: C6000 Linker'
    "C:/ti/ti-cgt-c6000_8.2.2/bin/cl6x" -mv6600 --abi=eabi --define=SOC_C6678 -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"ti_dsp_emif_boot_sbl_V7.map" -i"C:/ti/ti-cgt-c6000_8.2.2/lib" -i"C:/ti/ti-cgt-c6000_8.2.2/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="ti_dsp_emif_boot_sbl_V7_linkInfo.xml" --rom_model -o "ti_dsp_emif_boot_sbl_V7.out" "./dsp_init_module.obj" "./dsp_norflash_module.obj" "./dsp_uart_module.obj" "./ti_dsp_sbl_main.obj" "../C6678_norboot.cmd" -llibc.a
    <Linking>

    undefined first referenced
    symbol in file
    --------- ----------------
    omp_set_num_threads ./ti_dsp_sbl_main.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "ti_dsp_emif_boot_sbl_V7.out" not built

    >> Compilation failure
    makefile:144: recipe for target 'ti_dsp_emif_boot_sbl_V7.out' failed
    gmake[1]: *** [ti_dsp_emif_boot_sbl_V7.out] Error 1
    makefile:140: recipe for target 'all' failed
    gmake: *** [all] Error 2

    **** Build Finished ****
  • Chetan,

    Were you able to resolve above link issue? Sorry I was out of office for a few days.
    It appears that you don't have ti_runtime_openmp_c6678_release_e66.ae66 library linked in your project? The omp_set_num_threads function is from the omp library.

    Regards,
    Garrett