ruoge_kerun_r8_ov2643显示为VGA_20160630_1613.7z
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><default><default><default> csi_ck = port:PE01<3><default><default><default> csi_hsync = port:PE02<3><default><default><default> csi_vsync = port:PE03<3><default><default><default> csi_d0 = port:PE04<3><default><default><default> csi_d1 = port:PE05<3><default><default><default> csi_d2 = port:PE06<3><default><default><default> csi_d3 = port:PE07<3><default><default><default> csi_d4 = port:PE08<3><default><default><default> csi_d5 = port:PE09<3><default><default><default> csi_d6 = port:PE10<3><default><default><default> csi_d7 = port:PE11<3><default><default><default> csi_reset = port:power3<1><default><default><0> csi_power_en = csi_stby = port:PB10<1><default><default><1> csi_flash = csi_af_en =
- 1
- 粉丝: 3113
- 资源: 466
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 处理定时器和消息的队列.7z
- 基于netty3.5的游戏服务器端框架 消息封装,编解码结构提供扩展,请求消息队列处理,基于protobuf的实例已经完成.7z
- 一个服务器处理框架,包括 协议处理,消息处理,持久层数据处理.7z
- matlab实现粒子群算法综合线阵低副瓣方向图设计-粒子群算法-天线阵列-PSO算法-matlab
- 动态规划算法详解及应用实例分析
- fscan一款内网资产排查工具提高工作效率
- 800高压脱泡机.STEP全套设计资料100%好用.zip
- 动态规划算法详解及Python代码实现
- 50kg双向单立柱堆垛机step全套设计资料100%好用.zip
- BBR12包装机卷包机热熔编带机sw12可编辑+cad全套设计资料100%好用.zip
- SQLAlchemy 基础用法完整示例
- X射线平板探测器架车step全套设计资料100%好用.zip
- TE-桁架机械手sw12全套设计资料100%好用.zip
- Z2021-4-顶升移栽机sw18可编辑全套设计资料100%好用.zip
- 2024注册测绘师《综合能力》讲义-第3章-工程测量(3)城乡规划与建筑工程测量.pdf
- 点胶贴合机step全套设计资料100%好用.zip