chenzejun 发表于 2022-11-22 16:24:53

RK3588 camera调试问题

根据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单目摄像。

xc7160 3-001b: isp chip is xc7160
rkcif-mipi-lvds2: stream start streaming
rkcifhw fdce0000.rkcif: Only support one master device, master device count 0
rkcif-mipi-lvds2: Allocate dummy buffer, size: 0x001fb000
rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream on, src_sd: 000000009aed8ddf, sd_name:rockchip-csi2-dphy0
rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream ON
rockchip-csi2-dphy0: dphy0, data_rate_mbps 1152
rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0
xc7160 3-001b: xc7160 res wxh: 1920x1080@30fps
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x1000000, cnt:1
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:2
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:3
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x14000000, cnt:4
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:5
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:6
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:7
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:8
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:9
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:10
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:11
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x14000000, cnt:12
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:13
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:14
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:15
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:16
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:17
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:18
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:19
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:20
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x1100
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:21
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:22
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:23
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:24
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:25
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:26
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:27
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x1100
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:28
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:29
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:30
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:31
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:32
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:33
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x1000000, cnt:34
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:35
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:36
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR2: unrecognized or unimplemented data type detected, reg: 0x2200
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x12000000, cnt:37
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x14000000, cnt:38
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:39
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x10000000, cnt:40
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:41
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: crc errors, reg: 0x11000000, cnt:42
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
xc7160 3-001b: sensor chip is SC8238
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: error matching frame start with frame end, reg: 0x110,cnt:1
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: incorrect frame sequence detected, reg: 0x110,cnt:1
rkcif-mipi-lvds2: ERROR: csi size err, intstat:0x1000002, lastline:862!!
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: error matching frame start with frame end, reg: 0x110,cnt:2
rockchip-mipi-csi2 fdd30000.mipi2-csi2: ERR1: incorrect frame sequence detected, reg: 0x110,cnt:2
rkcif-mipi-lvds2: ERROR: csi size err, intstat:0x1010001, lastline:856!!
rkcif-mipi-lvds2: stream start stopping, total mode 0x1, cur 0x1
rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream off, src_sd: 000000009aed8ddf, sd_name:rockchip-csi2-dphy0
rockchip-mipi-csi2 fdd30000.mipi2-csi2: stream OFF
rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream_stop stream stop, dphy0
rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:0, dphy0
rkcif-mipi-lvds2: stream stopping finished


板蓝根 发表于 2022-11-23 14:46:47

固件版本是什么呢?

chenzejun 发表于 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

板蓝根 发表于 2022-11-23 17:28:41

固件太久,更新固件

chenzejun 发表于 2022-11-24 11:18:15

板蓝根 发表于 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

也是报如下的错误:
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x100 (ecc,vc: 0)
mipi2-csi2 ERR2:0x1100 (ecc,vc: 0) (err id,vc: 0)
mipi2-csi2 ERR1:0x11000000 (crc,vc: 0) (ecc2)
mipi2-csi2 ERR1:0x10000000 (ecc2)
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
rkcif-mipi-lvds2: not active buffer, use dummy buffer, mipi/lvds stream
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)
mipi2-csi2 ERR1:0x1000000 (crc,vc: 0)
mipi2-csi2 ERR1:0x10000000 (ecc2)
rkcif-mipi-lvds2: ERROR: csi size err, intstat:0x1000001, lastline:296!!
mipi2-csi2 ERR1:0x110 (fs/fe mis,vc: 0) (f_seq,vc: 0)
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)

chenzejun 发表于 2022-11-24 11:29:58

板蓝根 发表于 2022-11-23 17:28
固件太久,更新固件

是升级的buildroot的固件。

板蓝根 发表于 2022-12-1 11:49:59

如电话沟通:
固件版本无论是 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

板蓝根 发表于 2022-12-1 11:51:20



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

chenzejun 发表于 2022-12-1 16:56:20

板蓝根 发表于 2022-12-1 11:49
如电话沟通:
固件版本无论是 ubuntu 还是 buildroot 都到了 1.0.4b 了,我看你的信息还是 1.0.2 版本



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

bzhao 发表于 2023-2-1 16:12:46

我也遇到这个问题,从打印看,不完全相同,但是非常类似,
页: [1] 2
查看完整版本: RK3588 camera调试问题