wchp314

wchp314

0个粉丝

2

问答

0

专栏

0

资料

wchp314  发布于  2016-03-25 14:58:28
采纳率 0%
2个问答
11257

3516A+OV4689 sample_venc 0出错

 
本帖最后由 wchp314 于 2016-3-25 15:47 编辑

公司前辈留下一个开发板(Hi3516A+OV4689),
测试sample下面的venc怎么会出错?

/mnt/hi3516a-ov4689/mpp/sample/venc # ./sample_venc 0
=============SAMPLE_COMM_VI_SetMipiAttr enWDRMode: 0
linear mode
-------OV4689 Sensor 4M30fps Initial OK!-------
stSize.u32Width=2592
stSize.u32Height=1520
[SAMPLE_COMM_VPSS_StartGroup]-88: HI_MPI_VPSS_CreateGrp failed with 0xa0078010!
[SAMPLE_VENC_1080P_CLASSIC]-196: Start Vpss failed!
[SAMPLE_COMM_VPSS_StopGroup]-196: SAMPLE_COMM_VPSS_StopGroup failed with 0xa0078010
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
AencDoIoctl: ERR IOCTL CMD 0x40044110, Type:65, NR:16
program exit abnormally!
我来回答
回答11个
时间排序
认可量排序

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2016-03-25 15:02:25
认可0
难道又是ko没加载?

wchp314

0个粉丝

2

问答

0

专栏

0

资料

wchp314 2016-03-25 15:13:45
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=27394&ptid=10713]zhuangweiye 发表于 2016-3-25 15:02[/url]
难道又是ko没加载?[/quote]

是要先./load3516a吗?
我执行这个出错
/mnt/hi3516a-ov4689/mpp/ko # ./load3516a -a -sensor ov4689 -osmem 64
mmz_start: 0x84000000, mmz_size: 448M
acodec exited!
remove audio
unload ive.ko ....OK!
unload vda.ko ....OK!
unload rc.ko for Hi3516A...OK!
unload jpege.ko for Hi3516A...OK!
unload h264e.ko for Hi3516A...OK!
unload h265e.ko for Hi3516A...OK!
unload chnl.ko for Hi3516A...OK!
unload venc.ko for Hi3516A...OK!
unload vou.ko ....OK!
unload vpss.ko ....OK!
unload viu.ko for Hi3516A...OK!
rmmod: can't unload 'ssp_ad9020': unknown symbol in module, or unknown parameter
Unload vgs.ko for Hi3516A...OK!
unload region.ko ....OK!
ISP Mod Exit!
!!! Module himedia: exit ok
MMZ force removed: PHYS(0x88000000, 0x97FFFFFF), GFP=0, nBYTES=262144KB,        NAME="anonymous"
Hisilicon Media Memory Zone Manager
ERROR: Conflict MMZ:
PHYS(0x84000000, 0x9FFFFFFF), GFP=0, nBYTES=458752KB,   NAME="anonymous"
MMZ conflict to kernel memory (0x80000000, 0x87FFFFFF)
Add MMZ failed: PHYS(0x84000000, 0x9FFFFFFF), GFP=0, nBYTES=458752KB,   NAME="anonymous"
Module himedia: init ok
load sys.ko for Hi3516A...OK!
insmod: can't insert 'hi3516a_tde.ko': Operation not permitted
hi3516a_region: Unknown symbol TdeOsiCancelJob (err 0)
hi3516a_region: Unknown symbol TdeOsiEndJob (err 0)
hi3516a_region: Unknown symbol TdeOsiBeginJob (err 0)
hi3516a_region: Unknown symbol TdeOsiWaitForDone (err 0)
hi3516a_region: Unknown symbol TdeOsiQuickCopy (err 0)
insmod: can't insert 'hi3516a_region.ko': unknown symbol in module, or unknown parameter
load vgs.ko for Hi3516A...FAILURE!
insmod: can't insert 'hi3516a_vgs.ko': Operation not permitted
ISP Mod init!
load viu.ko for Hi3516A...OK!
Kernel panic - not syncing:
ASSERT failed at:
  >File name: /home/pub/platform_ipc/mpp/code/mkp/vpss/vpss.c
  >Function : VPSS_GrpInit
  >Line No. : 2944
  >Condition: HI_SUCCESS == s32Ret

wchp314

0个粉丝

2

问答

0

专栏

0

资料

wchp314 2016-03-25 15:45:04
认可0
这样也是不行
/mnt/hi3516a-ov4689/mpp/ko # ./load3516a -i ov4689
insmod: can't insert 'mmz.ko': File exists
******* Error: There's something wrong, please check! *****

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2016-03-25 16:01:09
认可0
必须加载驱动,不然海思的函数都没法用

你的linux mem设置和你的mmz.ko后面的参数 有冲突了
进u-boot看一下你的bootarg

PHYS(0x84000000, 0x9FFFFFFF), GFP=0, nBYTES=458752KB,   NAME="anonymous"
MMZ conflict to kernel memory (0x80000000, 0x87FFFFFF)
你MMZ设置是 linux用64M, 但是看上去你linux启动设置的是linux用128M

你试一下(建议先看一下bootarg)
./load3516a -a -sensor ov4689 -osmem 128
建议重启后用上面命令

wchp314

0个粉丝

2

问答

0

专栏

0

资料

wchp314 2016-03-25 16:32:45
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=27410&ptid=10713]zhuangweiye 发表于 2016-3-25 16:01[/url]
必须加载驱动,不然海思的函数都没法用

你的linux mem设置和你的mmz.ko后面的参数 有冲突了
[/quote]

谢谢,这样修改后,可以load3516a了;
但新问题又来了,怎么会rc mode! is invaild
/mnt/hi3516a-ov4689/nfs # ./sample_venc 0
=============SAMPLE_COMM_VI_SetMipiAttr enWDRMode: 0
linear mode
-------OV4689 Sensor 4M30fps Initial OK!-------
         c) cbr.
         v) vbr.
         f) fixQp
please input choose rc mode!

rc mode! is invaild!
program exit normally!

wchp314

0个粉丝

2

问答

0

专栏

0

资料

wchp314 2016-03-25 16:59:08
认可0
/mnt/hi3516a-ov4689/mpp/sample/venc # ./sample_venc 0
=============SAMPLE_COMM_VI_SetMipiAttr enWDRMode: 0
linear mode
-------OV4689 Sensor 4M30fps Initial OK!-------
stSize.u32Width=2592
stSize.u32Height=1520
         c) cbr.
         v) vbr.
         f) fixQp
please input choose rc mode!
c
please press twice ENTER to exit this sample
Internal error: Oops - undefined instruction: 0 [#1] ARM
Modules linked in: hi_mipi(O)

zhuangweiye

8个粉丝

0

问答

0

专栏

0

资料

zhuangweiye 2016-03-25 17:02:29
认可0
打 c 或者 v 或者 f 就好了

wchp314

0个粉丝

2

问答

0

专栏

0

资料

wchp314 2016-03-25 17:52:38
认可0
本帖最后由 wchp314 于 2016-3-25 19:56 编辑

[quote][url=forum.php?mod=redirect&goto=findpost&pid=27441&ptid=10713]zhuangweiye 发表于 2016-3-25 17:02[/url]
打 c 或者 v 或者 f 就好了[/quote]

到这就不动了,按2下enter键也没反应,当机了;
可能是4K分辨率太大,请问怎么改成1080p录像,我试下1080p

/mnt/hi3516a-ov4689/mpp/sample/venc # .

zltkf

0个粉丝

1

问答

0

专栏

0

资料

zltkf 2017-01-17 10:55:39
认可0
请问,楼主你的问题解决了吗?

snyutech

0个粉丝

4

问答

0

专栏

0

资料

snyutech 2017-02-23 20:01:42
认可0
[quote][url=forum.php?mod=redirect&goto=findpost&pid=27446&ptid=10713]wchp314 发表于 2016-3-25 17:52[/url]
到这就不动了,按2下enter键也没反应,当机了;
可能是4K分辨率太大,请问怎么改成1080p录像,我试下1080p
...[/quote]

老兄,我也遇到按enter键没有反应的情况,你最后是怎么解决的?谢谢~

qn1511657596

0个粉丝

2

问答

0

专栏

0

资料

qn1511657596 2018-08-30 15:21:55
认可0
楼上的有解决这个问题吗  
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
+ 添加网盘链接/附件

Markdown 语法

  • 加粗**内容**
  • 斜体*内容*
  • 删除线~~内容~~
  • 引用> 引用内容
  • 代码`代码`
  • 代码块```编程语言↵代码```
  • 链接[链接标题](url)
  • 无序列表- 内容
  • 有序列表1. 内容
  • 缩进内容
  • 图片![alt](url)
相关问答
无更多相似问答 去提问
举报反馈

举报类型

  • 内容涉黄/赌/毒
  • 内容侵权/抄袭
  • 政治相关
  • 涉嫌广告
  • 侮辱谩骂
  • 其他

详细说明

易百纳技术社区