Awhile ago I was working with a codec server tree that I could use to integrate the H264 codec into a server for DM6446. It looks like with the latest DSVSDK tools I am using (DSVSDK 1.30.01.41), this server will no longer build.
I am getting these errors when trying to build this tree:
WARNING: The server's .tcf file defines an unrecognized BIOS memory segment named "DDR_CODE_8". The Arm application may not be able to use Engine.createFromServer() API to configure this server, and you may run into a host of other problems. We strongly recommend that you only have segments "DDR2", "DDRALGHEAP", "DSPLINKMEM" and "RESET" defined in your .tcf file.
Warning: another non-standard BIOS memory segment: "DDR_CODE_7"
Warning: another non-standard BIOS memory segment: "DDR_CODE_6"
Warning: another non-standard BIOS memory segment: "DDR_CODE_5"
Warning: another non-standard BIOS memory segment: "DDR_CODE_4"
Warning: another non-standard BIOS memory segment: "DDR_CODE_3"
Warning: another non-standard BIOS memory segment: "DDR_CODE_2"
Warning: another non-standard BIOS memory segment: "DDR_CODE_1"
This causes further problems later in the build. Is it no longer valid to have special names for memory sections in the mem_ext block of the .tcf file? This block in the .tcf currently looks like this:
var mem_ext = [
{
comment: "DDRALGHEAP: memory for dynamic algmem allocation",
name: "DDRALGHEAP",
base: 0x8B800000,
len: 0x04200000, // 66MB
space: "code/data"
},
{
comment: "L1DSRAM: memory for dynamic algmem allocation",
name: "L1DSRAM",
base: 0x11F04000,
len: 0x10000, // 64k
space: "data"
},
{
comment: "DDR_CODE_1:memory for code and data : inter_mbs",
name: "DDR_CODE_1",
base: 0x8FA00000,
len: 0x00008200, // 32 KB
space: "code/data"
},
{
comment: "DDR_CODE_2:memory for code and data : rateControl",
name: "DDR_CODE_2",
base: 0x8FA08200,
len: 0x00008000, // 32 KB
space: "code/data"
},
{
comment: "DDR_CODE_3:memory for code and data : bitstream_gen",
name: "DDR_CODE_3",
base: 0x8FA10200,
len: 0x00005000, // 20 KB
space: "code/data"
}, …..
As mentioned, further in the build I get these errors:
>> package/cfg/h264encodeCombo_x64P.xdl, line 72: warning:
(.text:_H264VENC_TI_recon_inter_mbs) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 73: warning:
(.text:_H264VENC_TI_interpVhpHqp_N8x8) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 74: warning:
(.text:_H264VENC_TI_interpVqpHqp_N8x8) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 75: warning:
(.text:_H264VENC_TI_interpVqpHhp_N8x8) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 76: warning:
(.text:_H264VENC_TI_interpVqphp_N8x8) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 77: warning:
(.text:_H264VENC_TI_interpHqphp_N8x8) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 78: warning:
(.text:_H264VENC_TI_interpVfpHfp_N8x8) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 79: warning:
(.text:_H264VENC_TI_interpChroma_N4x4) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 80: warning:
(.text:_H264VENC_TI_error_gen_inter) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 81: warning:
(.text:_H264VENC_TI_recon_inter) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 82: warning:
(.text:_H264VENC_TI_trans_quant_luma) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 83: warning:
(.text:_H264VENC_TI_rle_iq_luma_generic) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 84: warning:
(.text:_H264VENC_TI_h264e_idct4x4) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 85: warning:
(.text:_H264VENC_TI_GetLumaIntraModes) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 86: warning:
(.text:_H264VENC_TI_QDMA_copy2D1D_linked) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 87: warning:
(.text:_H264VENC_TI_QDMA_copy1D1D_linked) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 88: warning:
(.text:_H264VENC_TI_QDMA_copy2D1D) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 94: warning:
(.text:_H264VENC_TI_PutSliceP_Data) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 95: warning:
(.text:_H264VENC_TI_MvtoSkipMv) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 96: warning:
(.text:_H264VENC_TI_sad_hnvn16) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 97: warning:
(.text:_H264VENC_TI_sad_hs_hpel) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 98: warning:
(.text:_H264VENC_TI_sad_vs_hpel) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 99: warning:
(.text:_H264VENC_TI_sad_hs_qpel) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 100: warning:
(.text:_H264VENC_TI_sad_vs_qpel) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 101: warning:
(.text:_H264VENC_TI_sad_hsvs_qpel) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 102: warning:
(.text:_H264VENC_TI_sad_hsvs_hpel) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 103: warning:
(.text:_H264VENC_TI_recon_addr_calc) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 110: warning:
(.text:_H264VENC_TI_RC_PLR3_preSeq) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 111: warning:
(.text:_H264VENC_TI_RC_PLR3_postSkip) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 112: warning:
(.text:_H264VENC_TI_RC_DCES_TM5_evalMbGroupQuant) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 113: warning:
(.text:_H264VENC_TI_RC_DCES_TM5_prePict) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 114: warning:
(.text:_H264VENC_TI_RC_DCES_TM5_preSeq) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 115: warning:
(.text:_H264VENC_TI_RC_TMN5_evalMbGroupQuant) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 116: warning:
(.text:_H264VENC_TI_RC_DCES_TM5_postPict) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 117: warning:
(.text:_H264VENC_TI_RC_TI_vbvMbGroup) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 118: warning:
(.text:_H264VENC_TI_RC_PLR1_postSkip) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 119: warning:
(.text:_H264VENC_TI_RC_CSME1_frameskip) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 120: warning:
(.text:_H264VENC_TI_RC_TMN5_postPict) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 121: warning:
(.text:_H264VENC_TI_RC_CSME_frameskip) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 122: warning:
(.text:_H264VENC_TI_RC_dummy_vbvMbGroup) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 128: warning:
(.text:_H264VENC_TI_mb_header_gen) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 129: warning:
(.text:_H264VENC_TI_Cavlc) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 130: warning:
(.text:_H264VENC_TI_trans_quant_luma16x16) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 131: warning:
(.text:_H264VENC_TI_trans_quant_chroma) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 132: warning:
(.text:_H264VENC_TI_rle_iq_chroma) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 133: warning:
(.text:_H264VENC_TI_CopyToCompBuffer) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 134: warning:
(.text:_H264VENC_TI_Quant2H264QP) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 135: warning:
(.text:_H264VENC_TI_scaledwn_4h4v) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 137: warning:
(.text:_H264VENC_TI_QDMA_copy1D2D_linked) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 138: warning:
(.text:_H264VENC_TI_QDMA_copy1D2D) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 139: warning:
(.text:_H264VENC_TI_QDMA_copy1D1D) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 140: warning:
(.text:_H264VENC_TI_QDMA_wait) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 146: warning:
(.text:_H264VENC_TI_initObj) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 147: warning:
(.text:_H264VENC_TI_control) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 148: warning:
(.text:_H264VENC_TI_encode) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 149: warning:
(.text:_H264VENC_TI_alloc) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 150: warning:
(.text:_H264VENC_TI_CheckLevelLimits) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 151: warning:
(.text:_H264VENC_TI_activate) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 152: warning:
(.text:_H264VENC_TI_init) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 153: warning:
(.text:_H264VENC_TI_deactivate) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 154: warning:
(.text:_H264VENC_TI_numAlloc) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 160: warning:
(.text:_H264VENC_TI_SetEdgeStrengthIntraMbs) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 161: warning:
(.text:_H264VENC_TI_SetEdgeStrengthInterMbs) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 162: warning:
(.text:_H264VENC_TI_deblock_mbs) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 164: warning:
(.text:_H264VENC_TI_filterEdgeVertLuma_Str4) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 165: warning:
(.text:_H264VENC_TI_filterEdgeHorzLuma_Str4) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 166: warning:
(.text:_H264VENC_TI_filterEdgeVertChroma_Str4) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 167: warning:
(.text:_H264VENC_TI_filterEdgeHorzChroma_Str4) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 168: warning:
(.text:_H264VENC_TI_filterEdgeVertLuma_Str3210) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 169: warning:
(.text:_H264VENC_TI_filterEdgeHorzLuma_Str3210) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 170: warning:
(.text:_H264VENC_TI_filterEdgeVertChroma_Str3210) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 171: warning:
(.text:_H264VENC_TI_filterEdgeHorzChroma_Str3210) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 172: warning:
(.text:_H264VENC_TI_repeat_pad_plane) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 173: warning:
(.text:_H264VENC_TI_BlockMove) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 179: warning:
(.text:_H264VENC_TI_PutSliceI_Data) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 180: warning:
(.text:_H264VENC_TI_GetIntraMode) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 181: warning:
(.text:_H264VENC_TI_GenChromaErrDC) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 182: warning:
(.text:_H264VENC_TI_GenChromaErrHor) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 183: warning:
(.text:_H264VENC_TI_GenChromaErrVer) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 184: warning:
(.text:_H264VENC_TI_GenLumaErrHor) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 185: warning:
(.text:_H264VENC_TI_GenLumaErrDC) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 186: warning:
(.text:_H264VENC_TI_GenLumaErrVer) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 187: warning:
(.text:_H264VENC_TI_ReconChromaDC) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 188: warning:
(.text:_H264VENC_TI_ReconChromaHor) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 189: warning:
(.text:_H264VENC_TI_ReconChromaVer) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 190: warning:
(.text:_H264VENC_TI_ReconLumaDC) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 191: warning:
(.text:_H264VENC_TI_ReconLumaHor) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 192: warning:
(.text:_H264VENC_TI_ReconLumaVer) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 193: warning:
(.text:_H264VENC_TI_GenReferencePixels) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 194: warning:
(.text:_H264VENC_TI_GenRefDCLuma) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 195: warning:
(.text:_H264VENC_TI_GenRefDCChroma) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 196: warning:
(.text:_H264VENC_TI_rle_iq_luma_intra16x16) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 197: warning:
(.text:_H264VENC_TI_process_intrambs) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 202: warning:
(.text:_H264VENC_TI_GenerateSeqParamNAL) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 203: warning:
(.text:_H264VENC_TI_GeneratePicParamNAL) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 204: warning:
(.text:_H264VENC_TI_GenerateSliceNAL) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 205: warning:
(.text:_H264VENC_TI_h264e_imcop_init) not found
>> package/cfg/h264encodeCombo_x64P.xdl, line 206: warning:
(.text:_H264VENC_TI_encode_int) not found
>> warning: can't find a memory area named 'undefined' on page 0 for allocation
of '.InitRoutines1'
>> error: can't find any memory areas for allocation of '.InitRoutines1'
>> error: can't allocate '.InitRoutines1' into 'undefined' (page 0)
>> warning: can't find a memory area named 'undefined' on page 0 for allocation
of '.InitRoutines2'
>> error: can't find any memory areas for allocation of '.InitRoutines2'
>> error: can't allocate '.InitRoutines2' into 'undefined' (page 0)
>> warning: can't find a memory area named 'undefined' on page 0 for allocation
of '.bitstream_gen'
>> error: can't find any memory areas for allocation of '.bitstream_gen'
>> error: can't allocate '.bitstream_gen' into 'undefined' (page 0)
>> warning: can't find a memory area named 'undefined' on page 0 for allocation
of '.deblock'
>> error: can't find any memory areas for allocation of '.deblock'
>> error: can't allocate '.deblock' into 'undefined' (page 0)
>> warning: can't find a memory area named 'undefined' on page 0 for allocation
of '.inter_mbs1'
>> error: can't find any memory areas for allocation of '.inter_mbs1'
>> error: can't allocate '.inter_mbs1' into 'undefined' (page 0)
>> warning: can't find a memory area named 'undefined' on page 0 for allocation
of '.inter_mbs2'
>> error: can't find any memory areas for allocation of '.inter_mbs2'
>> error: can't allocate '.inter_mbs2' into 'undefined' (page 0)
>> warning: can't find a memory area named 'undefined' on page 0 for allocation
of '.intra_mbs'
>> error: can't find any memory areas for allocation of '.intra_mbs'
>> error: can't allocate '.intra_mbs' into 'undefined' (page 0)
>> warning: can't find a memory area named 'undefined' on page 0 for allocation
of '.rateControl'
>> error: can't find any memory areas for allocation of '.rateControl'
>> error: can't allocate '.rateControl' into 'undefined' (page 0)
>> warning: can't find a memory area named 'DDR' on page 0 for allocation of
'.sysmem'
>> error: can't find any memory areas for allocation of '.sysmem'
>> error: can't allocate '.sysmem' into 'DDR' (page 0)
>> warning: can't find a memory area named 'DDR' on page 0 for allocation of
'.vecs'
>> error: can't find any memory areas for allocation of '.vecs'
>> error: can't allocate '.vecs' into 'DDR' (page 0)
>> error: errors in input - h264encodeCombo.x64P not built
I can provide both the server .tcf, server .cfg, and codec’s link.xdt, as well as the generated .map, if this helps, to debug this.
Thanks, Pete