2945
- 收藏
- 点赞
- 分享
- 举报
RV1126采集AHD转MIPI摄像头数据错误
我们使用了一颗AHD转MIPI-CSI的摄像头芯片rn6752(MIPI-CSI 2xlane采集的), 输入图像是YUV格式的,我们参考nvp6188.c实现了,并且按照厂家给的初始化寄存器实现了驱动,目前驱动可以正常加载
数据流走向及关键的设备树信息:
//数据流走向
//sensor->csi_dphy->isp->ispp
&i2c1 {
status = "okay";
clock-frequency = <400000>;
rn6752: rn6752@2c {
compatible = "richnex,rn6752";
reg = <0x2c>;
clocks = <&cru CLK_MIPICSI_OUT>;
clock-names = "xvclk";
power-domains = <&power RV1126_PD_VI>;
pinctrl-names = "rockchip,camera_default";
pinctrl-0 = <&mipicsi_clk0>;
// power-gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_HIGH>;
// pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
rockchip,camera-module-index = <0>;
rockchip,camera-module-facing = "front";
rockchip,camera-module-name = "AHD-RV1126-V1";
rockchip,camera-module-lens-name = "20IR-2MP-F20";
port {
ucam_out0: endpoint {
remote-endpoint = <&mipi_in_ucam0>;
data-lanes = <1 2>;
};
};
};
采集指令如下:
v4l2-ctl -d /dev/video0 \
--set-fmt-video=width=1920,height=1080,pixelformat=NV12 \
--stream-mmap=3 \
--stream-skip=3 \
--stream-to=/tmp/ahd.yuv \
--stream-count=10 \
--stream-poll
执行后采集不到数据,串口里面的错误的信息如下:
[ 247.626420] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x1000000, cnt:41344
[ 247.626451] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41345
[ 247.626489] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x1000000, cnt:41346
[ 247.626522] rockchip-mipi-csi2: ERR1: error matching frame start with frame end, reg: 0x110,cnt:10726
[ 247.626532] rockchip-mipi-csi2: ERR1: incorrect frame sequence detected, reg: 0x110,cnt:10546
[ 247.626558] rockchip-mipi-csi2: ERR1: error matching frame start with frame end, reg: 0x110,cnt:10727
[ 247.626567] rockchip-mipi-csi2: ERR1: incorrect frame sequence detected, reg: 0x110,cnt:10547
[ 247.626595] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41347
[ 247.626629] rockchip-mipi-csi2: ERR1: error matching frame start with frame end, reg: 0x110,cnt:10728
[ 247.626638] rockchip-mipi-csi2: ERR1: incorrect frame sequence detected, reg: 0x110,cnt:10548
[ 247.626665] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41348
[ 247.626737] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x11000000, cnt:41349
[ 247.626771] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41350
[ 247.626807] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41351
[ 247.626842] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41352
[ 247.626878] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41353
[ 247.626913] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41354
[ 247.626949] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41355
[ 247.626985] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41356
[ 247.627020] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41357
[ 247.627054] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41358
[ 247.627090] rockchip-mipi-csi2: ERR1: crc errors, reg: 0x10000000, cnt:41359
[ 247.627128] rockchip-mipi-csi2: ERR1: error matching frame start with frame end, reg: 0x110,cnt:10729
[ 247.627140] rockchip-mipi-csi2: ERR1: incorrect frame sequence detected, reg: 0x110,cnt:10549
想问下RV1126这端报这些错误,我们应该如何排查?
文件: kernel.log
下载
文件: mipi-csi.log
下载
文件: rn6752.c
下载
我来回答
回答4个
时间排序
认可量排序
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2021-12-11 00:39:47
-
2023-09-25 17:45:47
-
2017-05-03 09:26:19
-
2021-04-23 17:40:38
-
2021-12-17 16:17:56
-
2023-10-31 11:44:27
-
2018-11-23 21:29:42
-
2021-02-24 11:14:07
-
2023-10-23 15:00:27
-
2024-03-06 15:45:04
-
2016-11-04 17:00:03
-
2023-06-19 11:46:08
-
2017-03-22 16:39:48
-
2022-11-24 16:04:34
-
2014-12-24 17:45:30
-
2023-10-31 19:31:23
-
2022-01-14 09:02:24
-
2023-07-24 16:54:18
-
2022-09-30 10:36:21
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5想要咨询一下Sil9135+Sil9134形成的一个显示链路.
-
5Hi3516移植USB摄像头的SDK,如何修改Makefile?
-
5ss928从SD卡启动
-
50HI3516CV610调试raw+ahd,均使用2lane mipi
-
5HI3516DV500接收不到FPGA传过来的BT1120数据,时钟和配置都没问题VI就是检测不到数据~
-
5请教一下,Hi3516DV500 ebaina的SDK有没有实现RTSP推流?
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认