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.

AUDENC1_create data segment error at DVR



Hello,

I am using udworks texas instruments dvr (dm368). I am trying to integrate Ittiam mp3 codec to dvr which uses dvsdk2 and montavista.

I got "data segment error" at this code:

encHandle = AUDENC1_create(gALG_hEngine, encoderName, &params);

Do you know the meaning of this error? Why am I getting this error?

Thank you,

Kaan

 

 

  • Hi,

    kaan yilmaz said:

    I got "data segment error" at this code:

    encHandle = AUDENC1_create(gALG_hEngine, encoderName, &params);

    The data segment error can come due to multiple reasons. Have you configured the encoder in the alg_server.cfg file and provided appropirate scratch group id? Also, can you check where the data segment error is actually coming? It could be some parameter that might be NULL and cause an issue.

    Regards,

    Anshuman

    PS: Please mark this post as verified, if you think it has answered your question. Thanks.

     

     

  • I have configured the encoder in alg_server.cfg and set scratch group id to 0, video codecs have scratch group id 1.

    To check where the data segment error is actually coming, I have looked the the debug output. Here is the debug output:

    @46,614,932us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,615,110us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,615,227us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,615,347us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,615,472us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,615,601us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,615,734us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,615,868us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,616,446us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(24) = 0x47e5e000.
    @46,616,625us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e5e000) = 0x867c6000.
    @46,617,062us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(56) = 0x47e8a000.
    @46,617,275us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e8a000) = 0x867f2000.
    @46,617,715us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,617,893us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,618,013us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,618,139us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,618,270us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,618,400us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,950,024us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,950,199us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,950,908us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(24) = 0x47e5e000.
    @46,951,096us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e5e000) = 0x867c6000.
    @46,951,577us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(62) = 0x47e8b000.
    @46,951,754us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e8b000) = 0x867f3000.
    @46,952,193us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,952,369us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,952,487us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,952,609us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,952,780us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,952,916us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,953,020us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,953,141us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,953,716us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(24) = 0x47e5e000.
    @46,953,894us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e5e000) = 0x867c6000.
    @46,954,365us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(56) = 0x47e8c000.
    @46,954,542us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e8c000) = 0x867f4000.
    @46,954,985us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,955,166us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,955,285us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,955,404us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,955,566us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,955,694us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,955,797us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,955,911us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,956,414us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(344) = 0x47e5e000.
    @46,956,587us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e5e000) = 0x867c6000.
    @46,957,126us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(296) = 0x47e8d000.
    @46,957,305us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e8d000) = 0x867f5000.
    @46,957,740us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,957,919us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,958,036us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,958,166us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,958,323us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @46,958,450us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @46,958,587us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @46,958,710us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @46,959,216us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(24) = 0x47e5e000.
    @46,959,484us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e5e000) = 0x867c6000.
    @46,959,959us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(28) = 0x47e8e000.
    @47,292,532us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e8e000) = 0x867f6000.
    @47,292,994us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @47,293,172us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @47,293,290us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @47,293,410us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @47,293,533us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @47,293,657us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @47,293,757us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @47,293,916us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @47,294,427us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(20) = 0x47e5e000.
    @47,294,597us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e5e000) = 0x867c6000.
    @47,295,027us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(24) = 0x47e8f000.
    @47,295,228us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e8f000) = 0x867f7000.
    @47,295,724us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @47,295,905us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @47,296,021us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @47,296,151us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @47,296,283us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @47,296,410us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @47,296,509us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @47,296,664us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @47,297,172us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(16) = 0x47e5e000.
    @47,297,335us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e5e000) = 0x867c6000.
    @47,297,767us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_alloc(16) = 0x47e91000.
    @47,297,968us: [+4 T:0x471ce490] OM - Memory_contigAlloc> CMEM_getPhys(0x47e91000) = 0x867f8000.
    @47,298,432us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @47,298,612us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @47,298,733us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_acquire> lock[0xef640]
    @47,298,853us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_acquire> lock[0xef640]
    @47,299,506us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Entered LockMP_release>lock[0xef640]
    @47,299,683us: [+0 T:0x471ce490] ti.sdo.ce.osal.LockMP - Leaving LockMP_release>lock[0xef640]
    @47,300,048us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_create> return (0xf1488)
    @47,300,197us: [+5 T:0x471ce490] CV - VISA_create> local codec created (name='h264enc', handle=0xf1488)
    @47,300,308us: [+0 T:0x471ce490] ti.sdo.ce.video1.VIDENC1 - VIDENC1_create> return (0xf1d90)
    @47,300,418us: [+0 T:0x471ce490] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Enter (handle=0xf1d90, id=1, dynParams=0xf1b98 (size=0x98), status=0xf1c30 (siz)
    @47,300,543us: [+5 T:0x471ce490] CV - VISA_enter(visa=0xf1d90): algHandle = 0xf1488
    @47,300,643us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0xf1488)
    @47,300,856us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @47,301,059us: [+5 T:0x471ce490] CV - VISA_exit(visa=0xf1d90): algHandle = 0xf1488
    @47,301,186us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0xf1488)
    @47,301,367us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @47,633,616us: [+0 T:0x471ce490] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Exit (handle=0xf1d90, retVal=0x0)
    @47,633,761us: [+0 T:0x471ce490] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Enter (handle=0xf1d90, id=5, dynParams=0xf1b98 (size=0x98), status=0xf1c30 (siz)
    @47,633,893us: [+5 T:0x471ce490] CV - VISA_enter(visa=0xf1d90): algHandle = 0xf1488
    @47,634,000us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0xf1488)
    @47,634,183us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @47,634,308us: [+5 T:0x471ce490] CV - VISA_exit(visa=0xf1d90): algHandle = 0xf1488
    @47,634,409us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0xf1488)
    @47,634,586us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @47,634,690us: [+0 T:0x471ce490] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Exit (handle=0xf1d90, retVal=0x0)
     ALG: VidEnc: pObj->MV_Size =2640
    @47,635,324us: [+0 T:0x471ce490] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Enter (handle=0xf1d90, id=1, dynParams=0xf1b98 (size=0x98), status=0xf1c30 (siz)
    @47,635,467us: [+5 T:0x471ce490] CV - VISA_enter(visa=0xf1d90): algHandle = 0xf1488
    @47,635,576us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0xf1488)
    @47,635,754us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
    @47,635,948us: [+5 T:0x471ce490] CV - VISA_exit(visa=0xf1d90): algHandle = 0xf1488
    @47,636,076us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0xf1488)
    @47,636,263us: [+0 T:0x471ce490] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
    @47,636,404us: [+0 T:0x471ce490] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Exit (handle=0xf1d90, retVal=0x0)
    [LIB365] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    *********DVR ChipSet=1
    [PLAYBACK] - search main window init
     MCVIP: Writer Starting !!!
    [AUDIO] - audio_tsk.c(26):      AUDIO_tskCreate:AUDIO_tskCreate Mode = 5
    mp3CeInit
    mp3CeInit 1
    mp3CeInit 2
    @47,700,932us: [+0 T:0x49937490] ti.sdo.ce.audio1.AUDENC1 - AUDENC1_create> Enter (engine=0xef958, name='mp3_enc', params=0x49936d70)
    @47,701,133us: [+0 T:0x49937490] CV - VISA_create(0xef958, 'mp3_enc', 0x49936d70, 0x716, 'ti.sdo.ce.audio1.IAUDENC1')
    @47,701,286us: [+0 T:0x49937490] CV - VISA_create2(0xef958, 'mp3_enc', 0x49936d70, 0x38, 0x716, 'ti.sdo.ce.audio1.IAUDENC1')
    @47,701,580us: [+0 T:0x49937490] ti.sdo.ce.alg.Algorithm - Algorithm_create> Enter(fxns=0x40241440, idma3Fxns=0x0, iresFxns=0x4023b750, params=0x49936d70, a)
    @47,701,772us: [+0 T:0x49937490] ti.sdo.ce.alg - ALG_create> Enter (scratchId=0, fxns=0x40241440, parentAlg=0x0, params=0x49936d70)
    @47,701,930us: [+2 T:0x49937490] ti.sdo.ce.alg - ALG_create> algNumAlloc 8 memory recs
    @47,702,080us: [+2 T:0x49937490] ti.sdo.ce.alg - ALG_create> algAlloc returned numRecs=8
    @47,702,222us: [+4 T:0x49937490] ti.sdo.ce.alg - ALG_create>  Memory requested memTab[0]: size=0x190, align=0x8, space=0x0, attrs=0x1
    @47,702,364us: [+4 T:0x49937490] ti.sdo.ce.alg - ALG_create>  Memory requested memTab[1]: size=0x39d4, align=0x8, space=0x0, attrs=0x1
    @47,702,506us: [+4 T:0x49937490] ti.sdo.ce.alg - ALG_create>  Memory requested memTab[2]: size=0x3800, align=0x8, space=0x0, attrs=0x0
    @47,702,643us: [+4 T:0x49937490] ti.sdo.ce.alg - ALG_create>  Memory requested memTab[3]: size=0xa80, align=0x8, space=0x0, attrs=0x2
    @47,702,778us: [+4 T:0x49937490] ti.sdo.ce.alg - ALG_create>  Memory requested memTab[4]: size=0xd90, align=0x8, space=0x0, attrs=0x2
    @47,702,955us: [+4 T:0x49937490] ti.sdo.ce.alg - ALG_create>  Memory requested memTab[5]: size=0x1740, align=0x8, space=0x0, attrs=0x2
    @47,703,100us: [+4 T:0x49937490] ti.sdo.ce.alg - ALG_create>  Memory requested memTab[6]: size=0xe2, align=0x8, space=0x0, attrs=0x2
    @47,703,243us: [+4 T:0x49937490] ti.sdo.ce.alg - ALG_create>  Memory requested memTab[7]: size=0x10e0, align=0x8, space=0x0, attrs=0x1
    @47,703,635us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_alloc(400) = 0x40021000.
    @47,703,843us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_getPhys(0x40021000) = 0x86a9f000.
    @47,704,515us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_alloc(14804) = 0x49938000.
    @47,704,743us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_getPhys(0x49938000) = 0x86aa0000.
    @47,705,295us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_alloc(14336) = 0x4993c000.
    @47,705,517us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_getPhys(0x4993c000) = 0x86aa4000.
    @47,706,098us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_alloc(2688) = 0x49940000.
    @48,038,564us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_getPhys(0x49940000) = 0x86aa8000.
    @48,039,092us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_alloc(3472) = 0x49998000.
    @48,039,443us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_getPhys(0x49998000) = 0x86aa9000.
    @48,039,988us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_alloc(5952) = 0x49999000.
    @48,040,217us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_getPhys(0x49999000) = 0x86aaa000.
    @48,040,718us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_alloc(226) = 0x4999b000.
    @48,040,940us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_getPhys(0x4999b000) = 0x86aac000.
    @48,041,428us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_alloc(4320) = 0x4999c000.
    @48,041,656us: [+4 T:0x49937490] OM - Memory_contigAlloc> CMEM_getPhys(0x4999c000) = 0x86aad000.
    @48,041,975us: [+7 T:0x49937490] ti.sdo.ce.alg - ALG_create> algInit call failed -1

     data Segment Error.....

     

    I think it is related to setting CMEM. DVR's cmem loading code is

    insmod cmemk.ko phys_start=0x83C00000 phys_end=0x88000000 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672

    I have tried with above cmem code and got data segment error.

    I have found another cmem code at ti wiki which is:

    insmod cmemk.ko phys_start=0x85000000 phys_end=0x88000000 pools=6x4096,2x8192,1x11908,2x13184,1x2697152,6x4096,1x30720,3x81920,1x3185664,64x56,1x320,1x640,1x81920,1x6650880,2x608,1x296,1x28,2x24,23x1548288,1x154288,1x6488,2x15360 allowOverlap=1 phys_start_1=0x00001000 phys_end_1=0x00008000 pools_1=1x28672

    With this cmem settings, dvr does not working.

    How can I find the correct cmem settings? Do you know good cmem links at wiki or web?