照相机打开。屏幕一直是黑的,然后过几秒照相机就死掉了,然后有下面的调试信息:
init: sys_prop: permission denied uid:10015 name:sys.glibgui.version
[ 44.924027] rk_camera_s_stream:stream enable CIF_CIF_CTRL 0xf001
[ 47.876128] rk_cam_cif(2595):Camera host haven't recevie data from sensor,last fps = 0,pcdev->fps = 0,cif_irq: 1,dma_irq: 0!
[ 47.880868] rk_cam_cif(2506):CIF_CIF_CTRL = 0xf000
[ 47.880938] rk_cam_cif(2507):CIF_CIF_INTEN = 0x201
[ 47.880997] rk_cam_cif(2508):CIF_CIF_INTSTAT = 0x4a
[ 47.881055] rk_cam_cif(2509):CIF_CIF_FOR = 0x10001
[ 47.881110] rk_cam_cif(2510):CIF_CIF_CROP = 0x0
[ 47.881168] rk_cam_cif(2511):CIF_CIF_SET_SIZE = 0x2580320
[ 47.881226] rk_cam_cif(2512):CIF_CIF_SCL_CTRL = 0x10
[ 47.881283] rk_cam_cif(2513):CRU_PCLK_REG30 = 0X8100
[ 47.881341] rk_cam_cif(2514):CIF_CIF_LAST_LINE = 0X1e0
[ 47.881398] rk_cam_cif(2516):CIF_CIF_LAST_PIX = 0X5a0
[ 47.881456] rk_cam_cif(2517):CIF_CIF_VIR_LINE_WIDTH = 0X320
[ 47.881514] rk_cam_cif(2518):CIF_CIF_LINE_NUM_ADDR = 0X0
[ 47.881573] rk_cam_cif(2519):CIF_CIF_FRM0_ADDR_Y = 0X9d400000
[ 47.881634] rk_cam_cif(2520):CIF_CIF_FRM0_ADDR_UV = 0X9d475300
[ 47.881693] rk_cam_cif(2521):CIF_CIF_FRAME_STATUS = 0X0
[ 47.881750] rk_cam_cif(2522):CIF_CIF_SCL_VALID_NUM = 0X0
[ 47.881808] rk_cam_cif(2523):CIF_CIF_CUR_DST = 0X580
[ 47.881864] rk_cam_cif(2524):CIF_CIF_LINE_NUM_ADDR = 0X0
[ 47.881921] rk_cam_cif(2548):CIF may be error, so reset cif for resume
[ 49.916268] dhd_tcpdata_info_get 1003: tcpdata_info(idx 0) is aged out. ttl cnt is now 0
[ 49.916423] dhd_tcpdata_info_get 1037: Add data info to tbl[0]: IP addr 74.207.254.152 192.168.1.179 TCP port 8001 34122
[ 50.828130] rk_cam_cif(2595):Camera host haven't recevie data from sensor,last fps = 0,pcdev->fps = 0,cif_irq: 1,dma_irq: 0!
[ 50.834267] rk_cam_cif(2506):CIF_CIF_CTRL = 0xf000
[ 50.834334] rk_cam_cif(2507):CIF_CIF_INTEN = 0x201
[ 50.834392] rk_cam_cif(2508):CIF_CIF_INTSTAT = 0x4a
[ 50.834451] rk_cam_cif(2509):CIF_CIF_FOR = 0x10001
[ 50.834506] rk_cam_cif(2510):CIF_CIF_CROP = 0x0
[ 50.834564] rk_cam_cif(2511):CIF_CIF_SET_SIZE = 0x2580320
[ 50.834622] rk_cam_cif(2512):CIF_CIF_SCL_CTRL = 0x10
[ 50.834679] rk_cam_cif(2513):CRU_PCLK_REG30 = 0X8100
[ 50.834737] rk_cam_cif(2514):CIF_CIF_LAST_LINE = 0X1e0
[ 50.834794] rk_cam_cif(2516):CIF_CIF_LAST_PIX = 0X5a0
[ 50.834852] rk_cam_cif(2517):CIF_CIF_VIR_LINE_WIDTH = 0X320
[ 50.834910] rk_cam_cif(2518):CIF_CIF_LINE_NUM_ADDR = 0X0
[ 50.834969] rk_cam_cif(2519):CIF_CIF_FRM0_ADDR_Y = 0X9d400000
[ 50.835030] rk_cam_cif(2520):CIF_CIF_FRM0_ADDR_UV = 0X9d475300
[ 50.835088] rk_cam_cif(2521):CIF_CIF_FRAME_STATUS = 0X0
[ 50.835145] rk_cam_cif(2522):CIF_CIF_SCL_VALID_NUM = 0X0
[ 50.835203] rk_cam_cif(2523):CIF_CIF_CUR_DST = 0X580
[ 50.835260] rk_cam_cif(2524):CIF_CIF_LINE_NUM_ADDR = 0X0
[ 50.835363] wake up video buffer index = 0 !!!
[ 50.835418] wake up video buffer index = 1 !!!
[ 50.835470] wake up video buffer index = 2 !!!
[ 50.835521] wake up video buffer index = 3 !!!
rk_cam_cif(2724):rk_camera_s_stream:2724, wait cif stop timeout!ret: 0
麻烦知道的指点一下,感谢!!!
离线
没有,现在在自己移植,调试。
离线