mono 发表于 2015-9-21 15:31:38

rk3288摄像头系统对720*576分辨率不支持

通过mipi csi接口或者dvp接口,接入720*576分辨率的摄像头。
但是,一打开摄像头,就会卡死。
串口会不停的重复出现如下log:
rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   55.200283] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   55.402990] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   55.416751] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   55.423678] ###################WARNING:set voltage is error!voltage set is 900000 mv -110
[   55.431716] DVFS ERR:        dvfs_regulator_set_voltage_readback: now read back to check voltage
[   55.629311] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   55.643071] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   55.649976] DVFS ERR:        dvfs_regulator_set_voltage_readback: set ERROR AND NOT effected, volt=937500
[   55.658809] DVFS ERR:        dvfs_scale_volt_direct: vd_gpu set voltage up err ret = -110, Vnew = 900000(was 850000)mV
[   55.668734] dvfs_clk_set_rate error

[   55.875302] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   55.889062] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   55.895977] DVFS WARNING:        dvfs_reset_volt:vd(vd_gpu) try to reload volt = 937500
[   55.973701] saradc-reg: 0x000003ff 0x00000000 0x00000069 0x00000008
[   55.980802] read channel() error: -110
[   56.091779] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   56.105538] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   56.308275] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   56.322034] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   56.328940] ###################WARNING:set voltage is error!voltage set is 950000 mv -110
[   56.336987] DVFS ERR:        dvfs_regulator_set_voltage_readback: now read back to check voltage
[   56.534594] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   56.548355] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   56.555270] DVFS ERR:        dvfs_regulator_set_voltage_readback: set ERROR AND NOT effected, volt=937500
[   56.564095] DVFS ERR:        dvfs_scale_volt_direct: vd_gpu set voltage up err ret = -110, Vnew = 950000(was 937500)mV
[   56.574019] dvfs_clk_set_rate error

[   56.780582] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   56.794342] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   56.801246] DVFS WARNING:        dvfs_reset_volt:vd(vd_gpu) try to reload volt = 937500
[   56.997084] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   57.010848] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   57.065942] saradc-reg: 0x000003fc 0x00000000 0x00000069 0x00000008
[   57.073049] read channel() error: -110
[   57.213552] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   57.227313] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   57.234221] ###################WARNING:set voltage is error!voltage set is 1050000 mv -110
[   57.242345] DVFS ERR:        dvfs_regulator_set_voltage_readback: now read back to check voltage
[   57.439858] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   57.453617] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   57.460529] DVFS ERR:        dvfs_regulator_set_voltage_readback: set ERROR AND NOT effected, volt=937500
[   57.469388] DVFS ERR:        dvfs_scale_volt_direct: vd_gpu set voltage up err ret = -110, Vnew = 1050000(was 937500)mV
[   57.479398] dvfs_clk_set_rate error

[   57.685872] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   57.699636] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   57.706547] DVFS WARNING:        dvfs_reset_volt:vd(vd_gpu) try to reload volt = 937500
[   57.902357] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   57.916117] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   58.118833] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   58.132591] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   58.139506] ###################WARNING:set voltage is error!voltage set is 1150000 mv -110
[   58.147628] DVFS ERR:        dvfs_regulator_set_voltage_readback: now read back to check voltage
[   58.158185] saradc-reg: 0x000003ff 0x00000000 0x00000069 0x00000008
[   58.165286] read channel() error: -110
[   58.345151] rockchip_i2c ff650000.i2c: Addr wait event timeout, state: 1, is_busy: 1, error: 0, complete_what: 0x0, ipd: 0x10
[   58.358911] rockchip_i2c ff650000.i2c: I2C_CON: start bit is set
[   58.365818] DVFS ERR:        dvfs_regulator_set_voltage_readback: set ERROR AND NOT effected, volt=937500
[   58.374714] DVFS ERR:        dvfs_scale_volt_direct: vd_gpu set voltage up err ret = -110, Vnew = 1150000(was 937500)mV
[   58.384722] dvfs_clk_set_rate error

[   59.250432] saradc-reg: 0x000003fd 0x00000000 0x00000069 0x00000008
[   59.257541] read channel() error: -110
[   60.342678] saradc-reg: 0x000003fc 0x00000000 0x00000069 0x00000008
[   60.349794] read channel() error: -110
[   61.434905] saradc-reg: 0x000003f9 0x00000000 0x00000069 0x00000008
[   61.442012] read channel() error: -110
[   62.527137] saradc-reg: 0x000003fc 0x00000000 0x00000069 0x00000008
[   62.534248] read channel() error: -110
[   63.619384] saradc-reg: 0x000003fd 0x00000000 0x00000069 0x00000008
[   63.626486] read channel() error: -110
[   64.711620] saradc-reg: 0x000003fe 0x00000000 0x00000069 0x00000008
[   64.718739] read channel() error: -110
[   65.803865] saradc-reg: 0x000003ff 0x00000000 0x00000069 0x00000008
[   65.810969] read channel() error: -110
[   66.370380] healthd: battery l=50 v=3 t=2.6 h=2 st=3 chg=au
[   66.896097] saradc-reg: 0x000003fd 0x00000000 0x00000069 0x00000008


在hal层可以修改的代码的地方,已经增加了对该分辨率的支持,但是还是会卡死。
若是本来就是的分辨率,就没有问题,如720p,1080p等很正常。
怀疑是 libisp_silicomimageisp_api.so这个rk提供的库缺乏对应的支持。
现在该如何增加支持呢?还是不需要改这库,是我在hal的增加的不对?

暴走的阿Sai 发表于 2015-9-21 16:03:14

帮忙召唤大神
页: [1]
查看完整版本: rk3288摄像头系统对720*576分辨率不支持