5976
- 收藏
- 点赞
- 分享
- 举报
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
-
2019-05-05 17:15:03
-
2016-06-23 15:40:05
-
2015-09-02 17:35:40
-
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
-
2021-06-20 20:13:36
-
2016-12-07 19:17:26
-
2020-05-06 09:29:32
-
2018-07-18 20:26:44
-
2015-11-10 10:56:45
-
2015-11-10 10:55:24
-
2019-05-17 15:41:10
-
2015-08-05 09:04:13
-
2015-06-01 12:00:48
-
2015-06-01 12:01:46
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认