RK3128 OV5640 DVP调试 生成video设备节点方式
shell@fireprime:/ $ RMC_GETDATA=0xb9rk_cam_cif(1436): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1436-------rk_camera_add_device()
rk_cam_cif(1446): rk312x-camera driver attached to ov5640_back_3
rk_cam_cif(1404): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1404-------rk_camera_activate()
ov5640_back_3(rk_cam_sensor:1241): generic_sensor_ioctl cmd(0x3) is unknown !
rk_cam_cif(1493): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1493-------rk_camera_add_device()
rk_cam_io(1165):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1165-------rk_sensor_power()
rk_cam_io(1176):new_camera->dev_name= ov5640_back_3
rk_cam_io(1177):dev_name(dev)= ov5640_back_3
rk_cam_io(1189):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1189
rk_cam_io(1176):new_camera->dev_name= s5k4ec_back_4
rk_cam_io(1177):dev_name(dev)= ov5640_back_3
rk_cam_io(1180):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1180
rk_cam_io(1183):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1183
rk_cam_io(531):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:531-------sensor_powerdown_default_cb()
rk_cam_io(550):s5k4ec_back_4 PowerDownPin=127 ..PinLevel = 0
rk_cam_io(1210):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1210
rk_cam_io(1080):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1080-------rk_sensor_pwrseq()
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
rk_cam_cif(1353): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1353-------rk_camera_mclk_ctrl()
rk_cam_io(1141):SensorPwrSeq-clock: 1
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
rk_cam_io(426):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:426-------sensor_power_default_cb()
rk818_ldo8: operation not allowed
rk818_ldo4: operation not allowed
ret: 0
rk_cam_io(1102):SensorPwrSeq-power: 1
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
Cam_Powerdowm
rk_cam_io(531):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:531-------sensor_powerdown_default_cb()
rk_cam_io(553):ov5640_back_3 PowerDownPin= 127..PinLevel = 0
rk_cam_io(1130):SensorPwrSeq-power down: 0
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
rk_cam_io(496):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:496-------sensor_reset_default_cb()
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
rk_cam_io(496):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:496-------sensor_reset_default_cb()
rk_cam_io(1119):SensorPwrSeq-reset: 1
rk_cam_cif(2038): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2038-------rk_camera_fmt_capturechk()/n
rk_cam_cif(2320): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2320-------rk_camera_try_fmt()
rk_cam_cif(2371): user demand: 640x480sensor output: 640x480
rk312x-camera rk312x-camera.33: Field type 4 unsupported.
rk_cam_cif(2078): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2078-------rk_camera_set_fmt()/n
rk_cam_cif(2084): enter width:640height:480
rk_cam_cif(1601): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1601-------rk_camera_set_bus_param()/n
rk_cam_cif(1626): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1626-------rk_camera_set_bus_param()
rk_cam_cif(1677): CIF_CIF_FOR: 0x90000
rk_cam_cif(1334): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1334-------rk_camera_init_videobuf()/n
rk_cam_cif(2477): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2477-------rk_camera_querycap()
rk_cam_cif(2507): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2507-------rk_camera_querycap()
iview add ENOTTY!
iview add ENOTTY!
iview add ENOTTY!
iview add ENOTTY!
iview add ENOTTY!
iview add ENOTTY!
iview add ENOTTY!
rk_cam_cif(2038): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2038-------rk_camera_fmt_capturechk()/n
rk_cam_cif(2320): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2320-------rk_camera_try_fmt()
rk_cam_cif(2371): user demand: 640x480sensor output: 640x480
rk312x-camera rk312x-camera.33: Field type 4 unsupported.
rk_cam_cif(2078): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2078-------rk_camera_set_fmt()/n
rk_cam_cif(2084): enter width:640height:480
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
rk_cam_io(573):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:573-------sensor_flash_default_cb()/n
rk_cam_cif(2278): YUV420 NV21 CIF Host:640x480@(0,0) Sensor:640x480->640x480 User crop:(0,0,0,0)in(2592,1944) (zoom: 640x480@(0,0)->640x480)
rk_cam_cif(1775): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1775-------rk_camera_setup_format()/n
rk_cam_cif(556): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:556-------rk_camera_cif_reset()
rk_cam_cif(1861): CIF_CIF_CROP:0x0CIF_CIF_FS:0x1e00280CIF_CIF_FOR:0x90000
rk_cam_cif(1601): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1601-------rk_camera_set_bus_param()/n
rk_cam_cif(1626): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1626-------rk_camera_set_bus_param()
rk_cam_cif(1677): CIF_CIF_FOR: 0x90000
iview add ENOTTY!
iview add ENOTTY!
generic_sensor_s_parm
iview add ENOTTY!
iview add ENOTTY!
rk_cam_cif(3074): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:3074-------rk_camera_set_ctrl()
sensor_focus_default_cb(571): focus have not been init success yet
iview add ENOTTY!
rk_cam_cif(3074): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:3074-------rk_camera_set_ctrl()
ov5640_back_3(rk_cam_sensor:1048): v4l2_control id(0x980900) is invalidate
iview add ENOTTY!
rk_cam_cif(3074): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:3074-------rk_camera_set_ctrl()
ov5640_back_3(rk_cam_sensor:1048): v4l2_control id(0x9a0901) is invalidate
iview add ENOTTY!
rk_cam_cif(3074): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:3074-------rk_camera_set_ctrl()
ov5640_back_3(rk_cam_sensor:1048): v4l2_control id(0x9a0902) is invalidate
iview add ENOTTY!
rk_cam_cif(3074): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:3074-------rk_camera_set_ctrl()
ov5640_back_3(rk_cam_sensor:1048): v4l2_control id(0x980902) is invalidate
iview add ENOTTY!
rk_cam_cif(616): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:616-------rk_videobuf_setup()
rk_cam_cif(687): videobuf size:462848, vipmem_buf size:0, count:4
rk_cam_cif(2427): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2427-------rk_camera_reqbufs()/niview add ENOTTY!
iview add ENOTTY!
iview add ENOTTY!
iview add ENOTTY!
iview add ENOTTY!
rk_cam_cif(725): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:725-------rk_videobuf_prepare()
iview add ENOTTY!
rk_cam_cif(725): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:725-------rk_videobuf_prepare()
iview add ENOTTY!
rk_cam_cif(725): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:725-------rk_videobuf_prepare()
iview add ENOTTY!
rk_cam_cif(725): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:725-------rk_videobuf_prepare()
iview add ENOTTY!
rk_cam_cif(829): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:829-------rk_videobuf_queue()
rk_cam_cif(785): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:785-------rk_videobuf_capture()
rk_cam_cif(829): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:829-------rk_videobuf_queue()
rk_cam_cif(829): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:829-------rk_videobuf_queue()
rk_cam_cif(2784): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2784-------rk_camera_s_stream()
rk_camera_s_stream:stream enable CIF_CIF_CTRL 0xf001
rk_cam_cif(2840): s_stream: enable : 0x1 , CIF_CIF_CTRL = 0xf001
iview add ENOTTY!
rk_cam_cif(2694): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2694-------rk_camera_fps_func()
rk_cam_cif(2696): rk_camera_fps_func fps:0x0
rk_cam_cif(2699):Camera host haven't recevie data from sensor,last fps = 0,pcdev->fps = 0,cif_irq: 0,dma_irq: 0!
rk_cam_cif(2601): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2601-------rk_camera_reinit_work()/n
rk_cam_cif(2610):CIF_CIF_CTRL = 0xf001
rk_cam_cif(2611):CIF_CIF_INTEN = 0x201
rk_cam_cif(2612):CIF_CIF_INTSTAT = 0x0
rk_cam_cif(2613):CIF_CIF_FOR = 0x90000
rk_cam_cif(2614):CIF_CIF_CROP = 0x0
rk_cam_cif(2615):CIF_CIF_SET_SIZE = 0x1e00280
rk_cam_cif(2616):CIF_CIF_SCL_CTRL = 0x10
rk_cam_cif(2617):CRU_PCLK_REG30 = 0X8100
rk_cam_cif(2618):CIF_CIF_LAST_LINE = 0X0
rk_cam_cif(2620):CIF_CIF_LAST_PIX = 0X0
rk_cam_cif(2621):CIF_CIF_VIR_LINE_WIDTH = 0X280
rk_cam_cif(2622):CIF_CIF_LINE_NUM_ADDR = 0X0
rk_cam_cif(2623):CIF_CIF_FRM0_ADDR_Y = 0X7f200000
rk_cam_cif(2624):CIF_CIF_FRM0_ADDR_UV = 0X7f24b000
rk_cam_cif(2625):CIF_CIF_FRAME_STATUS = 0X0
rk_cam_cif(2626):CIF_CIF_SCL_VALID_NUM = 0X0
rk_cam_cif(2627):CIF_CIF_CUR_DST = 0X0
rk_cam_cif(2628):CIF_CIF_LINE_NUM_ADDR = 0X0
rk_cam_cif(2634):Sensor data transfer may be error, so reset CIF and reinit sensor for resume!
rk_cam_cif(556): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:556-------rk_camera_cif_reset()
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
rk_cam_io(573):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:573-------sensor_flash_default_cb()/n
rk_cam_cif(2694): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2694-------rk_camera_fps_func()
rk_cam_cif(2696): rk_camera_fps_func fps:0x0
rk_cam_cif(2699):Camera host haven't recevie data from sensor,last fps = 0,pcdev->fps = 0,cif_irq: 0,dma_irq: 0!
rk_cam_cif(2601): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2601-------rk_camera_reinit_work()/n
rk_cam_cif(2610):CIF_CIF_CTRL = 0xf001
rk_cam_cif(2611):CIF_CIF_INTEN = 0x201
rk_cam_cif(2612):CIF_CIF_INTSTAT = 0x0
rk_cam_cif(2613):CIF_CIF_FOR = 0x90000
rk_cam_cif(2614):CIF_CIF_CROP = 0x0
rk_cam_cif(2615):CIF_CIF_SET_SIZE = 0x1e00280
rk_cam_cif(2616):CIF_CIF_SCL_CTRL = 0x10
rk_cam_cif(2617):CRU_PCLK_REG30 = 0X8100
rk_cam_cif(2618):CIF_CIF_LAST_LINE = 0X0
rk_cam_cif(2620):CIF_CIF_LAST_PIX = 0X0
rk_cam_cif(2621):CIF_CIF_VIR_LINE_WIDTH = 0X280
rk_cam_cif(2622):CIF_CIF_LINE_NUM_ADDR = 0X0
rk_cam_cif(2623):CIF_CIF_FRM0_ADDR_Y = 0X7f200000
rk_cam_cif(2624):CIF_CIF_FRM0_ADDR_UV = 0X7f24b000
rk_cam_cif(2625):CIF_CIF_FRAME_STATUS = 0X0
rk_cam_cif(2626):CIF_CIF_SCL_VALID_NUM = 0X0
rk_cam_cif(2627):CIF_CIF_CUR_DST = 0X0
rk_cam_cif(2628):CIF_CIF_LINE_NUM_ADDR = 0X0
rk_cam_cif(2662): the reinit times = 2
wake up video buffer index = 1!!!
wake up video buffer index = 2!!!
wake up video buffer index = 3!!!
iview add ENOTTY!
ov5640(1324): ov5640 Download firmware failed
ov5640_back_3(rk_cam_sensor:1311): WqCmd_af_init is failed in sensor_af_workqueue!
rk_cam_cif(2784): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:2784-------rk_camera_s_stream()
rk_cam_cif(2682):the 2 reinit times ,wake up video buffers!
rk_cam_cif(2828):rk_camera_s_stream:2828, wait cif stop timeout!
rk_cam_cif(2840): s_stream: enable : 0x0 , CIF_CIF_CTRL = 0xf000
rk_cam_cif(695): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:695-------rk_videobuf_free()
rk_cam_cif(695): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:695-------rk_videobuf_free()
rk_cam_cif(695): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:695-------rk_videobuf_free()
rk_cam_cif(695): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:695-------rk_videobuf_free()
iview add ENOTTY!
iview1!
iview1!
iview1!
rk_cam_io(1165):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1165-------rk_sensor_power()
rk_cam_io(1176):new_camera->dev_name= ov5640_back_3
rk_cam_io(1177):dev_name(dev)= ov5640_back_3
rk_cam_io(1189):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1189
rk_cam_io(1176):new_camera->dev_name= s5k4ec_back_4
rk_cam_io(1177):dev_name(dev)= ov5640_back_3
rk_cam_io(1180):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1180
rk_cam_io(1080):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:1080-------rk_sensor_pwrseq()
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
rk_cam_io(496):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:496-------sensor_reset_default_cb()
rk_cam_io(1119):SensorPwrSeq-reset: 0
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
Cam_Powerdowm
rk_cam_io(531):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:531-------sensor_powerdown_default_cb()
rk_cam_io(550):ov5640_back_3 PowerDownPin=127 ..PinLevel = 1
rk_cam_io(1130):SensorPwrSeq-power down: 1
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
rk_cam_io(426):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:426-------sensor_power_default_cb()
ret: 0
rk_cam_io(1102):SensorPwrSeq-power: 0
rk_cam_io(964):/$$$$$$$$$$$$$$$$$$$$$$//n Here I am: arch/arm/mach-rockchip/rk_camera.c:964-------rk_sensor_ioctrl()/n
rk_cam_cif(1353): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1353-------rk_camera_mclk_ctrl()
rk_cam_io(1141):SensorPwrSeq-clock: 0
rk_cam_cif(1532): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1532-------rk_camera_remove_device()
rk_cam_cif(1538): rk312x-camera driver detached from ov5640_back_3
rk_cam_cif(1416): /$$$$$$$$$$$$$$$$$$$$$$//n Here I am: drivers/media/video/rk30_camera_oneframe.c:1416-------rk_camera_deactivate()
能生成设备节点video0 通过v4l2 API接口操作时,ioctl(fd, VIDIOC_DQBUF, &buf)返回-1,各位大神多多指点
你好,请问一下,你这个问题最终解决了吗
页:
[1]