OpenHarmony 4.0 RK3588 ispserver运行失败

yjka 显示全部楼层 发表于 2024-9-18 22:12:11
1. RK3588 OpenHarmony 4.0 release,摄像头是ov13850,json文件使用的是https://gitee.com/hihope-rk3588/camera_engine_rkaiq_linux 这个地址里面的iqfiles\isp21\ov13850_ZC-OV13850R2A-V1_Largan-50064B31.json运行失败日志如下:
  1. # ./vendor/bin/ispserver
  2. rkaiq log level ff0
  3. media get entity by name: stream_cif_dvp_id0 is null
  4. media get entity by name: stream_cif_dvp_id1 is null
  5. media get entity by name: stream_cif_dvp_id2 is null
  6. media get entity by name: stream_cif_dvp_id3 is null
  7. media get entity by name: rkcif-mipi-luma is null
  8. media get entity by name: rkcif-lvds-subdev is null
  9. media get entity by name: rkcif-lite-lvds-subdev is null
  10. media get entity by name: rockchip-mipi-dphy-rx is null
  11. media get entity by name: stream_cif is null
  12. media get entity by name: rkcif-dvp-sof is null
  13. media get entity by name: rkisp-csi-subdev is null
  14. media get entity by name: rkisp-mpfbc-subdev is null
  15. media get entity by name: rkisp_rawwr0 is null
  16. media get entity by name: rkisp_rawwr1 is null
  17. media get entity by name: rkisp_rawwr2 is null
  18. media get entity by name: rkisp_rawwr3 is null
  19. media get entity by name: rkisp_dmapath is null
  20. media get entity by name: rkisp-mipi-luma is null
  21. media get entity by name: rockchip-mipi-dphy-rx is null
  22. media get entity by name: rockchip-csi2-dphy0 is null
  23. media get entity by name: rkcif_dvp is null
  24. media get entity by name: rkcif_dvp is null
  25. media get entity by name: rkcif_lite_mipi_lvds is null
  26. media get entity by name: rkcif_mipi_lvds is null
  27. media get entity by name: rkcif_mipi_lvds1 is null
  28. media get entity by name: rkcif_mipi_lvds2 is null
  29. media get entity by name: rkcif_mipi_lvds3 is null
  30. media get entity by name: rkcif_mipi_lvds4 is null
  31. media get entity by name: rkcif_mipi_lvds5 is null
  32. media get entity by name: rkcif-mipi-lvds is null
  33. media get entity by name: rkcif-mipi-lvds1 is null
  34. media get entity by name: rkcif-mipi-lvds3 is null
  35. media get entity by name: rkcif-mipi-lvds4 is null
  36. media get entity by name: rkcif-mipi-lvds5 is null
  37. media get entity by name: rkisp-isp-subdev is null
  38. media get entity by name: rkisp-input-params is null
  39. media get entity by name: rkisp-statistics is null
  40. media get entity by name: rkisp_mainpath is null
  41. Cound not find rkisp dev names, skipped /dev/media0
  42. ERR: Bad media topology for: /dev/media0
  43. DBG: get rkisp-isp-subdev devname: /dev/v4l-subdev3
  44. DBG: get rkisp-input-params devname: /dev/video19
  45. DBG: get rkisp-statistics devname: /dev/video18
  46. DBG: get rkisp_mainpath devname: /dev/video11
  47. ERR: rkisp-isp-subdev:/dev/v4l-subdev3 rkisp-input-params:/dev/video19 rkisp-statistics:/dev/video18 rkisp_mainpath:/dev/video11 sensor_entity_name:m00_b_ov13850 3-0010
  48. ERR: rkaiq_get_media_info ok /dev/media1
  49. ERR: Bad media topology for: /dev/media2
  50. ERR: Bad media topology for: /dev/media3
  51. ERR: Bad media topology for: /dev/media4
  52. ERR: Bad media topology for: /dev/media5
  53. ERR: Bad media topology for: /dev/media6
  54. ERR: Bad media topology for: /dev/media7
  55. ERR: Bad media topology for: /dev/media8
  56. ERR: Bad media topology for: /dev/media9
  57. ERR: Bad media topology for: /dev/media10
  58. ERR: Bad media topology for: /dev/media11
  59. ERR: Bad media topology for: /dev/media12
  60. ERR: Bad media topology for: /dev/media13
  61. ERR: Bad media topology for: /dev/media14
  62. ERR: Bad media topology for: /dev/media15
  63. XCORE:E:isp_hw_ver 6

  64. XCORE:E:Should use json instead of xml
  65. XCORE:E:write /tmp/iq_dump.json failed!
  66. XCORE:E:Failed to find params of : scene in json, using default scene
  67. ACCM:E:fail to estimate illuminant!!!

  68. AWB:E:can't find (null) in all CalibParaV21 light sources for lightSourceForFirstFrame

  69. Signal 11
复制代码
2. 下载https://gitee.com/hihope-rk3588/camera_engine_rkaiq_linux代码到OpenHarmony系统中编译发生报错:

  1. FAILED: obj/device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_shared__check.txt
  2. /usr/bin/env ../../build/templates/common/check_build_target.py --part-name common --subsystem-name common --target-path //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:rkaiq_shared --depfile gen/device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_shared__check.d --output obj/device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_shared__check.txt --compile-standard-allow-file  --deps //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:librkaiq_ae.a //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:librkaiq_awb.a //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:librkaiq_af.a //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:librkaiq_asd.a //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_amerge_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_atmo_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_anr_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_acp_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_aie_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_asharp_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_adhaz_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_a3dlut_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_ablc_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_accm_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_acgc_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_adebayer_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_adpcc_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_afec_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_agamma_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_adegamma_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_agic_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_aldch_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_alsc_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_aorb_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_acsm_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_awdr_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_adrc_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_asharp_v3_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_amd_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_again_v1_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_aynr_v1_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_aynr_v2_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_acnr_v1_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_arawnr_v1_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_arawnr_v2_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_uvnr_v1_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_mfnr_v1_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_aeis_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/iq_parser_v2:iq_parser_v2_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_aynr_v3_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_acnr_v2_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_abayer2dnr_v2_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_abayertnr_v2_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_again_v2_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_acac_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos:rkaiq_asharp_v4_static //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:librkaiq_camgroup_ae.a //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:librkaiq_camgroup_awb.a //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/algos_camgroup:rkaiq_camgroup_misc_static
  3. Traceback (most recent call last):

  4.     _depfile = check_deps_handler.check(args)
  5.   File "/home/ubuntu/workspace/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/check_deps_handler.py", line 175, in check
  6.     check_part_deps(args, part_pattern, path_parts_info,compile_standard_allow_info, depfiles)
  7.   File "/home/ubuntu/workspace/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/check_deps_handler.py", line 150, in check_part_deps
  8.     raise Exception(message)
  9. Exception: deps validation part_name: 'common', target: '//device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:rkaiq_shared', dep: '//device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:librkaiq_ae.a' failed!!!
  10. [1787/14170] ACTION //device/soc/rockchip/rk3588s/hardware/display:libhigbm_vendor__check(//build/toolchain/ohos:ohos_clang_arm64)

  11. FAILED: obj/device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_3A_server/rkaiq_3A_server__check.txt
  12. /usr/bin/env ../../build/templates/common/check_build_target.py --part-name init --subsystem-name startup --target-path //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_3A_server:rkaiq_3A_server --depfile gen/device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_3A_server/rkaiq_3A_server__check.d --output obj/device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_3A_server/rkaiq_3A_server__check.txt --compile-standard-allow-file  //device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:rkaiq
  13. Traceback (most recent call last):
  14.     _depfile = check_deps_handler.check(args)
  15.   File "/home/ubuntu/workspace/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/check_deps_handler.py", line 175, in check
  16.     check_part_deps(args, part_pattern, path_parts_info,compile_standard_allow_info, depfiles)
  17.   File "/home/ubuntu/workspace/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/check_deps_handler.py", line 150, in check_part_deps
  18.     raise Exception(message)
  19. Exception: deps validation part_name: 'init', target: '//device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_3A_server:rkaiq_3A_server', dep: '//device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux:rkaiq' failed!!!
  20. [1789/14170] ACTION //device/soc/rockchip/rk3588s/hardware/mpp/mpp/hdi_mpp:hdi_mpp__check(//build/toolchain/ohos:ohos_clang_arm64)
复制代码
目前没有ov13850配套的json、ispserver和librkaiq.z.so。

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论4

kuaile

沙发 发表于 2024-10-11 17:23:47

OpenHarmony 4.0 RK3588 ispserver运行失败

image.png

运行流程失败重点关注下/dev/media0 是否存在

kuaile

板凳 发表于 2024-10-11 17:30:25

OpenHarmony 4.0 RK3588 ispserver运行失败

image.png

编译流程:

deps依赖关系:http://gitee.com/hihope-rk3588/camera_engine_rkaiq_linux/blob/master/BUILD.gn

需要读一下代码了解common的规则

kuaile

地板 发表于 2024-10-11 17:42:29
有联系方式吗?咨询一下问题点

yjka

发表于 2024-10-28 20:43  IP属地: 广东省广州市

回复 kuaile: JSON的问题,RK的配置文件和3Aserver是绑定的,不通版本会报错。

【1 条回复】
共4 条回复,点击查看

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部