固件类型:自行编译的固件
SDK包名称:Firefly-RK3399_Android10.0_git_20211222
SDK修改内容:设备树修改如下
在android10上使用vo13850摄像头:
Log日志:log.zip
- kernel/arch/arm64/boot/dts/rockchip下的设备树配置如下:
2.官网上有个xml文件配置,但是那个似乎是Android7的,和我用的android10对不上,不清楚怎么配置。
3./ # dmesg | grep ov13850
[ 1.258739] ov13850 1-0010: driver version: 00.01.05
[ 1.258786] ov13850 1-0010: Failed to get power-gpios, maybe no use
[ 1.258937] ov13850 1-0010: Linked as a consumer to regulator.12
[ 1.259062] ov13850 1-0010: Linked as a consumer to regulator.13
[ 1.259129] ov13850 1-0010: could not get sleep pinstate
[ 1.264894] ov13850 1-0010: Detected OV00d850 sensor, REVISION 0xb2
[ 1.264952] rockchip-mipi-dphy-rx ff968000.mipi-dphy-tx1rx1: match m01_f_ov13850 1-0010:bus type 4
4.拓扑结构如下:
# media-ctl -d /dev/media1 -p
Opening media device /dev/media1
Enumerating entities
Found 8 entities
Enumerating pads and links
Media controller API version 0.0.193
Media device information
driver rkisp1
model rkisp1
serial
bus info
hw revision 0x0
driver version 0.0.193
Device topology
-
entity 1: rkisp1-isp-subdev (4 pads, 6 links)
type V4L2 subdev subtype Unknown
device node name /dev/v4l-subdev3
pad0: Sink
[fmt:SBGGR10/2112x1568
crop.bounds:(0,0)/2112x1568
crop:(0,0)/2112x1568]
← “rkisp1_dmapath”:0
← “rockchip-mipi-dphy-rx”:1 [ENABLED]
pad1: Sink
← “rkisp1-input-params”:0 [ENABLED]
pad2: Source
[fmt:YUYV2X8/2112x1568
crop.bounds:(0,0)/2112x1568
crop:(0,0)/2112x1568]
→ “rkisp1_selfpath”:0 [ENABLED]
→ “rkisp1_mainpath”:0 [ENABLED]
pad3: Source
→ “rkisp1-statistics”:0 [ENABLED] -
entity 6: rkisp1_mainpath (1 pad, 1 link)
type Node subtype V4L
device node name /dev/video5
pad0: Sink
← “rkisp1-isp-subdev”:2 [ENABLED] -
entity 10: rkisp1_selfpath (1 pad, 1 link)
type Node subtype V4L
device node name /dev/video6
pad0: Sink
← “rkisp1-isp-subdev”:2 [ENABLED] -
entity 14: rkisp1_dmapath (1 pad, 1 link)
type Node subtype V4L
device node name /dev/video7
pad0: Source
→ “rkisp1-isp-subdev”:0 -
entity 20: rkisp1-statistics (1 pad, 1 link)
type Node subtype V4L
device node name /dev/video8
pad0: Sink
← “rkisp1-isp-subdev”:3 [ENABLED] -
entity 24: rkisp1-input-params (1 pad, 1 link)
type Node subtype V4L
device node name /dev/video9
pad0: Source
→ “rkisp1-isp-subdev”:1 [ENABLED] -
entity 28: rockchip-mipi-dphy-rx (2 pads, 2 links)
type V4L2 subdev subtype Unknown
device node name /dev/v4l-subdev4
pad0: Sink
[fmt:SBGGR10/2112x1568]
← “m01_f_ov13850 1-0010”:0 [ENABLED]
pad1: Source
[fmt:SBGGR10/2112x1568]
→ “rkisp1-isp-subdev”:0 [ENABLED] -
entity 31: m01_f_ov13850 1-0010 (1 pad, 1 link)
type V4L2 subdev subtype Sensor
device node name /dev/v4l-subdev5
pad0: Source
[fmt:SBGGR10/2112x1568]
→ “rockchip-mipi-dphy-rx”:0 [ENABLED]
# 执行抓图命令:
v4l2-ctl -d /dev/video5 --set-selection=target=crop,top=0,left=0,width=2112,height=1568 --set-fmt-video=width=2112,height=1568,pixelformat=YUYV --stream-mmap=3 --stream-to=/data/out.yuv --stream-count=10 --stream-poll --verbose
请指导一下这是什么问题,如果有xml文件需要配置应该在什么地方配置。
以及这个抓图怎么抓?
tchip_askquestions
log.zip (1.11 KB)





