Firefly开源社区

标题: rkmedia_vi_vo_test 段错误 [打印本页]

作者: 泡芙    时间: 2023-11-21 18:43
标题: rkmedia_vi_vo_test 段错误
将摄像头相关驱动编译为ko,系统启动后手动加载,重新加载摄像头相关的驱动后,使用rkmedia抓图时,段错误
[root@RV1126_RV1109:/]# rkmedia_zcy_test -a /etc/iqfiles -w 400 -h 400
media get entity by name: stream_cif_mipi_id0 is null
media get entity by name: stream_cif_mipi_id1 is null
media get entity by name: stream_cif_mipi_id2 is null
media get entity by name: stream_cif_mipi_id3 is null
media get entity by name: rockchip-mipi-csi2 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: 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
media get entity by name: rkcif_dvp is null
media get entity by name: rkcif_mipi_lvds 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
[10:06:28.388133][CAMHW]:XCAM ERROR CamHwIsp20.cpp:973: get isp or ispp info fail, something gos wrong!
register factory : rkmpp
register factory : rkmpp
register factory : live555_rtsp_server
register factory : video_enc
register factory : audio_enc
register factory : video_dec
register factory : file_read_flow
register factory : file_write_flow
register factory : filter
register factory : link_flow
register factory : source_stream
register factory : muxer_flow
register factory : audio_dec
register factory : output_stream
register factory : move_detec
register factory : occlusion_detec
register factory : file_write_stream
register factory : file_read_stream
register factory : alsa_playback_stream
register factory : alsa_capture_stream
register factory : v4l2_capture_stream
register factory : v4l2_output_stream
register factory : drm_output_stream
rga_api version 1.3.0_[11] (RGA is compiling with meson base: $PRODUCT_BASE)
register factory : rkrga
register factory : through_guard
register factory : ANR
register factory : AEC
register factory : rockx_filter
register factory : nn_result_input
register factory : draw_filter
register factory : rknn
register factory : face_capture
register factory : rockface_detect
register factory : rockface_evaluate
register factory : rockface_bodydetect
register factory : rockface_recognize
register factory : rkaudio
register factory : rkaudio_aud
register factory : rkaudio_vid
register factory : rkaudio_aud
register factory : rkaudio_vid
register factory : rkaudio_resample
register factory : rkaudio_audio_fifo
#Device2222: rkispp_scale0
#CodecName:H264
#Resolution: 400x400
#CameraIdx: 0

#bMultictx: 0

#Aiq xml dirpath: /etc/iqfiles

ID: 0, sensor_name is m00_b_ov426 5-0036, iqfiles is /etc/iqfiles
[10:06:28.530019][XCORE]:XCAM ERROR RkAiqCalibTag.cpp:6920: calib_check_getID_by_name(6920): subtag: focusInfPosition from parent tag: zoomfocus_tbl is unknown, assert!!!

[10:06:28.530965][XCORE]:XCAM ERROR RkAiqCalibTag.cpp:6998: calib_check_tag_attrs(6998): parent_tag_id:439 tag_id:1201 --- tag id is is wrong: min:0 max:1201

[10:06:28.532147][XCORE]:XCAM ERROR RkAiqCalibTag.cpp:7044: calib_check_tag_attrs(7044): parent_tag_id:439 parent_tag_name:zoomfocus_tbl  tag_id:1201 tag_name:unknown --- ASSERT!!!

[10:06:28.533536][XCORE]:XCAM ERROR RkAiqCalibTag.cpp:7188: calib_check_tag_mark(7188): parent_tag_id:439 tag_id:1201 --- tag_id is wrong:  min:0 max:1201

[10:06:28.534718][XCORE]:XCAM ERROR RkAiqCalibTag.cpp:6920: calib_check_getID_by_name(6920): subtag: focusMacroPosition from parent tag: zoomfocus_tbl is unknown, assert!!!

[10:06:28.536074][XCORE]:XCAM ERROR RkAiqCalibTag.cpp:6998: calib_check_tag_attrs(6998): parent_tag_id:439 tag_id:1201 --- tag id is is wrong: min:0 max:1201

[10:06:28.537265][XCORE]:XCAM ERROR RkAiqCalibTag.cpp:7044: calib_check_tag_attrs(7044): parent_tag_id:439 parent_tag_name:zoomfocus_tbl  tag_id:1201 tag_name:unknown --- ASSERT!!!

[10:06:28.538625][XCORE]:XCAM ERROR RkAiqCalibTag.cpp:7188: calib_check_tag_mark(7188): parent_tag_id:439 tag_id:1201 --- tag_id is wrong:  min:0 max:1201

[ 3988.671997] pgd = d57c4a63
[ 3988.672025] [00000043] *pgd=2db73835, *pte=00000000, *ppte=00000000
[ 3988.672043] CPU: 3 PID: 1889 Comm: rkmedia_zcy_tes Tainted: G           O      4.19.111 #14
[ 3988.672049] Hardware name: Generic DT based system
[ 3988.672061] PC is at 0xa343e8ec
[ 3988.672072] LR is at 0xa343e629
[ 3988.672081] pc : [<a343e8ec>]    lr : [<a343e629>]    psr: 800f0030
[ 3988.672091] sp : aee3b5ac  ip : a3734158  fp : 0004ce5c
[ 3988.672101] r10: 00043728  r9 : 0022ca70  r8 : aee3b620
[ 3988.672110] r7 : aee3b668  r6 : 00000043  r5 : 00000043  r4 : 001ec4c8
[ 3988.672120] r3 : c0000000  r2 : 000025b0  r1 : 00001043  r0 : 00000043
[ 3988.672130] Flags: Nzcv  IRQs on  FIQs on  Mode USER_32  ISA Thumb  Segment user
[ 3988.672140] Control: 10c5387d  Table: 2904806a  DAC: 00000055
[ 3988.672149]
[ 3988.672149] R3: 0xbfffff80:
[ 3988.672158] ff80  ffffffff fbffffff ffbfffff fffff7ef fffbffef ffffffff ffdfffff ffffffff
[ 3988.672176] ffa0  ffffffff ffffeff7 fffbfffd ffffffff fffffff6 fffffffb fdffffff ffffff5f
[ 3988.672192] ffc0  ffffffff ffffffff 7ffffdff ff7fefbf ffffbfff bfffeeaf ffffffff ffffffff
[ 3988.672208] ffe0  ffffffff ffffffff ffffffff fffffeff ffffbfef ffffffff fffff7ff ffffffff
[ 3988.672225] 0000  10000000 ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff
[ 3988.672241] 0020  ffffffff ffffffff fffffb7f fffffdff ffffffdf ffffffbf ffffffff ffffffff
[ 3988.672258] 0040  ffffffff ffffffff ffffffff ffffffff ffffffbf ff7fffff ffffffff ffffffff
[ 3988.672272] 0060  ffffffff ffffffff ffffffde fffffeef ffffffff ffffffde ffffffff ffffffff
[ 3988.672293] CPU: 3 PID: 1889 Comm: rkmedia_zcy_tes Tainted: G           O      4.19.111 #14
[ 3988.672302] Hardware name: Generic DT based system
[ 3988.672326] [<b010f408>] (unwind_backtrace) from [<b010b96c>] (show_stack+0x10/0x14)
[ 3988.672343] [<b010b96c>] (show_stack) from [<b0832384>] (dump_stack+0x90/0xa4)
[ 3988.672359] [<b0832384>] (dump_stack) from [<b011373c>] (__do_user_fault+0x130/0x134)
[ 3988.672376] [<b011373c>] (__do_user_fault) from [<b0113980>] (do_page_fault+0x240/0x348)
[ 3988.672392] [<b0113980>] (do_page_fault) from [<b0113c18>] (do_DataAbort+0x4c/0xec)
[ 3988.672406] [<b0113c18>] (do_DataAbort) from [<b0101d7c>] (__dabt_usr+0x3c/0x40)
[ 3988.672417] Exception stack(0xdb64bfb0 to 0xdb64bff8)
[ 3988.672428] bfa0:                                     00000043 00001043 000025b0 c0000000
[ 3988.672441] bfc0: 001ec4c8 00000043 00000043 aee3b668 aee3b620 0022ca70 00043728 0004ce5c
[ 3988.672452] bfe0: a3734158 aee3b5ac a343e629 a343e8ec 800f0030 ffffffff
Segmentation fault (core dumped)
[root@RV1126_RV1109:/]#


tchip_askquestions

调试记录.zip

1.43 MB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1






欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1