|
I think the trick is related with proper settings of CSI sections in script.bin
I have changed only name of the camera form gc2035 to ov5640 and dmesg says somthing different than before :
[ 277.578918] [VFE]cci probe start cci_sel = 0!
[ 277.579014] [VFE]cci probe end cci_sel = 0!
[ 277.579312] [VFE]cci_init end
[ 299.283949] [VFE]Welcome to Video Front End driver
[ 299.284292] [VFE]pdev->id = 0
[ 299.284304] [VFE]dev->mipi_sel = 0
[ 299.284311] [VFE]dev->vip_sel = 0
[ 299.284318] [VFE]dev->isp_sel = 0
[ 299.290142] [VFE_WARN]vfe vpu clock is null
[ 299.298183] [VFE]..........................vfe clk open!.......................
[ 299.298217] [ISP] isp platform_id = 5!
[ 299.298378] [VFE]vfe_init end
[ 299.300075] [VFE]probe_work_handle start!
[ 299.300098] [VFE]v4l2 subdev register input_num = 0
[ 299.300109] [VFE]vfe sensor detect start! input_num = 0
[ 299.300123] [VFE]Find sensor name is "ov5640", i2c address is 78, type is "YUV" !
[ 299.300135] [VFE]Sub device register "ov5640" i2c_addr = 0x78 start!
[ 299.300149] [VFE]v4l2_device_register_subdev return 0
[ 299.300158] [VFE]registered sensor subdev is OK!
[ 299.300165] [VFE]Check sensor!
[ 299.313469] [VFE]mclk on
[ 299.380417] [VFE CCI_0 ERR] Status error at addr_8bit = 78, wr_flag = 1
[ 299.380699] [VFE CCI_0 ERR] Status error at addr_8bit = 78, wr_flag = 1
[ 299.380968] [VFE CCI_0 ERR] Status error at addr_8bit = 78, wr_flag = 1
[ 299.380983] [OV5640]error at sensor_detect
[ 299.380991] [OV5640]chip found is not an target chip.
[ 299.381002] [VFE]mclk off
[ 299.417317] [VFE]vfe sensor subdev unregister!
[ 299.417341] [VFE]Sub device register "ov5640" failed!
[ 299.417351] [VFE_ERR]vfe sensor register check error at input_num = 0
[ 299.424816] [VFE]V4L2 device registered as video0
[ 299.424847] [VFE]..........................vfe clk close!.......................
[ 299.424871] [VFE]probe_work_handle end!
[ 299.430795] [VFE]vfe_open
[ 299.430815] [VFE]..........................vfe clk open!.......................
[ 299.430850] [VFE]vfe_open ok
[ 299.431044] [VFE]vfe_close
[ 299.431056] [VFE]vfe select input flag = 0, s_input have not be used .
[ 299.431075] [VFE]..........................vfe clk close!.......................
[ 299.431110] [VFE]vfe_close end
Me and my friend will try to figure it out what to change in script.fex.
Superb, when you get the sensor we can work together to fix all issues
|
|