|
发表于 2021-6-23 09:52:42
只看该作者
5#
rkmedia_vi_get_frame_test获取失败了:
[root@RV1126_RV1109:/]# rkmedia_vi_get_frame_test -a /oem/etc/iqfiles/ -w 1280
-h 720 -d rkispp_scale0 -o /tmp/720p.nv12 -c 10
media get entity by name: rkcif-lvds-subdev is null
media get entity by name: rkcif-lite-lvds-subdev is null
[09:48:13.096213][CAMHW]:XCAM ERROR CamHwIsp20.cpp:160: @get_sensor_caps /dev/v4l-subdev4: Enum sensor frame interval failed
media get entity by name: rkisp-mpfbc-subdev is null
media get entity by name: rkisp_dmapath is null
[09:48:13.115857][CAMHW]:XCAM ERROR CamHwIsp20.cpp:160: @get_sensor_caps /dev/v4l-subdev8: 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
[09:48:13.141325][CAMHW]:XCAM ERROR CamHwIsp20.cpp:928: No free isp&ispp needed by fake camera!
Rga built version:1.04 f4678e1+2021-05-28 12:14:23
#####Device: rkispp_scale0
#####Resolution: 1280x720
#####Frame Count to save: 10
#####Output Path: /tmp/720p.nv12
#CameraIdx: 0
#####Aiq xml dirpath: /oem/etc/iqfiles/
#bMultictx: 0
ID: 0, sensor_name is m00_f_rn6854 1-002d, iqfiles is /oem/etc/iqfiles/
[09:48:13.242692][XCORE]:XCAM ERROR RkAiqCalibDb.cpp:163: calibdb /oem/etc/iqfiles//rn6854_rn6854_rn6854.xml and bin are all not exist!
[09:48:13.250947][XCORE]:XCAM ERROR rk_aiq_user_api_sysctl.cpp:206: _rkAiqManager init error!
[09:48:13.259215][CAMHW]:XCAM ERROR CamHwIsp20.cpp:1152: can't find sensor
[09:48:13.265867][XCORE]:XCAM ERROR RkAiqManager.cpp:382: camhw deinit error -7
[ 1099.493725] pgd = c630213a
[ 1099.493760] [00000000] *pgd=22a78835, *pte=00000000, *ppte=00000000
[ 1099.493778] CPU: 3 PID: 2804 Comm: rkmedia_vi_get_ Not tainted 4.19.111+ #71
[ 1099.493785] Hardware name: Generic DT based system
[ 1099.493796] PC is at 0xa4c42644
[ 1099.493802] LR is at 0xa4f39fe8
[ 1099.493809] pc : [<a4c42644>] lr : [<a4f39fe8>] psr: 60070010
[ 1099.493815] sp : aee987f8 ip : a4c4263c fp : 00034dd4
[ 1099.493822] r10: 00034ddc r9 : aee988e0 r8 : aee98860
[ 1099.493829] r7 : 00034ddc r6 : 00034dd4 r5 : aee98810 r4 : 00000000
[ 1099.493836] r3 : a6fbc900 r2 : 00000000 r1 : 00000000 r0 : 00000000
[ 1099.493881] Flags: nZCv IRQs on FIQs on Mode USER_32 ISA ARM Segment user
[ 1099.493891] Control: 10c5387d Table: 3625c06a DAC: 00000055
[ 1099.493902] CPU: 3 PID: 2804 Comm: rkmedia_vi_get_ Not tainted 4.19.111+ #71
[ 1099.493911] Hardware name: Generic DT based system
[ 1099.493937] [<b010f408>] (unwind_backtrace) from [<b010b96c>] (show_stack+0x10/0x14)
[ 1099.493953] [<b010b96c>] (show_stack) from [<Segmentation fault (cobre d0umped)
8c[root@RV1126_RV1109:/]# 53c4>] (dump_stack+0x90/0xa4)
[ 1099.493971] [<b08c53c4>] (dump_stack) from [<b011373c>] (__do_user_fault+0x130/0x134)
[ 1099.493986] [<b011373c>] (__do_user_fault) from [<b0113980>] (do_page_fault+0x240/0x348)
[ 1099.494002] [<b0113980>] (do_page_fault) from [<b0113c18>] (do_DataAbort+0x4c/0xec)
[ 1099.494017] [<b0113c18>] (do_DataAbort) from [<b0101d7c>] (__dabt_usr+0x3c/0x40)
[ 1099.494027] Exception stack(0xe8ff7fb0 to 0xe8ff7ff8)
[ 1099.494039] 7fa0: 00000000 00000000 00000000 a6fbc900
[ 1099.494051] 7fc0: 00000000 aee98810 00034dd4 00034ddc aee98860 aee988e0 00034ddc 00034dd4
[ 1099.494060] 7fe0: a4c4263c aee987f8 a4f39fe8 a4c42644 60070010 ffffffff
[root@RV1126_RV1109:/]#
****************************************************************
驱动是根据指南Rockchip_Instruction_Linux_DVR_DMS_CN.pdf开发的,用的是双MIPI方案,VICAP+ISP方案。
****************************************************************
media-ctl -p -d /dev/media获取完整的设备节点:
[root@RV1126_RV1109:/]# media-ctl -p -d /dev/media0
Media controller API version 4.19.111
Media device information
------------------------
driver rkcif
model rkcif_mipi_lvds
serial
bus info
hw revision 0x0
driver version 4.19.111
Device topology
- entity 1: stream_cif_mipi_id0 (1 pad, 4 links)
type Node subtype V4L flags 0
device node name /dev/video0
pad0: Sink
<- "rockchip-mipi-csi2":1 [ENABLED]
<- "rockchip-mipi-csi2":2 []
<- "rockchip-mipi-csi2":3 []
<- "rockchip-mipi-csi2":4 []
- entity 5: stream_cif_mipi_id1 (1 pad, 4 links)
type Node subtype V4L flags 0
device node name /dev/video1
pad0: Sink
<- "rockchip-mipi-csi2":1 []
<- "rockchip-mipi-csi2":2 [ENABLED]
<- "rockchip-mipi-csi2":3 []
<- "rockchip-mipi-csi2":4 []
- entity 9: stream_cif_mipi_id2 (1 pad, 4 links)
type Node subtype V4L flags 0
device node name /dev/video2
pad0: Sink
<- "rockchip-mipi-csi2":1 []
<- "rockchip-mipi-csi2":2 []
<- "rockchip-mipi-csi2":3 [ENABLED]
<- "rockchip-mipi-csi2":4 []
- entity 13: stream_cif_mipi_id3 (1 pad, 4 links)
type Node subtype V4L flags 0
device node name /dev/video3
pad0: Sink
<- "rockchip-mipi-csi2":1 []
<- "rockchip-mipi-csi2":2 []
<- "rockchip-mipi-csi2":3 []
<- "rockchip-mipi-csi2":4 [ENABLED]
- entity 17: rockchip-mipi-csi2 (5 pads, 17 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev2
pad0: Sink
[fmt:UYVY8_2X8/1280x720 field:none
crop.bounds:(0,0)/1280x720
crop:(0,0)/1280x720]
<- "rockchip-mipi-dphy-rx":1 [ENABLED]
pad1: Source
[fmt:UYVY8_2X8/1280x720 field:none
crop.bounds:(0,0)/1280x720
crop:(0,0)/1280x720]
-> "stream_cif_mipi_id0":0 [ENABLED]
-> "stream_cif_mipi_id1":0 []
-> "stream_cif_mipi_id2":0 []
-> "stream_cif_mipi_id3":0 []
pad2: Source
[fmt:UYVY8_2X8/1280x720 field:none
crop.bounds:(0,0)/1280x720
crop:(0,0)/1280x720]
-> "stream_cif_mipi_id0":0 []
-> "stream_cif_mipi_id1":0 [ENABLED]
-> "stream_cif_mipi_id2":0 []
-> "stream_cif_mipi_id3":0 []
pad3: Source
[fmt:UYVY8_2X8/1280x720 field:none
crop.bounds:(0,0)/1280x720
crop:(0,0)/1280x720]
-> "stream_cif_mipi_id0":0 []
-> "stream_cif_mipi_id1":0 []
-> "stream_cif_mipi_id2":0 [ENABLED]
-> "stream_cif_mipi_id3":0 []
pad4: Source
[fmt:UYVY8_2X8/1280x720 field:none
crop.bounds:(0,0)/1280x720
crop:(0,0)/1280x720]
-> "stream_cif_mipi_id0":0 []
-> "stream_cif_mipi_id1":0 []
-> "stream_cif_mipi_id2":0 []
-> "stream_cif_mipi_id3":0 [ENABLED]
- entity 23: rockchip-mipi-dphy-rx (2 pads, 2 links)
type V4L2 subdev subtype Unknown flags 0
device node name /dev/v4l-subdev3
pad0: Sink
[fmt:UYVY8_2X8/1280x720 field:none]
<- "m01_b_rn6854 1-002c":0 [ENABLED]
pad1: Source
[fmt:UYVY8_2X8/1280x720 field:none]
-> "rockchip-mipi-csi2":0 [ENABLED]
- entity 28: rkcif-mipi-luma (0 pad, 0 link)
type Node subtype V4L flags 0
device node name /dev/video4
- entity 31: m01_b_rn6854 1-002c (1 pad, 1 link)
type V4L2 subdev subtype Sensor flags 0
device node name /dev/v4l-subdev4
pad0: Source
[fmt:UYVY8_2X8/1280x720 field:none]
-> "rockchip-mipi-dphy-rx":0 [ENABLED]
[root@RV1126_RV1109:/]#
|
|