OpenHarmony开发者论坛
标题:
OpenHarmony 4.0 RK3588 ispserver运行失败
[打印本页]
作者:
yjka
时间:
2024-9-18 22:12
标题:
OpenHarmony 4.0 RK3588 ispserver运行失败
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运行失败日志如下:
# ./vendor/bin/ispserver
rkaiq log level ff0
media get entity by name: stream_cif_dvp_id0 is null
media get entity by name: stream_cif_dvp_id1 is null
media get entity by name: stream_cif_dvp_id2 is null
media get entity by name: stream_cif_dvp_id3 is null
media get entity by name: rkcif-mipi-luma is null
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
media get entity by name: rockchip-mipi-dphy-rx is null
media get entity by name: stream_cif is null
media get entity by name: rkcif-dvp-sof is null
media get entity by name: rkisp-csi-subdev is null
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_rawwr0 is null
media get entity by name: rkisp_rawwr1 is null
media get entity by name: rkisp_rawwr2 is null
media get entity by name: rkisp_rawwr3 is null
media get entity by name: rkisp_dmapath is null
media get entity by name: rkisp-mipi-luma is null
media get entity by name: rockchip-mipi-dphy-rx is null
media get entity by name: rockchip-csi2-dphy0 is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_lite_mipi_lvds is null
media get entity by name: rkcif_mipi_lvds is null
media get entity by name: rkcif_mipi_lvds1 is null
media get entity by name: rkcif_mipi_lvds2 is null
media get entity by name: rkcif_mipi_lvds3 is null
media get entity by name: rkcif_mipi_lvds4 is null
media get entity by name: rkcif_mipi_lvds5 is null
media get entity by name: rkcif-mipi-lvds is null
media get entity by name: rkcif-mipi-lvds1 is null
media get entity by name: rkcif-mipi-lvds3 is null
media get entity by name: rkcif-mipi-lvds4 is null
media get entity by name: rkcif-mipi-lvds5 is null
media get entity by name: rkisp-isp-subdev is null
media get entity by name: rkisp-input-params is null
media get entity by name: rkisp-statistics is null
media get entity by name: rkisp_mainpath is null
Cound not find rkisp dev names, skipped /dev/media0
ERR: Bad media topology for: /dev/media0
DBG: get rkisp-isp-subdev devname: /dev/v4l-subdev3
DBG: get rkisp-input-params devname: /dev/video19
DBG: get rkisp-statistics devname: /dev/video18
DBG: get rkisp_mainpath devname: /dev/video11
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
ERR: rkaiq_get_media_info ok /dev/media1
ERR: Bad media topology for: /dev/media2
ERR: Bad media topology for: /dev/media3
ERR: Bad media topology for: /dev/media4
ERR: Bad media topology for: /dev/media5
ERR: Bad media topology for: /dev/media6
ERR: Bad media topology for: /dev/media7
ERR: Bad media topology for: /dev/media8
ERR: Bad media topology for: /dev/media9
ERR: Bad media topology for: /dev/media10
ERR: Bad media topology for: /dev/media11
ERR: Bad media topology for: /dev/media12
ERR: Bad media topology for: /dev/media13
ERR: Bad media topology for: /dev/media14
ERR: Bad media topology for: /dev/media15
XCORE:E:isp_hw_ver 6
XCORE:E:Should use json instead of xml
XCORE:E:write /tmp/iq_dump.json failed!
XCORE:E:Failed to find params of : scene in json, using default scene
ACCM:E:fail to estimate illuminant!!!
AWB:E:can't find (null) in all CalibParaV21 light sources for lightSourceForFirstFrame
Signal 11
复制代码
2. 下载
https://gitee.com/hihope-rk3588/camera_engine_rkaiq_linux
代码到OpenHarmony系统中编译发生报错:
FAILED: obj/device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_shared__check.txt
/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
Traceback (most recent call last):
_depfile = check_deps_handler.check(args)
File "/home/ubuntu/workspace/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/check_deps_handler.py", line 175, in check
check_part_deps(args, part_pattern, path_parts_info,compile_standard_allow_info, depfiles)
File "/home/ubuntu/workspace/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/check_deps_handler.py", line 150, in check_part_deps
raise Exception(message)
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!!!
[1787/14170] ACTION //device/soc/rockchip/rk3588s/hardware/display:libhigbm_vendor__check(//build/toolchain/ohos:ohos_clang_arm64)
FAILED: obj/device/soc/rockchip/rk3588s/hardware/isp/camera_engine_rkaiq_linux/rkaiq_3A_server/rkaiq_3A_server__check.txt
/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
Traceback (most recent call last):
_depfile = check_deps_handler.check(args)
File "/home/ubuntu/workspace/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/check_deps_handler.py", line 175, in check
check_part_deps(args, part_pattern, path_parts_info,compile_standard_allow_info, depfiles)
File "/home/ubuntu/workspace/OpenHarmony-v4.0-Release/OpenHarmony/build/templates/common/check_deps_handler.py", line 150, in check_part_deps
raise Exception(message)
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!!!
[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。
作者:
kuaile
时间:
2024-10-11 17:23
标题:
OpenHarmony 4.0 RK3588 ispserver运行失败
[md]![image.png](
https://forums-obs.openharmony.c ... zyy4atra8yn8zyr.png
"image.png")
运行流程失败重点关注下/dev/media0 是否存在
[/md]
作者:
kuaile
时间:
2024-10-11 17:30
标题:
OpenHarmony 4.0 RK3588 ispserver运行失败
[md]![image.png](
https://forums-obs.openharmony.c ... rl2uuap0k2ukiky.png
"image.png")
编译流程:
deps依赖关系:
http://gitee.com/hihope-rk3588/c ... lob/master/BUILD.gn
需要读一下代码了解common的规则
[/md]
作者:
kuaile
时间:
2024-10-11 17:42
有联系方式吗?咨询一下问题点
作者:
yjka
时间:
2024-10-28 20:43
回复
kuaile
: JSON的问题,RK的配置文件和3Aserver是绑定的,不通版本会报错。
欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/)
Powered by Discuz! X3.5