Firefly开源社区

打印 上一主题 下一主题

[Linux] 移植新 sensor ov8858 , 执行rkmedia_vi_get_frame_test 无法抓图, 请教分析思路

408

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
408

移植新 sensor ov8858 , 执行rkmedia_vi_get_frame_test 无法抓图, 请教分析思路

发表于 2021-11-17 18:39:14      浏览:4526 | 回复:0        打印      只看该作者   [复制链接] 楼主
sensor id 已经读到, ov8858.c 也是用 firefly codebase 自带的,并且和 ovt fae 确认量产的 setting.
但执行./rkmedia_vi_get_frame_test 只有如下结果, 卡在 main init finish 上面.
完整串口 log 在如下路径, 请问该从哪里入手分析呢?
https://klg.668168.xyz/home/shar ... f4e6eb87cbe650d4ed2


终端执行结果如下:
  1. [root@RV1126_RV1109:/oem/usr/bin]# ./rkmedia_vi_get_frame_test  -a /oem/etc/iqfi
  2. les/ -w 1920 -h 1080 -d rkispp_scale0 -o /tmp/1080p.nv12 -c 10
  3. media get entity by name: rkcif-lvds-subdev is null
  4. media get entity by name: rkcif-lite-lvds-subdev is null
  5. [18:30:18.639108][CAMHW]:XCAM ERROR CamHwIsp20.cpp:160: @get_sensor_caps /dev/v4l-subdev3: Enum sensor frame interval failed
  6. media get entity by name: rkisp-mpfbc-subdev is null
  7. media get entity by name: rkisp_dmapath is null
  8. media get entity by name: rockchip-mipi-dphy-rx is null
  9. Rga built version:1.04 c7ccf9c+2021-11-15 17:32:12
  10. #####Device: rkispp_scale0
  11. #####Resolution: 1920x1080
  12. #####Frame Count to save: 10
  13. #####Output Path: /tmp/1080p.nv12
  14. #CameraIdx: 0

  15. #####Aiq xml dirpath: /oem/etc/iqfiles/

  16. #bMultictx: 0

  17. ID: 0, sensor_name is m01_f_ov8858 1-0036, iqfiles is /oem/etc/iqfiles/
  18. [18:30:19.054996][XCORE]:XCAM ERROR v4l2_device.cpp:196: open device(/dev/video0) failed
  19. [18:30:19.055389][XCORE]:XCAM ERROR v4l2_device.cpp:196: open device(/dev/video1) failed
  20. [18:30:19.055531][XCORE]:XCAM ERROR v4l2_device.cpp:196: open device(/dev/video2) failed
  21. [18:30:19.056253][CAMHW]:XCAM ERROR SensorHw.cpp:854: failed to set hflip (val: 0)
  22. [18:30:19.058453][CAMHW]:XCAM ERROR SensorHw.cpp:834: failed to set hdr mode 0
  23. [18:30:19.058536][XCORE]:XCAM ERROR RkAiqManager.cpp:258: camhw prepare error -9
  24. [18:30:19.058565][XCORE]:XCAM ERROR rk_aiq_user_api_sysctl.cpp:258: prepare failed !
  25. rkaiq engine prepare failed !
  26. SAMPLE_COMM_ISP_SetFrameRate : CamId is over 3 or not init
  27. ##RKMEDIA Log level: 2
  28. [RKMEDIA][SYS][Info]:text is all=2
  29. [RKMEDIA][SYS][Info]:module is all, log_level is 2
  30. [RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:0]:rkispp_scale0, 1920x1080 Start...
  31. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media0
  32. media get entity by name: rkcif-lvds-subdev is null
  33. media get entity by name: rkcif-lite-lvds-subdev is null
  34. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media1
  35. media get entity by name: rkisp-mpfbc-subdev is null
  36. media get entity by name: rkisp_dmapath is null
  37. media get entity by name: rockchip-mipi-dphy-rx is null
  38. [RKMEDIA][SYS][Info]:RKAIQ: model(rkisp0): isp_info(0): isp-subdev entity name: /dev/v4l-subdev5
  39. [RKMEDIA][SYS][Info]:RKAIQ: parsing /dev/media2
  40. [RKMEDIA][SYS][Info]:RKAIQ: model(rkispp0): ispp_info(0): ispp-subdev entity name: /dev/v4l-subdev0
  41. [RKMEDIA][SYS][Info]:#V4l2Stream: camraID:0, Device:rkispp_scale0
  42. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale0
  43. [RKMEDIA][SYS][Warn]:camera_id: 0, chn: rkispp_scale0, idx: 0
  44. [RKMEDIA][SYS][Info]:#V4l2Stream: camera id:0, VideoNode:/dev/video19
  45. Using mplane plugin for capture
  46. [RKMEDIA][SYS][Info]:#V4L2Ctx: open /dev/video19, fd 23
  47. [RKMEDIA][SYS][Info]:RK_MPI_VI_EnableChn: Enable VI[0:0]:rkispp_scale0, 1920x1080 End...
  48. main initial finish
复制代码
回复

使用道具 举报

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

本版积分规则

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