Hi,
I am developing the DM8168 with DVRRDK GA3.50. In order to integrate an speech codec algorithm to the demo, I tried to find some xDM-ispeech packages in TI.com. Fortunately, I've got an G.722 algorithm package, which is xDM compatible, from this url:
http://software-dl.ti.com/dsps/dsps_public_sw/codecs/C64XPlus_Speech/index_FDS.html
Since the ISA of DSP in DM8168 is C674x (compatible with C64), it is feasible to execute the C64 ISA code in my opinion.
Thus, extracting this package to $DVRRDK/ti_tools/codecs/, I managed to integrate this codec packages in the the RPE framework. I also modified the server_config_c674.c in the rpe package. Everything goes well when I tried "make rpe_all" command.
However, after coding a demo for testing the RPE_create and RPE_delete processes, I tried "make dvr_rdk" command. To my surprise, it cast some errors like these:
error #10373-D: library
"/usr/local/DVRRDK_03.50.00.05/dvr_rdk/../ti_tools/codecs/g722dec_1_10_001/p
ackages/ti/sdo/codecs/g722dec/lib/g722dec_tii.l64P" contains TI-COFF object
files which are incompatible with the ELF output file. Ensure you are using
the proper library.
error #10373-D: library
"/usr/local/DVRRDK_03.50.00.05/dvr_rdk/../ti_tools/codecs/g722enc_1_10_001/p
ackages/ti/sdo/codecs/g722enc/lib/g722enc_tii.l64P" contains TI-COFF object
files which are incompatible with the ELF output file. Ensure you are using
the proper library.
undefined first referenced
symbol in file
--------- ----------------
G722DEC_TII_IG722DEC /usr/local/DVRRDK_03.50.00.05/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/rpe.ae674<server_config_c67x.oe674>
G722ENC_TII_IG722ENC /usr/local/DVRRDK_03.50.00.05/dvr_rdk/../ti_tools/rpe/remote-processor-execute/lib/lib/c674/debug/rpe.ae674<server_config_c67x.oe674>
error #10234-D: unresolved symbols remain
warning #10063-D: entry-point symbol other than "_c_int00" specified:
"ti_sysbios_family_c64p_Hwi0"
error #10010: errors encountered during linking;
"/usr/local/DVRRDK_03.50.00.05/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x-e
vm/dvr_rdk_c6xdsp_debug_1024M_256M.xe674" not built
make[2]: *** [/usr/local/DVRRDK_03.50.00.05/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dvr_rdk_c6xdsp_debug_1024M_256M.xe674] Error 1
make[2]: Leaving directory `/usr/local/DVRRDK_03.50.00.05/dvr_rdk/mcfw/src_bios6/main_app'
make[1]: *** [apps] Error 2
make[1]: Leaving directory `/usr/local/DVRRDK_03.50.00.05/dvr_rdk/mcfw/src_bios6'
make: *** [dvr_rdk_bios6] Error 2
It seems that the *.l64p library was built as a type of TI-COFF, while other algorithm which could be successfully integrated in RPE is ELF-type.
I don't know how to slove this problem. Is it feasible to integrate an COFF-type xDM library into the RPE framework?
Could you give me a hand?
Naroah
July/22/2013