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.

关于DM8168 dup和merge资源扩张问题

如果系统相对复杂,dvrdk自带的模块数量不够,可否扩展,如:

1、DUP_LINK_MAX_OUT_QUE从系统默认的5扩大到8;

2、SYSTEM_VPSS_LINK_ID_DUP_3扩大到SYSTEM_VPSS_LINK_ID_DUP_5

3、SYSTEM_VPSS_LINK_ID_MERGE_4扩大到SYSTEM_VPSS_LINK_ID_MERGE_6

是否可行,简单的修改或添加对应的宏就可以了吗,有哪些需要注意的细节。谢谢!

  • 你好,

    请注意Link里面buffer的还回是最后使用的buffer的link用完后,一层一层往上还的。如果DUP等link太多,只要DUP下面的有一个link没有把buffer用完,这个buffer就不能还回,如果还回不及时就可能导致Link里buffer拿不到的情况。

  • 简单的将#define DUP_LINK_MAX_OUT_QUE   (5) 改为#define DUP_LINK_MAX_OUT_QUE    (18)后

    出现如下编译错误:

    "/home/liuhb/liuhb/MCU_CARD_V3.0/dvr_rdk/../dvr_rdk/build/dvr_rdk/obj/ti816x-evm/m3vpss/release/dvr_rdk_configuro/linker_mod.cmd", line 211: error:
       run placement fails for object "GROUP_1", size 0x1298284 (page 0).
       Available ranges:
       DDR3_M3      size: 0x1100000    unused: 0xf64671     max hole: 0xf64634  
    error: errors encountered during linking;
       "/home/liuhb/liuhb/MCU_CARD_V3.0/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x
       -evm/dvr_rdk_m3vpss_release.xem3" not built
    make[3]: *** [/home/liuhb/liuhb/MCU_CARD_V3.0/dvr_rdk/../dvr_rdk/build/dvr_rdk/bin/ti816x-evm/dvr_rdk_m3vpss_release.xem3] 错误 1
    make[3]: Leaving directory `/home/liuhb/liuhb/MCU_CARD_V3.0/dvr_rdk/mcfw/src_bios6/main_app'
    make[2]: *** [apps] 错误 2
    make[2]: Leaving directory `/home/liuhb/liuhb/MCU_CARD_V3.0/dvr_rdk/mcfw/src_bios6'
    make[1]: *** [dvr_rdk_bios6] 错误 2
    make[1]: Leaving directory `/home/liuhb/liuhb/MCU_CARD_V3.0/dvr_rdk'
    make: *** [sdk-build] 错误 2

x 出现错误。请重试或与管理员联系。