摄像头OV8858的log,大家帮助分析下为什么打不开?谢谢。
shell@rk3288:/ $ [ 49.983600] D1:camsys_mipiphy_clkin_cb(29): camsys_marvin mipi phy clk in turn on
[ 49.983639] D1:camsys_mipiphy_clkin_cb(29): camsys_marvin mipi phy clk in turn on
[ 49.983656] D1:camsys_open(739): camsys_marvin(c599d810) is opened!
[ 49.983816] D1:camsys_extdev_register(243): Get RK30_PIN2_PB6(78) gpio(active: 0) for dev_id 0x2000000 success!
[ 49.983842] D1:camsys_extdev_register(243): Get RK30_PIN0_PC1(17) gpio(active: 1) for dev_id 0x2000000 success!
[ 49.983905] rockchip_gpio_set:GPIO7-13 level = 1
[ 49.983917] rockchip_gpio_direction_output:set GPIO7-13 level 1
[ 49.983934] rk32_iomux_bit_op:GPIO7-13,reg=0x70,data=0xc000000,result=0x0
[ 49.983951] rockchip_pmx_gpio_set_direction:gpio_direction for pin 237 as gpio7-13 to output,data=0x2034,result=0x2034
[ 49.983966] D1:camsys_mrv_iomux_cb(90): marvin pinctrl select: isp_mipi_fl
[ 49.983991] D1:camsys_extdev_register(268): Extdev(dev_id: 0x2000000dev_name: OV8858) register success
[ 49.989084] D1:camsys_mrv_clkin_cb(344): camsys_marvin clock(f: 210000000 Hz) in turn on
[ 49.989104] D1:camsys_rk3288_cfg(49): Isp_SoftRst: 1
[ 49.989215] D1:camsys_rk3288_cfg(49): Isp_SoftRst: 0
[ 49.989260] D1:camsys_mrv_clkout_cb(379): camsys_marvin clock out(rate: 24000000Hz) turn on
[ 49.990348] D1:camsys_sysctl_extdev(349): Sysctl 11 success, gpio(17) set 1
[ 49.991421] E:camsys_sysctl_extdev(356): Sysctl 8 failed, because gpio is NULL!
[ 49.992519] D1:camsys_sysctl_extdev(353): Sysctl 7 success, gpio(78) set 1
[ 49.995874] E:camsys_i2c_write(78): i2c write dev(addr:0x6c) failed!
[ 49.997221] E:camsys_i2c_write(78): i2c write dev(addr:0x20) failed!
[ 49.997353] D1:camsys_sysctl_extdev(349): Sysctl 7 success, gpio(78) set 0
[ 49.997372] E:camsys_sysctl_extdev(356): Sysctl 8 failed, because gpio is NULL!
[ 49.997395] D1:camsys_sysctl_extdev(353): Sysctl 11 success, gpio(17) set 0
[ 49.998514] D1:camsys_mrv_clkin_cb(361): camsys_marvin clock in turn off
[ 49.998567] D1:camsys_mrv_clkout_cb(391): camsys_marvin clock out turn off
[ 50.000645] D1:camsys_extdev_deregister(331): Extdev(dev_id: 0x2000000) is deregister success
[ 50.000671] D1:camsys_irq_disconnect(664): All thread disconnect camsys_marvin irq success!
[ 50.000688] D1:camsys_mipiphy_clkin_cb(31): camsys_marvin mipi phy clk in turn off
[ 50.000702] D1:camsys_mipiphy_clkin_cb(31): camsys_marvin mipi phy clk in turn off
[ 50.000716] D1:camsys_release(763): camsys_marvin(c599d810) is closed
[ 50.006909] D1:camsys_mipiphy_clkin_cb(29): camsys_marvin mipi phy clk in turn on
[ 50.006931] D1:camsys_mipiphy_clkin_cb(29): camsys_marvin mipi phy clk in turn on
[ 50.006947] D1:camsys_open(739): camsys_marvin(c599d810) is opened!
[ 50.007101] E:camsys_extdev_register(208): Get NC鞣 regulator for dev_id 0x2000000 failed!
[ 50.007138] D1:camsys_irq_disconnect(664): All thread disconnect camsys_marvin irq success!
[ 50.007156] D1:camsys_mipiphy_clkin_cb(31): camsys_marvin mipi phy clk in turn off
[ 50.007170] D1:camsys_mipiphy_clkin_cb(31): camsys_marvin mipi phy clk in turn off
[ 50.007184] D1:camsys_release(763): camsys_marvin(c599d810) is closed
<?xml version="1.0" ?>
<BoardFile>
<BoardXmlVersion version="v0.0xd.0">
</BoardXmlVersion>
<CamDevie>
<HardWareInfo>
<Sensor>
<SensorName name="OV8858" ></SensorName>
` <SensorLens name="LG-9569A2"></SensorLens>
<SensorDevID IDname="CAMSYS_DEVID_SENSOR_1B"></SensorDevID>
<SensorHostDevID busnum="CAMSYS_DEVID_MARVIN" ></SensorHostDevID>
<SensorI2cBusNum busnum="3"></SensorI2cBusNum>
<SensorI2cAddrByte byte="2"></SensorI2cAddrByte>
<SensorI2cRate rate="100000"></SensorI2cRate>
<SensorMclk mclk="24000000"></SensorMclk>
<SensorAvdd name="NC" min="0" max="0"></SensorAvdd>
<SensorDovdd name="NC" min="18000000" max="18000000"></SensorDovdd>
<SensorDvdd name="NC" min="0" max="0"></SensorDvdd>
<SensorGpioPwdn ioname="RK30_PIN2_PB6" active="0"></SensorGpioPwdn>
<SensorGpioRst ioname="NC" active="0"></SensorGpioRst>
<SensorGpioPwen ioname="RK30_PIN0_PC1" active="1"></SensorGpioPwen>
<SensorFacing facing="back"></SensorFacing>
<SensorInterface interface="MIPI"></SensorInterface>
<SensorMirrorFlip mirror="0"></SensorMirrorFlip>
<SensorOrientation orientation="0"></SensorOrientation>
<SensorPowerupSequence seq="1234"></SensorPowerupSequence>
<SensorFovParemeter h="60.0" v="60.0"></SensorFovParemeter>
<SensorAWB_Frame_Skip fps="15"></SensorAWB_Frame_Skip>
<SensorPhy phyMode="CamSys_Phy_Mipi" lane="2"phyIndex="1" sensorFmt="CamSys_Fmt_Raw_10b"></SensorPhy>
</Sensor>
<VCM>
<VCMDrvName name="BuiltInSensor"></VCMDrvName>
<VCMName name="NC"></VCMName>
<VCMI2cBusNum busnum="3"></VCMI2cBusNum>
<VCMI2cAddrByte byte="0"></VCMI2cAddrByte>
<VCMI2cRate rate="0"></VCMI2cRate>
<VCMVdd name="NC" min="0" max="0"></VCMVdd>
<VCMGpioPwdn ioname="NC" active="0"></VCMGpioPwdn>
<VCMGpioPower ioname="NC" active="0"></VCMGpioPower>
<VCMCurrent start="0" rated="100" vcmmax="100" stepmode="4"drivermax="100"></VCMCurrent>
</VCM>
<Flash>
<FlashName name="Internal"></FlashName>
<FlashI2cBusNum busnum="0"></FlashI2cBusNum>
<FlashI2cAddrByte byte="0"></FlashI2cAddrByte>
<FlashI2cRate rate="0"></FlashI2cRate>
<FlashTrigger ioname="NC" active="0"></FlashTrigger>
<FlashEn ioname="NC" active="0"></FlashEn>
<FlashModeType mode="1"></FlashModeType>
<FlashLuminance luminance="0"></FlashLuminance>
<FlashColorTemp colortemp="0"></FlashColorTemp>
</Flash>
</HardWareInfo>
<SoftWareInfo>
<AWB>
<AWB_Auto support="1"></AWB_Auto>
<AWB_Incandescent support="1"></AWB_Incandescent>
<AWB_Fluorescent support="1"></AWB_Fluorescent>
<AWB_Warm_Fluorescent support="1"></AWB_Warm_Fluorescent>
<AWB_Daylight support="1"></AWB_Daylight>
<AWB_Cloudy_Daylight support="1"></AWB_Cloudy_Daylight>
<AWB_Twilight support="1"></AWB_Twilight>
<AWB_Shade support="1"></AWB_Shade>
</AWB>
<Sence>
<Sence_Mode_Auto support="1"></Sence_Mode_Auto>
<Sence_Mode_Action support="1"></Sence_Mode_Action>
<Sence_Mode_Portrait support="1"></Sence_Mode_Portrait>
<Sence_Mode_Landscape support="1"></Sence_Mode_Landscape>
<Sence_Mode_Night support="1"></Sence_Mode_Night>
<Sence_Mode_Night_Portrait support="1"></Sence_Mode_Night_Portrait>
<Sence_Mode_Theatre support="1"></Sence_Mode_Theatre>
<Sence_Mode_Beach support="1"></Sence_Mode_Beach>
<Sence_Mode_Snow support="1"></Sence_Mode_Snow>
<Sence_Mode_Sunset support="1"></Sence_Mode_Sunset>
<Sence_Mode_Steayphoto support="1"></Sence_Mode_Steayphoto>
<Sence_Mode_Pireworks support="1"></Sence_Mode_Pireworks>
<Sence_Mode_Sports support="1"></Sence_Mode_Sports>
<Sence_Mode_Party support="1"></Sence_Mode_Party>
<Sence_Mode_Candlelight support="1"></Sence_Mode_Candlelight>
<Sence_Mode_Barcode support="1"></Sence_Mode_Barcode>
<Sence_Mode_HDR support="1"></Sence_Mode_HDR>
</Sence>
<Effect>
<Effect_None support="1"></Effect_None>
<Effect_Mono support="1"></Effect_Mono>
<Effect_Solarize support="1"></Effect_Solarize>
<Effect_Negative support="1"></Effect_Negative>
<Effect_Sepia support="1"></Effect_Sepia>
<Effect_Posterize support="1"></Effect_Posterize>
<Effect_Whiteboard support="1"></Effect_Whiteboard>
<Effect_Blackboard support="1"></Effect_Blackboard>
<Effect_Aqua support="1"></Effect_Aqua>
</Effect>
<FocusMode>
<Focus_Mode_Auto support="1"></Focus_Mode_Auto>
<Focus_Mode_Infinity support="1"></Focus_Mode_Infinity>
<Focus_Mode_Marco support="1"></Focus_Mode_Marco>
<Focus_Mode_Fixed support="1"></Focus_Mode_Fixed>
<Focus_Mode_Edof support="1"></Focus_Mode_Edof>
<Focus_Mode_Continuous_Video support="0"></Focus_Mode_Continuous_Video>
<Focus_Mode_Continuous_Picture support="1"></Focus_Mode_Continuous_Picture>
</FocusMode>
<FlashMode>
<Flash_Mode_Off support="1"></Flash_Mode_Off>
<Flash_Mode_On support="1"></Flash_Mode_On>
<Flash_Mode_Torch support="1"></Flash_Mode_Torch>
<Flash_Mode_Auto support="1"></Flash_Mode_Auto>
<Flash_Mode_Red_Eye support="1"></Flash_Mode_Red_Eye>
</FlashMode>
<AntiBanding>
<Anti_Banding_Auto support="1"></Anti_Banding_Auto>
<Anti_Banding_50HZ support="1"></Anti_Banding_50HZ>
<Anti_Banding_60HZ support="1"></Anti_Banding_60HZ>
<Anti_Banding_Off support="1"></Anti_Banding_Off>
</AntiBanding>
<HDR support="1"></HDR>
<ZSL support="1"></ZSL>
<DigitalZoom support="1"></DigitalZoom>
<Continue_SnapShot support="1"></Continue_SnapShot>
<InterpolationRes resolution="0"></InterpolationRes>
<PreviewSize width="0" height="0"></PreviewSize>
<FaceDetect support="0" MaxNum="1"></FaceDetect>
<Cproc support="1" contrast="1.1" saturation="1.0" hue="0" brightness="0"></Cproc>
<Gammaout support = "0" gamma = "1.0" offset = "0"></Gammaout>
<DV>
<DV_QCIF name="qcif" width="176" height="144" fps="10" support="1"></DV_QCIF>
<DV_QVGA name="qvga" width="320" height="240" fps="10" support="1"></DV_QVGA>
<DV_CIF name="cif" width="352" height="288" fps="10" support="1"></DV_CIF>
<DV_VGA name="480p" width="640" height="480" fps="10" support="0"></DV_VGA>
<DV_480P name="480p" width="720" height="480" fps="10" support="0"></DV_480P>
<DV_720P name="720p" width="1280" height="720" fps="10" support="1"></DV_720P>
<DV_1080P name="1080p" width="1920" height="1080" fps="10" support="1"></DV_1080P>
</DV>
</SoftWareInfo>
</CamDevie>
</BoardFile>
有解决了吗 i2c 不通 检查mclk
页:
[1]