完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
8168EVM,基于DVRRDK的Link编程,我想实现文件反复读取一帧YUV图像,送到VPSS然后经过display link从hdmi输出,相关的初始化已经好了,比如system_init(),现在卡在一个初始化分辨率的函数上
Int32 Chains_displayCtrlInit(UInt32 displayRes[]) [ Int32 status, i; VDIS_PARAMS_S prm; for (i = 0; i < SYSTEM_DC_MAX_VENC; i++) [ prm.deviceParams.resolution = displayRes; ] prm.deviceParams[SYSTEM_DC_VENC_HDMI].resolution = SYSTEM_STD_1080P_60; status = System_linkControl( SYSTEM_LINK_ID_M3VPSS, SYSTEM_M3VPSS_CMD_GET_DISPLAYCTRL_INIT, &prm, sizeof(prm), TRUE ); UTILS_assert(status==OSA_SOK); return status; ] 出错打印信息如下: setenv bootargs 'mem=256M console=ttyO2,115200n8 root=/dev/nfs rw nfsroot=192.168.1.3:/rfs_816x ip=192.168.1.2:192.168.1.3:192.168.1.1:255.255.255.0::eth0:off vram=20M notifyk.vpssm3_sva=0xBEE00000 ddr_mem=1024M' rom816x:/opt/dvrti816x# rom816x:/opt/dvrti816x/demo# .t begin to init!!!!!!!!!! 0: SYSTEM: System Commnit in progress !!! 0: SYSTEM: IPC init in progress !!! 12: SYSTEM: CPU [DSP] syslink proc ID is [0] !!! 12: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!! 12: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!! 12: SYSTEM: CPU [HOST] syslink proc ID is [3] !!! 12: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ... 14: SYSTEM: Creating MsgQ [HOST_MSGQ] ... 16: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ... 17: SYSTEM: Opening MsgQ [DSP_MSGQ] ... 18: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ... 18: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ... 19: SYSTEM: Notify register to [DSP] line 0, event 15 ... 20: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 20: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 21: SYSTEM: IPC init DONE !!! 22: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ... 24: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ... 25: SYSTEM: ListElem Shared Addr = 0x406c8680 26: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ... 28: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ... 29: SYSTEM: ListElem Shared Addr = 0x406ff480 31: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ... 33: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ... 34: SYSTEM: ListElem Shared Addr = 0x40736280 35: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ... 37: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ... 39: SYSTEM: ListElem Shared Addr = 0x40779580 40: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ... 42: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ... 43: SYSTEM: ListElem Shared Addr = 0x407bc880 59: SYSTEM: System Commnit Done !!! init is done!!!!!!!!! link setup is done!!!!!! [m3vpss ] 13700: Assertion @ Line: 314 in linkspsstem/systemrl.c: dctrlTriDisplayConfig != NULL : failed !!! 能否告诉我出错原因呢,我是仿照link demo来写的,谢谢 |
|
相关推荐
1个回答
|
|
你好;
你这个错误是在初始化 display 模块的时候的问题; 报错应当是在DVRRDK_04.01.00.02/dvr_rdk/mcfw/src_bios6/links_m3vpss/system/system_dctrl.c (你上面的报错信息查不到,是不是打印有问问题,好像看不全) 你可以到这个里面来调试一下 这里可能是数据模式、通道绑定,状态以及一些display 的相关参数配置错了,或逻辑有问题导致的; 你可以贴出更多的信息,大家一起来分析; |
|
|
|
只有小组成员才能发言,加入小组>>
356 浏览 1 评论
549 浏览 2 评论
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
795 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
665 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1141 浏览 1 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
91浏览 29评论
360浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
267浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
217浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
70浏览 13评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-30 10:07 , Processed in 1.004720 second(s), Total 81, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号