您好,欢迎光临本网站![请登录][注册会员]  
文件名称: ruoge_kerun_r8_ov2643显示为VGA_20160630_1613.7z
  所属分类: Android
  开发工具:
  文件大小: 490kb
  下载次数: 0
  上传时间: 2016-06-30
  提 供 者: wb4***
 详细说明: ruoge_kerun_r8_ov2643显示为VGA_20160630_1613.7z 20160630全志R8点亮ov2643.txt 开发板:杭州若格科技,全志R8(Cortex A8) android4.2.2/linux3.4.39 2016/6/30 15:06 1、配置ov2643在android层配置的分辨率为vga(预览/拍照/录像) R:\wyb\ruoge_kerun_r8_ov2643\android\device\softwinner\nuclear-evb\camera.cfg ;- ------------------------------------------------------------------------------ ; 用于camera的配置 ; ; 采用格式: ; key = key_value ; 注意: 每个key需要顶格写; ; key_value紧跟着key后面的等号后面, 位于同一行中; ; key_value限制大小为256字节以内; ; ;------------------------------------------------------------------------------- ;------------------------------------------------------------------------------- ; 1 for single camera, 2 for double camera ;------------------------------------------------------------------------------- number_of_camera = 1 ;------------------------------------------------------------------------------- ; CAMERA_FACING_BACK ; gc0308 ;------------------------------------------------------------------------------- camera_id = 0 ;------------------------------------------------------------------------------- ; 1 for CAMERA_FACING_FRONT ; 0 for CAMERA_FACING_BACK ;------------------------------------------------------------------------------- camera_facing = 0 ;------------------------------------------------------------------------------- ; camera orientation (0, 90, 180, 270) ;------------------------------------------------------------------------------- camera_orientation = 0 ;------------------------------------------------------------------------------- ; driver device name ;------------------------------------------------------------------------------- camera_device = /dev/video0 ;------------------------------------------------------------------------------- ; device id ; for two camera devices with one CSI ;------------------------------------------------------------------------------- device_id = 0 used_preview_size = 1 key_support_preview_size = 640x480 key_default_preview_size = 640x480 used_picture_size = 1 key_support_picture_size = 640x480 key_default_picture_size = 640x480 used_flash_mode = 0 key_support_flash_mode = on,off,auto key_default_flash_mode = on used_color_effect=1 key_support_color_effect = none,mono,negative,sepia,aqua key_default_color_effect = none used_frame_rate = 1 key_support_frame_rate = 25 key_default_frame_rate = 25 used_focus_mode = 0 key_support_focus_mode = auto,infinity,macro,fixed key_default_focus_mode = auto used_scene_mode = 0 key_support_scene_mode = auto,auto,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,barcode key_default_scene_mode = auto used_white_balance = 1 key_support_white_balance = auto,incandescent,fluorescent,warm-fluorescent,daylight,cloudy-daylight key_default_white_balance = auto used_exposure_compensation = 1 key_max_exposure_compensation = 3 key_min_exposure_compensation = -3 key_step_exposure_compensation = 1 key_default_exposure_compensation = 0 ; only for facing back camera in android2.3, should be set in android4.0 used_zoom = 1 key_zoom_supported = true key_smooth_zoom_supported = false key_zoom_ratios = 100,120,150,200,230,250,300 key_max_zoom = 30 key_default_zoom = 0 2、在init.rc(init.sun5i.rc)中加载ov2643.ko这个驱动模块。 R:\wyb\ruoge_kerun_r8_ov2643\android\device\softwinner\nuclear-evb\init.sun5i.rc #csi module insmod /system/vendor/modules/videobuf-core.ko insmod /system/vendor/modules/videobuf-dma-contig.ko insmod /system/vendor/modules/camera.ko #insmod_modules camera #insmod /system/vendor/modules/gc0308.ko #insmod /system/vendor/modules/ov2640.ko insmod /system/vendor/modules/ov2643.ko #insmod /system/vendor/modules/ov7670.ko insmod /system/vendor/modules/sun5i_csi0.ko 3、摄像头ov2643在驱动中的配置: 配置ov2643.c的编译选项,默认已经配置好,不用修改: R:\wyb\ruoge_kerun_r8_ov2643\lichee\linux-3.4\drivers\media\video\sun5i_csi\device\ov2643.c R:\wyb\ruoge_kerun_r8_ov2643\lichee\linux-3.4\drivers\media\video\sun5i_csi\Kconfig config CSI_OV2643 tristate "OmniVision OV2643 2M sensor support" default m depends on I2C && VIDEO_V4L2 select CSI_DEV_SEL_SUN5I ---help--- This is a Video4Linux2 sensor-level driver for the OmniVision OV2643 2M camera. R:\wyb\ruoge_kerun_r8_ov2643\lichee\linux-3.4\drivers\media\video\sun5i_csi\device\Makefile obj-$(CONFIG_CSI_OV2643) += ov2643.o R:\wyb\ruoge_kerun_r8_ov2643\lichee\linux-3.4\drivers\media\video\sun5i_csi\camera_detector\camera_list.c #define __OV2643__ 4、不同的电脑之间的SVN配置的问题: R:\wyb\vga_ov5640_ruoge_kerun_r8\lichee\linux-3.4\modules\mali\DX910-SW-99002-r3p2-01rel3\driver\src\devicedrv\ump\Kbuild # Get subversion revision number, fall back to 0000 if no svn info is available # SVN_REV := $(shell ((svnversion | grep -qv exported && echo -n 'Revision: ' && svnversion) || git svn info | sed -e 's/$$$$/M/' | grep '^Revision: ' || echo ${MALI_RELEASE_NAME}) 2>/dev/null | sed -e 's/^Revision: //') SVN_REV := 1 R:\wyb\vga_ov5640_ruoge_kerun_r8\lichee\linux-3.4\modules\mali\DX910-SW-99002-r3p2-01rel3\driver\src\devicedrv\ump\Makefile.common # Get subversion revision number, fall back to 0000 if no svn info is available # SVN_REV:=$(shell ((svnversion | grep -qv exported && echo -n 'Revision: ' && svnversion) || git svn info | sed -e 's/$$$$/M/' | grep '^Revision: ' || echo ${MALI_RELEASE_NAME}) 2>/dev/null | sed -e 's/^Revision: //') SVN_REV := 1 5、sys_config.fex中配置加载摄像头ov5640,I2C总线序号,从机地址等等。 R:\wyb\ruoge_kerun_r8_ov2643\lichee\tools\pack\chips\sun5i\configs\r8-evb\sys_config.fex ;-------------------------------------------------------------------------------- ;csi gpio configuration ;csi_if: 0:hv_8bit 1:hv_16bit 2:hv_24bit 3:bt656 1ch 4:bt656 2ch 5:bt656 4ch ;csi_mode: 0:sample one csi to one buffer 1:sample two csi to one buffer ;csi_dev_qty: The quantity of devices linked to csi interface ;csi_vflip: flip in vertical direction 0:disable 1:enable ;csi_hflip: flip in horizontal direction 0:disable 1:enable ;csi_stby_mode: 0:not shut down power at standby 1:shut down power at standby ;csi_iovdd: camera module io power , pmu power supply ;csi_avdd: camera module analog power , pmu power supply ;csi_dvdd: camera module core power , pmu power supply ;pmu_ldo3: fill "axp20_pll" ;pmu_ldo4: fill "axp20_hdmi" ;fill "" when not using any pmu power supply ;csi_flash_pol: the active polority of the flash light IO 0:low active 1:high active ;-------------------------------------------------------------------------------- [csi0_para] csi_used = 1 csi_mode = 0 csi_dev_qty = 1 csi_stby_mode = 1 ;csi_mname = "gc0308" ;csi_mname = "ov2640" csi_mname = "ov2643" ;csi_mname = "ov7670" csi_twi_id = 2 ;csi_twi_addr = 0x30 csi_twi_addr = 0x60 ;csi_twi_addr = 0x42 csi_if = 0 csi_vflip = 0 csi_hflip = 1 csi_iovdd = "" csi_avdd = "" csi_dvdd = "" csi_flash_pol = 1 ;csi_mname_b = "" ;csi_twi_id_b = 1 ;csi_twi_addr_b = 0x78 ;csi_if_b = 0 ;csi_vflip_b = 1 ;csi_hflip_b = 0 ;csi_iovdd_b = "" ;csi_avdd_b = "" ;csi_dvdd_b = "" ;csi_flash_pol_b = 1 csi_pck = port:PE00<3> csi_ck = port:PE01<3> csi_hsync = port:PE02<3> csi_vsync = port:PE03<3> csi_d0 = port:PE04<3> csi_d1 = port:PE05<3> csi_d2 = port:PE06<3> csi_d3 = port:PE07<3> csi_d4 = port:PE08<3> csi_d5 = port:PE09<3> csi_d6 = port:PE10<3> csi_d7 = port:PE11<3> csi_reset = port:power3<1><0> csi_power_en = csi_stby = port:PB10<1><1> csi_flash = csi_af_en = ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: 全志 R8 ov2643
 输入关键字,在本站1000多万海量源码库中尽情搜索: