rk3566主板S40rkaiq_3A报错
使用官方固件,S40rkaiq_3A报错,请问是什么原因# /etc/init.d/S40rkaiq_3A start
# source /etc/init.d/S40rkaiq_3A start
# rkaiq_3A_server --mmedia /dev/media0
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_rawwr1 is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkisp_rawrd1_l is null
media get entity by name: rkisp-mipi-luma is null
media get entity by name: rockchip-mipi-dphy-rx is null
DBG: get rkisp-isp-subdev devname: /dev/v4l-subdev0
DBG: get rkisp-input-params devname: /dev/video8
DBG: get rkisp-statistics devname: /dev/video7
DBG: subscribe events from /dev/video8 success !
:XCAM ERROR RkAiqCalibTag.cpp:7097: calib_check_getID_by_name(7097): subtag: wbBypass from parent tag: AWB is unknown, assert!!!
rkaiq_3A_server: /home/alinx/rk3566/rk356x_linux_210601/buildroot/output/rockchip_rk3566/build/camera_engine_rkaiq-1.0/iq_parser/RkAiqCalibTag.cpp:7099: int calib_check_getID_by_name(char*, CALIB_IQ_TAG_ID_T, CALIB_IQ_TAG_ID_T*): Assertion `false' failed.
Aborted
#
输入下面命令可以出图,但是颜色是不正常的
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=60/1 ! waylandsink
输入下面命令也调用不了
# gst-launch-1.0 rkisp device=/dev/video0 io-mode=1 analyzer=1 en
able-3a=1 path-iqf=/etc/cam_iq.xml ! video/x-raw,format=NV12,width=3840,height=2
160,framerate=60/1 ! videoconvert ! waylandsink
WARNING: erroneous pipeline: no element "rkisp"
#
下面是我当前media状态
# media-ctl -p -d /dev/media0
Media controller API version 4.19.172
Media device information
------------------------
driver rkisp
model rkisp0
serial
bus info
hw revision 0x0
driver version4.19.172
Device topology
- entity 1: rkisp-isp-subdev (4 pads, 7 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev0
pad0: Sink
[fmt:SRGGB12_1X12/3840x2160 field:none
crop.bounds:(0,0)/3840x2160
crop:(0,0)/3840x2160]
<- "rkisp-csi-subdev":1
<- "rkisp_rawrd0_m":0 []
<- "rkisp_rawrd2_s":0 []
pad1: Sink
<- "rkisp-input-params":0
pad2: Source
[fmt:YUYV8_2X8/3840x2160 field:none
crop.bounds:(0,0)/3840x2160
crop:(0,0)/3840x2160]
-> "rkisp_mainpath":0
-> "rkisp_selfpath":0
pad3: Source
-> "rkisp-statistics":0
- entity 6: rkisp-csi-subdev (6 pads, 5 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev1
pad0: Sink
<- "rockchip-csi2-dphy0":1
pad1: Source
-> "rkisp-isp-subdev":0
pad2: Source
-> "rkisp_rawwr0":0
pad3: Source
pad4: Source
-> "rkisp_rawwr2":0
pad5: Source
-> "rkisp_rawwr3":0
- entity 13: rkisp_mainpath (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "rkisp-isp-subdev":2
- entity 19: rkisp_selfpath (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
<- "rkisp-isp-subdev":2
- entity 25: rkisp_rawwr0 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video2
pad0: Sink
<- "rkisp-csi-subdev":2
- entity 31: rkisp_rawwr2 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video3
pad0: Sink
<- "rkisp-csi-subdev":4
- entity 37: rkisp_rawwr3 (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video4
pad0: Sink
<- "rkisp-csi-subdev":5
- entity 43: rkisp_rawrd0_m (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video5
pad0: Source
-> "rkisp-isp-subdev":0 []
- entity 49: rkisp_rawrd2_s (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video6
pad0: Source
-> "rkisp-isp-subdev":0 []
- entity 55: rkisp-statistics (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video7
pad0: Sink
<- "rkisp-isp-subdev":3
- entity 61: rkisp-input-params (1 pad, 1 link)
type Node subtype V4L flags 0
device node name /dev/video8
pad0: Source
-> "rkisp-isp-subdev":1
- entity 67: rockchip-csi2-dphy0 (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
pad0: Sink
[fmt:SRGGB12_1X12/3840x2160@10000/600000 field:none
crop.bounds:(0,0)/3840x2160]
<- "m00_b_imx334 2-001a":0
pad1: Source
[fmt:SRGGB12_1X12/3840x2160@10000/600000 field:none
crop.bounds:(0,0)/3840x2160]
-> "rkisp-csi-subdev":0
- entity 70: m00_b_imx334 2-001a (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev3
pad0: Source
[fmt:SRGGB12_1X12/3840x2160@10000/600000 field:none
crop.bounds:(0,0)/3840x2160]
-> "rockchip-csi2-dphy0":0
#
1、匹配不到 xml 文件,你是用的哪个板子,哪个型号的摄像头呢?
2、rkisp 插件早就不支持了 我们用的是imx334接入开发板,目前希望经过他的ISP能够输出4k60帧的图像,但目前我们用rkisp demo出图,出来的是全屏绿色的图,请问这是怎么回事 1.请根据Wiki更新最新SDK,下载最新固件
2.检查/etc/iqfiles 文件夹内是否有imx334的iq文件
3.检查dts, imx334的节点中camera-module-name和camera-module-lens-name与iq文件名是否对应
页:
[1]