5944
- 收藏
- 点赞
- 分享
- 举报
HI3520D DRQCV100 sample_vio 绑定vpss出错 谢谢各位,努力学习中
首先感谢各位于百忙中解答,非常感谢,新手请多照顾。
板子启动后,使用./sample_vio 0会直接报错。查看源码是在SAMPLE_COMM_VO_BindVpss函数中出错
错误信息如下:
./sample_vio 0
[SAMPLE_COMM_SYS_CalcPicVbBlkSize]-167: w:768, u32AlignWidth:64
start vo SD1.
u32Width:720, u32Square:1
start vo HD0.
u32Width:1024, u32Square:3
HDMI start success.
start vo SD0: wbc from hd0
u32Width:720, u32Square:1
please choose preview mode, press 'q' to exit this sample.
0) 1 preview
1) 4 preview
2) 8 preview
q) quit
1
[SAMPLE_VIO_8_D1]-615: vo(0) switch to 4 mode
u32Width:1024, u32Square:2
[SAMPLE_VIO_8_D1]-640: Start VO failed!
[SAMPLE_COMM_VO_StopDevLayer]-151: failed with 0xa00f8048!
program exit abnormally!
但是如果拿SDK中编译的sample_vio运行,报错的地方不一样
./huawe_vio 0
[SAMPLE_COMM_SYS_CalcPicVbBlkSize]-167: w:768, u32AlignWidth:64
start vo SD1.
[SAMPLE_COMM_VO_StartDevLayer]-99: failed with 0xa00f8010!
[SAMPLE_VIO_8_D1]-432: SAMPLE_COMM_VO_StartDevLayer failed!
program exit abnormally!
在板子自带的驱动ko文件夹中加载3520D的驱动,会报有的驱动已经存在,开机时,根据输出日志,应该是已经加载部分驱动了。
# ./load3520D
SDK_TYPE type is 8d1
rmmod: can't unload 'cx26828': unknown symbol in module, or unknown parameter
rmmod: can't unload 'gpioi2c': Resource temporarily unavailable
unload region.ko ....OK!
unload ive.ko ....OK!
unload vda.ko ....OK!
unload vpss.ko ....OK!
unload vou.ko ....OK!
unload viu.ko for Hi3520D...OK!
unload hdmi.ko ....OK!
unload vdec.ko ....OK
unload jpege.ko for Hi3520D...OK!
unload rc.ko for Hi3520D...OK!
unload h264e.ko for Hi3520D...OK!
unload chnl.ko for Hi3520D...OK!
unload group.ko for Hi3520D...OK!
unload venc.ko for Hi3520D...OK!
MMZ force removed: PHYS(0x84000000, 0x8FFFFFFF), GFP=0, nBYTES=196608KB, NAME="anonymous"
Hisilicon Media Memory Zone Manager
MMZ: your parameter num is not correct!
Hisilicon UMAP device driver interface: v3.00
load sys.ko for Hi3520D...OK!
Load tde.ko ...OK!
load venc.ko for Hi3520D...OK!
load group.ko for Hi3520D...OK!
load chnl.ko for Hi3520D...OK!
load h264e.ko for Hi3520D...OK!
load rc.ko for Hi3520D...OK!
load jpege.ko for Hi3520D...OK!
load viu.ko for Hi3520D...OK!
load vou.ko ....OK!
load vpss.ko ....OK!
load vda.ko ....OK!
load region.ko ....OK!
load vdec.ko ....OK
load vhd firmware.ko OK
load hdmi.ko ....OK!
Load jpeg6b.ko success. (SDK_VERSION:[jpeg6bv1.0] Build Time:[Jul 30 2013, 17:13:35])
insmod: can't insert 'extdrv/gpioi2c.ko': File exists
insmod: can't insert 'hi3520D_fvideo.ko': File exists
r(0x1b) ret(0x0) != need(0x11)
r(0xf4) ret(0x82) != need(0x81)
r(0xf4) ret(0x82) != need(0x81)
p
insmod: can't insert 'extdrv/nvp1914.ko': File exists
如果使用sdk的ko加载驱动,报的错误不是特别不一样,难道我下载的sdk版本不对么?那个sdk写的也是3520dv100.
板子启动后,使用./sample_vio 0会直接报错。查看源码是在SAMPLE_COMM_VO_BindVpss函数中出错
错误信息如下:
./sample_vio 0
[SAMPLE_COMM_SYS_CalcPicVbBlkSize]-167: w:768, u32AlignWidth:64
start vo SD1.
u32Width:720, u32Square:1
start vo HD0.
u32Width:1024, u32Square:3
HDMI start success.
start vo SD0: wbc from hd0
u32Width:720, u32Square:1
please choose preview mode, press 'q' to exit this sample.
0) 1 preview
1) 4 preview
2) 8 preview
q) quit
1
[SAMPLE_VIO_8_D1]-615: vo(0) switch to 4 mode
u32Width:1024, u32Square:2
[SAMPLE_VIO_8_D1]-640: Start VO failed!
[SAMPLE_COMM_VO_StopDevLayer]-151: failed with 0xa00f8048!
program exit abnormally!
但是如果拿SDK中编译的sample_vio运行,报错的地方不一样
./huawe_vio 0
[SAMPLE_COMM_SYS_CalcPicVbBlkSize]-167: w:768, u32AlignWidth:64
start vo SD1.
[SAMPLE_COMM_VO_StartDevLayer]-99: failed with 0xa00f8010!
[SAMPLE_VIO_8_D1]-432: SAMPLE_COMM_VO_StartDevLayer failed!
program exit abnormally!
在板子自带的驱动ko文件夹中加载3520D的驱动,会报有的驱动已经存在,开机时,根据输出日志,应该是已经加载部分驱动了。
# ./load3520D
SDK_TYPE type is 8d1
rmmod: can't unload 'cx26828': unknown symbol in module, or unknown parameter
rmmod: can't unload 'gpioi2c': Resource temporarily unavailable
unload region.ko ....OK!
unload ive.ko ....OK!
unload vda.ko ....OK!
unload vpss.ko ....OK!
unload vou.ko ....OK!
unload viu.ko for Hi3520D...OK!
unload hdmi.ko ....OK!
unload vdec.ko ....OK
unload jpege.ko for Hi3520D...OK!
unload rc.ko for Hi3520D...OK!
unload h264e.ko for Hi3520D...OK!
unload chnl.ko for Hi3520D...OK!
unload group.ko for Hi3520D...OK!
unload venc.ko for Hi3520D...OK!
MMZ force removed: PHYS(0x84000000, 0x8FFFFFFF), GFP=0, nBYTES=196608KB, NAME="anonymous"
Hisilicon Media Memory Zone Manager
MMZ: your parameter num is not correct!
Hisilicon UMAP device driver interface: v3.00
load sys.ko for Hi3520D...OK!
Load tde.ko ...OK!
load venc.ko for Hi3520D...OK!
load group.ko for Hi3520D...OK!
load chnl.ko for Hi3520D...OK!
load h264e.ko for Hi3520D...OK!
load rc.ko for Hi3520D...OK!
load jpege.ko for Hi3520D...OK!
load viu.ko for Hi3520D...OK!
load vou.ko ....OK!
load vpss.ko ....OK!
load vda.ko ....OK!
load region.ko ....OK!
load vdec.ko ....OK
load vhd firmware.ko OK
load hdmi.ko ....OK!
Load jpeg6b.ko success. (SDK_VERSION:[jpeg6bv1.0] Build Time:[Jul 30 2013, 17:13:35])
insmod: can't insert 'extdrv/gpioi2c.ko': File exists
insmod: can't insert 'hi3520D_fvideo.ko': File exists
r(0x1b) ret(0x0) != need(0x11)
r(0xf4) ret(0x82) != need(0x81)
r(0xf4) ret(0x82) != need(0x81)
p
insmod: can't insert 'extdrv/nvp1914.ko': File exists
如果使用sdk的ko加载驱动,报的错误不是特别不一样,难道我下载的sdk版本不对么?那个sdk写的也是3520dv100.
我来回答
回答3个
时间排序
认可量排序
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2015-04-09 08:25:26
-
2015-09-02 17:35:40
-
2016-06-23 15:40:05
-
2019-05-05 17:15:03
-
2020-03-06 11:08:03
-
2015-04-27 15:38:38
-
2017-04-29 17:26:09
-
2019-01-28 17:32:38
-
2018-06-08 19:18:57
-
2019-05-17 15:41:10
-
2021-06-20 20:13:36
-
2016-12-07 19:17:26
-
2015-08-05 09:04:13
-
2020-05-06 09:29:32
-
2016-11-14 17:08:42
-
2015-11-10 10:56:45
-
2018-07-18 20:26:44
-
2015-11-10 10:55:24
-
2017-01-02 10:30:44
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认