Firefly开源社区

12
发表新贴
打印 上一主题 下一主题

[Linux] RK3588 camera调试问题

53

积分

0

威望

0

贡献

技术小白

积分
53

RK3588 camera调试问题

发表于 2022-11-22 16:24:53      浏览:15137 | 回复:10        打印      只看该作者   [复制链接] 楼主
根据wiki资料,在调试camera的时候,调用v4l2-ctl --verbose -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat='NV12' --stream-mmap=4 --set-selection=target=crop,flags=0,top=0,left=0,width=1920,height=1080 --stream-to=/userdata/out.yuv命令,发现报错,日志如下,请问是什么问题?


目前是ubuntu的固件,没做任何修改,接上了800w单目摄像。

[  239.810262] xc7160 3-001b: isp chip is xc7160
[  239.835338] rkcif-mipi-lvds2: stream[0] start streaming
[  239.835353] rkcifhw fdce0000.rkcif: Only support one master device, master device count 0
[  239.835776] rkcif-mipi-lvds2: Allocate dummy buffer, size: 0x001fb000
[  239.835833] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream on, src_sd: 000000009aed8ddf, sd_name:rockchip-csi2-dphy0
[  239.835862] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream ON
[  239.835890] rockchip-csi2-dphy0: dphy0, data_rate_mbps 1152
[  239.835918] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
[  239.835923] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
[  239.835931] xc7160 3-001b: xc7160 res wxh: 1920x1080@30fps
[  239.894240] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x1000000, cnt:1
[  239.894326] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:2
[  239.894445] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:3
[  239.894703] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x14000000, cnt:4
[  239.894823] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.894944] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:5
[  239.895110] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:6
[  239.895200] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.895317] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.895343] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.895592] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:7
[  239.895619] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:8
[  239.895702] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:9
[  239.895818] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:10
[  239.895952] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:11
[  239.896456] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.896697] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x14000000, cnt:12
[  239.896730] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:13
[  239.896830] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.896953] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.897077] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:14
[  239.897199] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:15
[  239.897475] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:16
[  239.897585] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:17
[  239.897706] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:18
[  239.897849] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:19
[  239.897962] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:20
[  239.898084] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.898331] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x1100
[  239.898363] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:21
[  239.898462] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.898594] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:22
[  239.898962] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:23
[  239.899079] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:24
[  239.899107] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:25
[  239.899213] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:26
[  239.899335] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:27
[  239.899453] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x1100
[  239.899713] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.899837] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:28
[  239.899959] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:29
[  239.900100] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.900216] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:30
[  239.900727] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:31
[  239.900837] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:32
[  239.901077] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:33
[  239.901105] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x1000000, cnt:34
[  239.901214] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.901337] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:35
[  239.901605] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:36
[  239.901716] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
[  239.901839] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:37
[  239.902108] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x14000000, cnt:38
[  239.902218] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:39
[  239.902463] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:40
[  239.902612] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:41
[  239.902858] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:42
[  240.045292] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.078543] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.111956] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.145209] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.178564] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.211876] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.245289] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.278536] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.311956] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.345318] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.378542] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.411864] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.445290] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.478555] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.511956] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.545289] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.578541] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.611876] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.645226] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.678542] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.711957] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.745291] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  240.757695] xc7160 3-001b: sensor chip is SC8238
[  241.000736] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: error matching frame start with frame end, reg: 0x110,cnt:1
[  241.000821] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: incorrect frame sequence detected, reg: 0x110,cnt:1
[  241.000872] rkcif-mipi-lvds2: ERROR: csi size err, intstat:0x1000002, lastline:862!!
[  241.034140] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: error matching frame start with frame end, reg: 0x110,cnt:2
[  241.034207] rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: incorrect frame sequence detected, reg: 0x110,cnt:2
[  241.034241] rkcif-mipi-lvds2: ERROR: csi size err, intstat:0x1010001, lastline:856!!
[  245.489904] rkcif-mipi-lvds2: stream[0] start stopping, total mode 0x1, cur 0x1
[  245.499525] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream off, src_sd: 000000009aed8ddf, sd_name:rockchip-csi2-dphy0
[  245.499575] rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream OFF
[  245.500718] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream_stop stream stop, dphy0
[  245.500734] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
[  245.500765] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
[  245.503926] rkcif-mipi-lvds2: stream[0] stopping finished


回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11182

优秀版主

发表于 2022-11-23 14:46:47        只看该作者  沙发
固件版本是什么呢?
回复

使用道具 举报

53

积分

0

威望

0

贡献

技术小白

积分
53
发表于 2022-11-23 17:20:50        只看该作者  板凳
板蓝根 发表于 2022-11-23 14:46
固件版本是什么呢?

root@firefly:~# cat /proc/version
Linux version 5.10.66 (liuth@tchip16) (kernel commit id: 94cc6ef6b05d) (sdk version: rk3588_linux_release_20220610_v1.0.0c) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #1 SMP Tue Jun 21 17:22:03 CST 2022
回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11182

优秀版主

发表于 2022-11-23 17:28:41        只看该作者  地板
固件太久,更新固件
回复

使用道具 举报

53

积分

0

威望

0

贡献

技术小白

积分
53
发表于 2022-11-24 11:18:15        只看该作者  5#
板蓝根 发表于 2022-11-23 17:28
固件太久,更新固件

我更新了固件,目前固件如下:

root@RK3588:/userdata# cat /proc/version
Linux version 5.10.110 (lvsx@tchip14) (kernel commit id: 44dbce6d6463) (sdk version: rk3588_linux_release_20221012_v1.0.2a) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #167 SMP Thu Oct 13 12:03:21 CST 2022

也是报如下的错误:
[  368.640870] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.640895] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.640925] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.640942] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.640971] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641000] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641025] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641048] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641074] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.641096] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.641119] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641164] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641181] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641207] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641226] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641251] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.641273] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.641297] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641325] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641352] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641397] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641415] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641434] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.641451] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.641475] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641503] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641549] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641592] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641612] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.641630] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.641653] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641681] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641708] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641737] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641760] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641785] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.641828] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.641846] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641862] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641889] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.641917] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641938] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.641970] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.641989] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.642008] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642035] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642062] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642091] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.642119] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.642140] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.642162] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.642193] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642216] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642241] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642270] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.642292] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.642318] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.642371] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.642391] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642418] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642446] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.642474] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.642495] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.642518] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.642542] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642570] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642597] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642626] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.642672] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.642715] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.642733] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642748] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642775] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642802] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.642826] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.642851] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.642873] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.642903] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642926] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642952] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.642981] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643004] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643029] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.643051] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.643079] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643129] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643159] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643181] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643207] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.643229] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.643253] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643281] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643308] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643337] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643380] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643400] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.643419] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.643434] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643458] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643499] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643518] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643536] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643565] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.643584] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.643608] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643635] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643663] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643692] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643715] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643741] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.643770] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.643787] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643814] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643841] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643873] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.643919] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.643940] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.643964] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.643992] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.644019] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.644048] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.644079] mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
[  368.644100] mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
[  368.644117] mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
[  368.644162] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  368.758338] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  368.791786] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  368.825003] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  368.858374] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  368.891798] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  368.925114] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  368.958335] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  368.991677] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.025002] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.058335] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.091669] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.125002] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.158336] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.191655] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.224991] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.258336] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.291668] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.325002] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.358334] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.391668] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.425001] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.458334] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.491668] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.524999] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.558342] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.591669] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.625008] rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream[0]
[  369.636728] xc7160 3-001b: sensor chip is SC8238
                VIDIOC_STREAMON returned 0 (Success)
cap dqbuf: 0 seq:      0 bytesused: 3110400 ts: 367.351180 delta: 367351.180 ms (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:      1 bytesused: 3110400 ts: 367.384508 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:      2 bytesused: 3110400 ts: 367.417937 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:      3 bytesused: 3110400 ts: 367.451178 (ts-monotonic, ts-src-eof)
[  369.847947] mipi2-csi2 ERR1:0x1000000 (crc,vc: 0)
[  369.848056] mipi2-csi2 ERR1:0x10000000 (ecc2)
[  369.879299] rkcif-mipi-lvds2: ERROR: csi size err, intstat:0x1000001, lastline:296!!
[  369.879416] mipi2-csi2 ERR1:0x110 (fs/fe mis,vc: 0) (f_seq,vc: 0)
[  369.912659] mipi2-csi2 ERR1:0x110 (fs/fe mis,vc: 0) (f_seq,vc: 0)
cap dqbuf: 0 seq:     32 bytesused: 3110400 ts: 368.670797 fps: 24.25 dropped: 28 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     33 bytesused: 3110400 ts: 368.704021 fps: 24.39 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     34 bytesused: 3110400 ts: 368.737355 fps: 24.53 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     35 bytesused: 3110400 ts: 368.770688 fps: 24.66 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     36 bytesused: 3110400 ts: 368.804022 fps: 24.78 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     37 bytesused: 3110400 ts: 368.837355 fps: 24.90 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     38 bytesused: 3110400 ts: 368.870738 fps: 25.01 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     39 bytesused: 3110400 ts: 368.904083 fps: 25.11 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     40 bytesused: 3110400 ts: 368.937355 fps: 25.22 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     41 bytesused: 3110400 ts: 368.970687 fps: 25.32 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     42 bytesused: 3110400 ts: 369.004021 fps: 25.41 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     43 bytesused: 3110400 ts: 369.037355 fps: 25.50 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     44 bytesused: 3110400 ts: 369.070688 fps: 25.59 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     45 bytesused: 3110400 ts: 369.104021 fps: 25.67 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     46 bytesused: 3110400 ts: 369.137354 fps: 25.75 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     47 bytesused: 3110400 ts: 369.170688 fps: 25.83 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     48 bytesused: 3110400 ts: 369.204021 fps: 25.91 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     49 bytesused: 3110400 ts: 369.237355 fps: 25.98 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     50 bytesused: 3110400 ts: 369.270687 fps: 26.05 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     51 bytesused: 3110400 ts: 369.304021 fps: 26.12 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     52 bytesused: 3110400 ts: 369.337355 fps: 26.18 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     53 bytesused: 3110400 ts: 369.370687 fps: 26.24 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     54 bytesused: 3110400 ts: 369.404083 fps: 26.30 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     55 bytesused: 3110400 ts: 369.437355 fps: 26.36 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     56 bytesused: 3110400 ts: 369.470688 fps: 26.42 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     57 bytesused: 3110400 ts: 369.504021 fps: 26.48 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     58 bytesused: 3110400 ts: 369.537354 fps: 26.53 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     59 bytesused: 3110400 ts: 369.570688 fps: 26.58 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     60 bytesused: 3110400 ts: 369.604021 fps: 26.63 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     61 bytesused: 3110400 ts: 369.637355 fps: 26.68 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     62 bytesused: 3110400 ts: 369.670689 fps: 26.73 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     63 bytesused: 3110400 ts: 369.704020 fps: 26.78 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     64 bytesused: 3110400 ts: 369.737355 fps: 26.82 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     65 bytesused: 3110400 ts: 369.770688 fps: 26.86 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     66 bytesused: 3110400 ts: 369.804021 fps: 26.91 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     67 bytesused: 3110400 ts: 369.837355 fps: 26.95 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     68 bytesused: 3110400 ts: 369.870688 fps: 26.99 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     69 bytesused: 3110400 ts: 369.904082 fps: 27.03 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     70 bytesused: 3110400 ts: 369.937355 fps: 27.07 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     71 bytesused: 3110400 ts: 369.970688 fps: 27.10 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     72 bytesused: 3110400 ts: 370.004021 fps: 27.14 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     73 bytesused: 3110400 ts: 370.037355 fps: 27.18 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     74 bytesused: 3110400 ts: 370.070689 fps: 27.21 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     75 bytesused: 3110400 ts: 370.104021 fps: 27.24 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     76 bytesused: 3110400 ts: 370.137355 fps: 27.28 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     77 bytesused: 3110400 ts: 370.170688 fps: 27.31 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     78 bytesused: 3110400 ts: 370.204021 fps: 27.34 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     79 bytesused: 3110400 ts: 370.237354 fps: 27.37 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     80 bytesused: 3110400 ts: 370.270687 fps: 27.40 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     81 bytesused: 3110400 ts: 370.304021 fps: 27.43 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     82 bytesused: 3110400 ts: 370.337354 fps: 27.46 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     83 bytesused: 3110400 ts: 370.370688 fps: 27.49 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     84 bytesused: 3110400 ts: 370.404075 fps: 27.51 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     85 bytesused: 3110400 ts: 370.437432 fps: 27.54 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     86 bytesused: 3110400 ts: 370.470690 fps: 27.57 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     87 bytesused: 3110400 ts: 370.504021 fps: 27.59 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     88 bytesused: 3110400 ts: 370.537354 fps: 27.62 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     89 bytesused: 3110400 ts: 370.570688 fps: 27.64 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     90 bytesused: 3110400 ts: 370.604021 fps: 27.67 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     91 bytesused: 3110400 ts: 370.637354 fps: 27.69 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     92 bytesused: 3110400 ts: 370.670688 fps: 27.71 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     93 bytesused: 3110400 ts: 370.704020 fps: 27.74 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     94 bytesused: 3110400 ts: 370.737354 fps: 27.76 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     95 bytesused: 3110400 ts: 370.770688 fps: 27.78 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:     96 bytesused: 3110400 ts: 370.804021 fps: 27.80 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:     97 bytesused: 3110400 ts: 370.837355 fps: 27.82 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:     98 bytesused: 3110400 ts: 370.870688 fps: 27.84 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:     99 bytesused: 3110400 ts: 370.904081 fps: 27.86 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:    100 bytesused: 3110400 ts: 370.937432 fps: 27.88 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:    101 bytesused: 3110400 ts: 370.970688 fps: 27.90 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:    102 bytesused: 3110400 ts: 371.004021 fps: 27.92 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:    103 bytesused: 3110400 ts: 371.037355 fps: 27.94 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:    104 bytesused: 3110400 ts: 371.070688 fps: 27.96 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:    105 bytesused: 3110400 ts: 371.104021 fps: 27.98 (ts-monotonic, ts-src-eof)
cap dqbuf: 2 seq:    106 bytesused: 3110400 ts: 371.137354 fps: 28.00 (ts-monotonic, ts-src-eof)
cap dqbuf: 3 seq:    107 bytesused: 3110400 ts: 371.170688 fps: 28.01 (ts-monotonic, ts-src-eof)
cap dqbuf: 0 seq:    108 bytesused: 3110400 ts: 371.204021 fps: 28.03 (ts-monotonic, ts-src-eof)
cap dqbuf: 1 seq:    109 bytesused: 3110400 ts: 371.237355 fps: 28.05 (ts-monotonic, ts-src-eof)
回复

使用道具 举报

53

积分

0

威望

0

贡献

技术小白

积分
53
发表于 2022-11-24 11:29:58        只看该作者  6#
板蓝根 发表于 2022-11-23 17:28
固件太久,更新固件

是升级的buildroot的固件。
回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11182

优秀版主

发表于 2022-12-1 11:49:59        只看该作者  7#
如电话沟通:
固件版本无论是 ubuntu 还是 buildroot 都到了 1.0.4b 了,我看你的信息还是 1.0.2 版本

您说没有找到  gst-launch-1.0, 我检查了 buildroot 内部是默认内置了 gstreamer 的。并且可以成功预览,你可以使用以下命令:

gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 ! queue ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1  ! waylandsink

回复

使用道具 举报

1万

积分

14

威望

13

贡献

管理员

Rank: 9Rank: 9Rank: 9

积分
11182

优秀版主

发表于 2022-12-1 11:51:20        只看该作者  8#


如果需要用 v4l2-ctl 来抓图,需要使用 1.16.5 或之前的版本。或者自己写一个应用来抓。

image.jpg (225.06 KB, 下载次数: )

image.jpg
回复

使用道具 举报

53

积分

0

威望

0

贡献

技术小白

积分
53
发表于 2022-12-1 16:56:20        只看该作者  9#
板蓝根 发表于 2022-12-1 11:49
如电话沟通:
固件版本无论是 ubuntu 还是 buildroot 都到了 1.0.4b 了,我看你的信息还是 1.0.2 版本

我使用上述gst命令可以成功预览了,请问gst命令可以用来抓图吗?
回复

使用道具 举报

316

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
316
发表于 2023-2-1 16:12:46        只看该作者  10#
我也遇到这个问题,从打印看,不完全相同,但是非常类似,
回复

使用道具 举报

返回列表
12
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表