移植新 sensor ov8858 , 执行rkmedia_vi_get_frame_test 无法抓图, 请教分析思路
sensor id 已经读到, ov8858.c 也是用 firefly codebase 自带的,并且和 ovt fae 确认量产的 setting.但执行./rkmedia_vi_get_frame_test 只有如下结果, 卡在 main init finish 上面.
完整串口 log 在如下路径, 请问该从哪里入手分析呢?
https://klg.668168.xyz/home/share/naf_ov8858_mipi_debug_night_rkmedia_vi_get_frame_test.log?token=1eb1affb61208f4e6eb87cbe650d4ed2
终端执行结果如下:
# ./rkmedia_vi_get_frame_test-a /oem/etc/iqfi
les/ -w 1920 -h 1080 -d rkispp_scale0 -o /tmp/1080p.nv12 -c 10
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
:XCAM ERROR CamHwIsp20.cpp:160: @get_sensor_caps /dev/v4l-subdev3: Enum sensor frame interval failed
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
Rga built version:1.04 c7ccf9c+2021-11-15 17:32:12
#####Device: rkispp_scale0
#####Resolution: 1920x1080
#####Frame Count to save: 10
#####Output Path: /tmp/1080p.nv12
#CameraIdx: 0
#####Aiq xml dirpath: /oem/etc/iqfiles/
#bMultictx: 0
ID: 0, sensor_name is m01_f_ov8858 1-0036, iqfiles is /oem/etc/iqfiles/
:XCAM ERROR v4l2_device.cpp:196: open device(/dev/video0) failed
:XCAM ERROR v4l2_device.cpp:196: open device(/dev/video1) failed
:XCAM ERROR v4l2_device.cpp:196: open device(/dev/video2) failed
:XCAM ERROR SensorHw.cpp:854: failed to set hflip (val: 0)
:XCAM ERROR SensorHw.cpp:834: failed to set hdr mode 0
:XCAM ERROR RkAiqManager.cpp:258: camhw prepare error -9
:XCAM ERROR rk_aiq_user_api_sysctl.cpp:258: prepare failed !
rkaiq engine prepare failed !
SAMPLE_COMM_ISP_SetFrameRate : CamId is over 3 or not init
##RKMEDIA Log level: 2
:text is all=2
:module is all, log_level is 2
:RK_MPI_VI_EnableChn: Enable VI:rkispp_scale0, 1920x1080 Start...
:RKAIQ: parsing /dev/media0
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
:RKAIQ: parsing /dev/media1
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rockchip-mipi-dphy-rx is null
:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev5
:RKAIQ: parsing /dev/media2
:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
:#V4l2Stream: camraID:0, Device:rkispp_scale0
:camera_id: 0, chn: rkispp_scale0
:camera_id: 0, chn: rkispp_scale0, idx: 0
:#V4l2Stream: camera id:0, VideoNode:/dev/video19
Using mplane plugin for capture
:#V4L2Ctx: open /dev/video19, fd 23
:RK_MPI_VI_EnableChn: Enable VI:rkispp_scale0, 1920x1080 End...
main initial finish
页:
[1]