5992
- 收藏
- 点赞
- 分享
- 举报
3559AV100设置MIPI错误
我现在在做3559AV100方面的相关开发,遇到如下问题:
按照媒体处理软件开发参考中第3.3节关于dev和mipi的绑定介绍,Hi3559AV100 的 Dev 不可以与 MIPI 设置绑定,也就是说dev0一定要对应mipi0、dev1对应mipi1(其它依此类推)。然后我们的硬件MIPI1上现在接有sensor,但是当我在程序中将输入dev设置成1,MIMI设置为1的时候,MIPI驱动报错“check_comm_attr(300): invalid dev number(1).”,如下:
check_comm_attr(300): invalid dev number(1).
----fun:mipi_set_combo_dev_attr line:1184----
[SAMPLE_COMM_VI_SetMipiAttr]-1949: MIPI_SET_DEV_ATTR failed
[SAMPLE_COMM_VI_StartMIPI]-2020: SAMPLE_COMM_VI_SetMipiAttr failed!
[SAMPLE_COMM_VI_StartVi]-2986: SAMPLE_COMM_VI_StartMIPI failed!
[SAMPLE_VENC_VI_Init]-325: SAMPLE_COMM_VI_StartVi failed with -1!
[SAMPLE_VENC_4K60]-650: Init VI err for 0xffffffff!
program exit abnormally!
也就是说不支持1,当我设置成3、5也是如此报不支持。
而当我设置成MIPI2/MPIP4却报的内核错误,如下:
Unable to handle kernel paging request at virtual address ffffff840e7957f8
pgd = ffffffc01d230000
[ffffff840e7957f8] *pgd=0000000000000000, *pud=0000000000000000
Internal error: Oops: 96000005 [#1] SMP
Modules linked in: hi_user(O) hi_mipi(O) hi3559av100_acodec(PO) hi3559av100_adec(PO) hi3559av100_aenc(PO) hi3559av100_ao(PO) hi3559av100_ai(PO) hi3559av100_aio(PO) hi3559av100_hdmi(PO) hi_sensor_spi(O) hi_sensor_i2c(O) hi_piris(O) hi_pwm(O) hi3559av100_dpu_match(PO) hi3559av100_dpu_rect(PO) hi3559av100_dsp(PO) hi3559av100_nnie(PO) hi_ipcm(O) hi3559av100_ive(PO) hi3559av100_vdec(PO) hi3559av100_vfmw(PO) hi3559av100_jpegd(PO) hi3559av100_jpege(PO) hi3559av100_h265e(PO) hi3559av100_h264e(PO) hi3559av100_vedu(PO) hi3559av100_chnl(PO) hi3559av100_venc(PO) hi3559av100_rc(PO) hifb(O) hi3559av100_vo(PO) hi3559av100_avs(PO) hi3559av100_vpss(PO) hi3559av100_vi(PO) hi3559av100_isp(PO) hi3559av100_dis(PO) hi3559av100_vgs(PO) hi3559av100_gdc(PO) hi3559av100_rgn(PO) hi3559av100_tde(O) hi3559av100_sys(PO) hi3559av100_base(PO) hi_osal(O)
CPU: 3 PID: 1271 Comm: sample_venc Tainted: P O 4.9.37 #1
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
task: ffffffc021d6bc00 task.stack: ffffffc022488000
PC is at mipi_drv_set_link_lane_id+0x6c/0x1e8 [hi_mipi]
LR is at mipi_set_mipi_dev_attr+0x1b8/0x448 [hi_mipi]
pc : [] lr : [] pstate: a0000145
sp : ffffffc02248bce0
x29: ffffffc02248bce0 x28: ffffffc022488000
x27: ffffff8008632000 x26: 000000000000001d
x25: ffffff800ce7b024 x24: 0000000000000000
x23: 000000000000000c x22: ffffff800ce7b01c
x21: 0000000000000000 x20: 0000000000000004
x19: ffffff800ce7b000 x18: 0000000000000000
x17: 0000007fa4a9bf20 x16: 0000000000000001
x15: 0000000000000001 x14: 0000000000000007
x13: ffffff80020c79b8 x12: 0000000000000008
x11: ffffff80020c79b8 x10: 0000000000000000
x9 : 0000000000005300 x8 : 0000000000000008
x7 : ffffff800e795300 x6 : 00000000fffffff8
x5 : 0000000000001004 x4 : 0000000000000000
x3 : ffffff800ce7b024 x2 : 00000000fffffffb
x1 : 0000000000000004 x0 : ffffff840e7952f8
Process sample_venc (pid: 1271, stack limit = 0xffffffc022488020)
Stack: (0xffffffc02248bce0 to 0xffffffc02248c000)
bce0: ffffffc02248bd40 ffffff80020b9788 ffffff800ce7b000 ffffff80020c6f00
bd00: ffffffc01bc9c000 0000007feaa4ca10 ffffff800ce7b000 0000000000000015
bd20: 0000000000000123 ffffff800815bcc4 ffffffc02248bd40 ffffff80020c4e20
bd40: ffffffc02248bd60 ffffff80020ba368 ffffff800ce7b000 0000000000000260
bd60: ffffffc02248bdc0 ffffff80006310f8 0000000042606d01 0000000000000260
bd80: ffffffc01bc9c000 0000007feaa4ca10 ffffff800ce7b000 0000000000000015
bda0: 0000000000000123 ffffffc0226a9498 ffffffc02248bdc0 ffffff800063109c
bdc0: ffffffc02248be00 ffffff8008182bac ffffffc0227a8e00 ffffffc0226a9498
bde0: ffffffc0227a8e00 0000007feaa4ca10 0000007feaa4ca10 0000000000000015
be00: ffffffc02248be80 ffffff800818329c ffffffc0227a8e00 0000000000000006
be20: ffffffc0227a8e00 0000000042606d01 0000007feaa4ca10 ffffff800816f34c
be40: 0000000000000006 ffffff800816f344 ffffffc02248beb0 ffffff800816f3e8
be60: 0000000000000000 000000000053ada8 ffffffc02248be80 ffffff800818327c
be80: 0000000000000000 ffffff80080826f0 0000000000000000 0000000000000000
bea0: ffffffffffffffff 0000007fa4a9bf2c 0000000080000000 ffffff80080826f0
bec0: 0000000000000006 0000000042606d01 0000007feaa4ca10 0000007feaa4cc10
bee0: 00000000005812a8 0000007feaa4cc70 0000000000000000 0000000000000000
bf00: 000000000000001d 0000000000000000 0000000000000000 0000000000000000
bf20: 0000000000000000 0000000000000000 0000000000000000 0000000000000077
bf40: 000000000057d5d8 0000007fa4a9bf20 0000000000000000 0000000000537cd8
bf60: 0000000000000000 00000000004094f0 0000000000000000 0000000000000000
bf80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
bfa0: 0000000000000000 0000007feaa4c9d0 000000000041a3ec 0000007feaa4c9d0
bfc0: 0000007fa4a9bf2c 0000000080000000 0000000000000006 000000000000001d
bfe0: 0000000000000000 0000000000000000 f87bdb5f9561b841 4cc00a4a8e495383
Call trace:
Exception stack(0xffffffc02248bb10 to 0xffffffc02248bc40)
bb00: ffffff800ce7b000 0000008000000000
bb20: ffffffc02248bce0 ffffff80020bd154 0000000000000000 ffffff8008847000
bb40: 00000000024002c2 0000000000000000 00000000024002c2 0000000000000001
bb60: 00000000024000c2 ffffffc01bc9c380 00e8000000000713 ffffffc022488000
bb80: ffffffc021e06480 ffffffc0226a9498 ffffffc0227a8e00 ffffff80088af000
bba0: ffffffc02248bbf0 ffffff800816dec4 ffffff840e7952f8 0000000000000004
bbc0: 00000000fffffffb ffffff800ce7b024 0000000000000000 0000000000001004
bbe0: 00000000fffffff8 ffffff800e795300 0000000000000008 0000000000005300
bc00: 0000000000000000 ffffff80020c79b8 0000000000000008 ffffff80020c79b8
bc20: 0000000000000007 0000000000000001 0000000000000001 0000007fa4a9bf20
[] mipi_drv_set_link_lane_id+0x6c/0x1e8 [hi_mipi]
[] mipi_set_combo_dev_attr+0xa8/0x318 [hi_mipi]
[] hi_mipi_ioctl+0x308/0x5a8 [hi_mipi]
[] osal_unlocked_ioctl+0x140/0x278 [hi_osal]
[] do_vfs_ioctl+0xa4/0x750
[] SyS_ioctl+0x44/0x80
[] el0_svc_naked+0x24/0x28
Code: 1a82b000 13027c00 8b2048e0 710004df (b9450002)
---[ end trace 343b969ce199aefc ]---
Kernel panic - not syncing: Fatal exception
SMP: stopping secondary CPUs
Kernel Offset: disabled
Memory Limit: 512 MB
---[ end Kernel panic - not syncing: Fatal exception
疑问:MIPI设置成单数的时候为什么会报不支持,而设置成双数为什么报的是内核错误,这个应该如何正确地设置?
按照媒体处理软件开发参考中第3.3节关于dev和mipi的绑定介绍,Hi3559AV100 的 Dev 不可以与 MIPI 设置绑定,也就是说dev0一定要对应mipi0、dev1对应mipi1(其它依此类推)。然后我们的硬件MIPI1上现在接有sensor,但是当我在程序中将输入dev设置成1,MIMI设置为1的时候,MIPI驱动报错“check_comm_attr(300): invalid dev number(1).”,如下:
check_comm_attr(300): invalid dev number(1).
----fun:mipi_set_combo_dev_attr line:1184----
[SAMPLE_COMM_VI_SetMipiAttr]-1949: MIPI_SET_DEV_ATTR failed
[SAMPLE_COMM_VI_StartMIPI]-2020: SAMPLE_COMM_VI_SetMipiAttr failed!
[SAMPLE_COMM_VI_StartVi]-2986: SAMPLE_COMM_VI_StartMIPI failed!
[SAMPLE_VENC_VI_Init]-325: SAMPLE_COMM_VI_StartVi failed with -1!
[SAMPLE_VENC_4K60]-650: Init VI err for 0xffffffff!
program exit abnormally!
也就是说不支持1,当我设置成3、5也是如此报不支持。
而当我设置成MIPI2/MPIP4却报的内核错误,如下:
Unable to handle kernel paging request at virtual address ffffff840e7957f8
pgd = ffffffc01d230000
[ffffff840e7957f8] *pgd=0000000000000000, *pud=0000000000000000
Internal error: Oops: 96000005 [#1] SMP
Modules linked in: hi_user(O) hi_mipi(O) hi3559av100_acodec(PO) hi3559av100_adec(PO) hi3559av100_aenc(PO) hi3559av100_ao(PO) hi3559av100_ai(PO) hi3559av100_aio(PO) hi3559av100_hdmi(PO) hi_sensor_spi(O) hi_sensor_i2c(O) hi_piris(O) hi_pwm(O) hi3559av100_dpu_match(PO) hi3559av100_dpu_rect(PO) hi3559av100_dsp(PO) hi3559av100_nnie(PO) hi_ipcm(O) hi3559av100_ive(PO) hi3559av100_vdec(PO) hi3559av100_vfmw(PO) hi3559av100_jpegd(PO) hi3559av100_jpege(PO) hi3559av100_h265e(PO) hi3559av100_h264e(PO) hi3559av100_vedu(PO) hi3559av100_chnl(PO) hi3559av100_venc(PO) hi3559av100_rc(PO) hifb(O) hi3559av100_vo(PO) hi3559av100_avs(PO) hi3559av100_vpss(PO) hi3559av100_vi(PO) hi3559av100_isp(PO) hi3559av100_dis(PO) hi3559av100_vgs(PO) hi3559av100_gdc(PO) hi3559av100_rgn(PO) hi3559av100_tde(O) hi3559av100_sys(PO) hi3559av100_base(PO) hi_osal(O)
CPU: 3 PID: 1271 Comm: sample_venc Tainted: P O 4.9.37 #1
Hardware name: Hisilicon HI3559AV100 DEMO Board (DT)
task: ffffffc021d6bc00 task.stack: ffffffc022488000
PC is at mipi_drv_set_link_lane_id+0x6c/0x1e8 [hi_mipi]
LR is at mipi_set_mipi_dev_attr+0x1b8/0x448 [hi_mipi]
pc : [
sp : ffffffc02248bce0
x29: ffffffc02248bce0 x28: ffffffc022488000
x27: ffffff8008632000 x26: 000000000000001d
x25: ffffff800ce7b024 x24: 0000000000000000
x23: 000000000000000c x22: ffffff800ce7b01c
x21: 0000000000000000 x20: 0000000000000004
x19: ffffff800ce7b000 x18: 0000000000000000
x17: 0000007fa4a9bf20 x16: 0000000000000001
x15: 0000000000000001 x14: 0000000000000007
x13: ffffff80020c79b8 x12: 0000000000000008
x11: ffffff80020c79b8 x10: 0000000000000000
x9 : 0000000000005300 x8 : 0000000000000008
x7 : ffffff800e795300 x6 : 00000000fffffff8
x5 : 0000000000001004 x4 : 0000000000000000
x3 : ffffff800ce7b024 x2 : 00000000fffffffb
x1 : 0000000000000004 x0 : ffffff840e7952f8
Process sample_venc (pid: 1271, stack limit = 0xffffffc022488020)
Stack: (0xffffffc02248bce0 to 0xffffffc02248c000)
bce0: ffffffc02248bd40 ffffff80020b9788 ffffff800ce7b000 ffffff80020c6f00
bd00: ffffffc01bc9c000 0000007feaa4ca10 ffffff800ce7b000 0000000000000015
bd20: 0000000000000123 ffffff800815bcc4 ffffffc02248bd40 ffffff80020c4e20
bd40: ffffffc02248bd60 ffffff80020ba368 ffffff800ce7b000 0000000000000260
bd60: ffffffc02248bdc0 ffffff80006310f8 0000000042606d01 0000000000000260
bd80: ffffffc01bc9c000 0000007feaa4ca10 ffffff800ce7b000 0000000000000015
bda0: 0000000000000123 ffffffc0226a9498 ffffffc02248bdc0 ffffff800063109c
bdc0: ffffffc02248be00 ffffff8008182bac ffffffc0227a8e00 ffffffc0226a9498
bde0: ffffffc0227a8e00 0000007feaa4ca10 0000007feaa4ca10 0000000000000015
be00: ffffffc02248be80 ffffff800818329c ffffffc0227a8e00 0000000000000006
be20: ffffffc0227a8e00 0000000042606d01 0000007feaa4ca10 ffffff800816f34c
be40: 0000000000000006 ffffff800816f344 ffffffc02248beb0 ffffff800816f3e8
be60: 0000000000000000 000000000053ada8 ffffffc02248be80 ffffff800818327c
be80: 0000000000000000 ffffff80080826f0 0000000000000000 0000000000000000
bea0: ffffffffffffffff 0000007fa4a9bf2c 0000000080000000 ffffff80080826f0
bec0: 0000000000000006 0000000042606d01 0000007feaa4ca10 0000007feaa4cc10
bee0: 00000000005812a8 0000007feaa4cc70 0000000000000000 0000000000000000
bf00: 000000000000001d 0000000000000000 0000000000000000 0000000000000000
bf20: 0000000000000000 0000000000000000 0000000000000000 0000000000000077
bf40: 000000000057d5d8 0000007fa4a9bf20 0000000000000000 0000000000537cd8
bf60: 0000000000000000 00000000004094f0 0000000000000000 0000000000000000
bf80: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
bfa0: 0000000000000000 0000007feaa4c9d0 000000000041a3ec 0000007feaa4c9d0
bfc0: 0000007fa4a9bf2c 0000000080000000 0000000000000006 000000000000001d
bfe0: 0000000000000000 0000000000000000 f87bdb5f9561b841 4cc00a4a8e495383
Call trace:
Exception stack(0xffffffc02248bb10 to 0xffffffc02248bc40)
bb00: ffffff800ce7b000 0000008000000000
bb20: ffffffc02248bce0 ffffff80020bd154 0000000000000000 ffffff8008847000
bb40: 00000000024002c2 0000000000000000 00000000024002c2 0000000000000001
bb60: 00000000024000c2 ffffffc01bc9c380 00e8000000000713 ffffffc022488000
bb80: ffffffc021e06480 ffffffc0226a9498 ffffffc0227a8e00 ffffff80088af000
bba0: ffffffc02248bbf0 ffffff800816dec4 ffffff840e7952f8 0000000000000004
bbc0: 00000000fffffffb ffffff800ce7b024 0000000000000000 0000000000001004
bbe0: 00000000fffffff8 ffffff800e795300 0000000000000008 0000000000005300
bc00: 0000000000000000 ffffff80020c79b8 0000000000000008 ffffff80020c79b8
bc20: 0000000000000007 0000000000000001 0000000000000001 0000007fa4a9bf20
[
[
[
[
[
[
[
Code: 1a82b000 13027c00 8b2048e0 710004df (b9450002)
---[ end trace 343b969ce199aefc ]---
Kernel panic - not syncing: Fatal exception
SMP: stopping secondary CPUs
Kernel Offset: disabled
Memory Limit: 512 MB
---[ end Kernel panic - not syncing: Fatal exception
疑问:MIPI设置成单数的时候为什么会报不支持,而设置成双数为什么报的是内核错误,这个应该如何正确地设置?
我来回答
回答3个
时间排序
认可量排序
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-08-08 15:35:11
-
2019-07-20 16:36:33
-
2020-04-01 16:35:54
-
2023-01-11 14:52:21
-
2020-08-13 14:28:21
-
2019-01-14 18:17:23
-
2018-05-29 11:58:37
-
2023-11-10 11:30:18
-
2019-10-10 10:01:06
-
2020-09-10 11:45:00
-
2018-06-08 19:18:57
-
2020-05-06 19:18:44
-
2018-05-11 19:02:40
-
2021-02-02 10:17:43
-
2018-09-05 12:03:42
-
2018-07-17 18:05:35
-
2018-07-26 14:32:57
-
2020-07-20 15:39:04
-
2020-07-01 21:14:34
无更多相似问答 去提问
点击登录
-- 积分
-- 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币)
取消
确认