您尚未登录。

楼主 #1 2019-08-01 13:12:14

学习
会员
注册时间: 2019-07-08
已发帖子: 26
积分: 26

荔枝派zero开发板 使用的是BSP Linux 配置dvp的ov2640

系统已经按照教程 http://zero.lichee.pro/%E7%B3%BB%E7%BB%9F%E5%BC%80%E5%8F%91/bsp_cam.html#bsp 配置了,但是上电没注册,
尝试修改了几次sys_config.fex 文件都不能注册到设备,恳求有相关经验的大佬指点一下!
下面是启动信息

[    6.097238] [VFE]cci probe start cci_sel = 0!
[    6.102251] [VFE]cci probe end cci_sel = 0!
[    6.107151] [VFE]cci_init end
[    6.110592] [VFE]Welcome to Video Front End driver
[    6.116272] [VFE]pdev->id = 0
[    6.119799] [VFE]dev->mipi_sel = 0
[    6.123716] [VFE]dev->vip_sel = 0
[    6.127511] [VFE]dev->isp_sel = 0
[    6.137532] [VFE_WARN]vfe vpu clock is null
[    6.148936] [VFE]vfe_init end
[    6.152417] [VFE]probe_work_handle start!
[    6.157100] [VFE]..........................vfe clk open!.......................
[    6.166271] platform reg-20-cs-dcdc2: Driver reg-20-cs-dcdc2 requests probe deferral
[    6.175285] platform reg-20-cs-dcdc3: Driver reg-20-cs-dcdc3 requests probe deferral
[    6.184440] [VFE]v4l2 subdev register input_num = 0
[    6.189975] [VFE_ERR]get regulator csi_avdd error!
[    6.195421] [VFE_ERR]vfe_device_regulator_get error at input_num = 0
[    6.202848] platform reg-20-cs-ldo1: Driver reg-20-cs-ldo1 requests probe deferral
[    6.211612] platform reg-20-cs-ldo2: Driver reg-20-cs-ldo2 requests probe deferral
[    6.220377] [VFE]V4L2 device registered as video0
[    6.225868] [VFE]..........................vfe clk close!.......................
[    6.234378] platform reg-20-cs-ldo3: Driver reg-20-cs-ldo3 requests probe deferral
[    6.243053] [VFE]probe_work_handle end!

我尝试修改的fex文件的内容

[csi1]
vip_used                 = 1
vip_mode                 = 0
vip_dev_qty              = 1
vip_define_sensor_list   = 0
vip_csi_pck              = port:PE00<2><default><default><default>
vip_csi_mck              = port:PE01<2><default><default><default>
vip_csi_hsync            = port:PE02<2><default><default><default>
vip_csi_vsync            = port:PE03<2><default><default><default>
vip_csi_d0               = port:PE04<2><default><default><default>
vip_csi_d1               = port:PE05<2><default><default><default>
vip_csi_d2               = port:PE06<2><default><default><default>
vip_csi_d3               = port:PE07<2><default><default><default>
vip_csi_d4               = port:PE08<2><default><default><default>
vip_csi_d5               = port:PE09<2><default><default><default>
vip_csi_d6               = port:PE10<2><default><default><default>
vip_csi_d7               = port:PE11<2><default><default><default>
vip_csi_d8               = port:PE12<2><default><default><default>
;vip_csi_d9               = port:PE13<2><default><default><default>
vip_csi_d10               = port:PE14<2><default><default><default>
vip_csi_d11               = port:PE15<2><default><default><default>

vip_csi_sck               = port:PE21<2><default><default><default>
vip_csi_sda               = port:PE22<2><default><default><default>

vip_dev0_mname           = "ov2640"
vip_dev0_pos             = "front"
vip_dev0_twi_id          = 1
vip_dev0_twi_addr        = 0x60
vip_dev0_isp_used        = 0
vip_dev0_fmt             = 0
vip_dev0_stby_mode       = 0
vip_dev0_vflip           = 0
vip_dev0_hflip           = 0
vip_dev0_iovdd           = ""
vip_dev0_iovdd_vol       = 2800000
vip_dev0_avdd            = ""
vip_dev0_avdd_vol        = 2800000
vip_dev0_dvdd            = ""
vip_dev0_dvdd_vol        = 1500000
vip_dev0_afvdd           = ""
vip_dev0_afvdd_vol       = 2800000
vip_dev0_power_en        =
vip_dev0_reset           = 
vip_dev0_pwdn            = 
vip_dev0_flash_en        =
vip_dev0_flash_mode      =
vip_dev0_af_pwdn         =

vip_dev0_act_used        = 0
vip_dev0_act_name        = "ad5820_act"
vip_dev0_act_slave       = 0x18

vip_dev1_mname           = "gc2035"
vip_dev1_pos                 = "front"
vip_dev1_lane            = 1
vip_dev1_twi_id          = 4
vip_dev1_twi_addr        = 0x78
vip_dev1_isp_used        = 0
vip_dev1_fmt             = 1
vip_dev1_stby_mode       = 0
vip_dev1_vflip           = 0
vip_dev1_hflip           = 0
vip_dev1_iovdd           = ""
vip_dev1_iovdd_vol       = 2800000
vip_dev1_avdd            = ""
vip_dev1_avdd_vol        = 2800000
vip_dev1_dvdd            = ""
vip_dev1_dvdd_vol        = 1500000
vip_dev1_afvdd           = ""
vip_dev1_afvdd_vol       = 2800000
vip_dev1_power_en        =
vip_dev1_reset           =
vip_dev1_pwdn            =
vip_dev1_flash_en        =
vip_dev1_flash_mode      =
vip_dev1_af_pwdn         =

离线

楼主 #3 2019-08-01 16:48:28

学习
会员
注册时间: 2019-07-08
已发帖子: 26
积分: 26

Re: 荔枝派zero开发板 使用的是BSP Linux 配置dvp的ov2640

太一酱鸭 说:

我也遇到相同的问题,请问您解决了吗

没有呀,教程里没有说怎么配FEX文件,我也是今天才调到这里的,然后就卡着了,所有才上论坛问的 0 0

离线

楼主 #38 2019-09-21 11:26:48

学习
会员
注册时间: 2019-07-08
已发帖子: 26
积分: 26

Re: 荔枝派zero开发板 使用的是BSP Linux 配置dvp的ov2640

谢谢各位大佬,因为之前调不出来就换了mipi接口的摄像头,后来就没有再去弄v3s了,特别感谢版主大人,特意联系我,告诉我有人解决了

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn