hm1375_sc3817r_sina33_rtl8188eu服务器验证通过20170621_1021没有外层目录.7z
使用sina33的SDK在SC3817R上点亮HM1375 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 wb4916 AT qq.com 完成时间:2017/6/21 10:07 版本:V1.0 1、配置全志平台的android所能感知的摄像头的分辨率(预览/拍照): Q:\a33\hm1375_sc3817r_sina33_rtl8188eu\android\device\softwinner\astar-y3\configs\camera.cfg used_preview_size = 1 key_support_preview_size = 1280x1024, 1280x720, 640x480 key_default_preview_size = 640x480 used_picture_size = 1 key_support_picture_size = 1280x1024, 1280x720, 640x480 key_default_picture_size = 640x480 2、在系统启动的时候自动加载himax1375的驱动模块:hm1375.ko: Q:\a33\hm1375_sc3817r_sina33_rtl8188eu\android\device\softwinner\astar-y3\init.sun8i.rc #csi module insmod /system/vendor/modules/videobuf-core.ko insmod /system/vendor/modules/videobuf-dma-contig.ko insmod /system/vendor/modules/cam_detect.ko #insmod /system/vendor/modules/actuator.ko #insmod /system/vendor/modules/ad5820_act.ko insmod /system/vendor/modules/cci.ko insmod /system/vendor/modules/vfe_os.ko insmod /system/vendor/modules/vfe_subdev.ko #insmod /system/vendor/modules/gc0307.ko #insmod /system/vendor/modules/ov2035.ko #insmod /system/vendor/modules/ov2640.ko #insmod /system/vendor/modules/ov5640.ko insmod /system/vendor/modules/hm1375.ko insmod /system/vendor/modules/vfe_v4l2.ko 3、(可选操作) Q:\a33\hm1375_sc3817r_sina33_rtl8188eu\android\device\softwinner\astar-y3\ueventd.sun8i.rc /dev/video0 0660 media media #/dev/video1 0660 media media 4、驱动相关: Q:\a33\hm1375_sc3817r_sina33_rtl8188eu\lichee\linux-3.4\drivers\media\video\sunxi-vfe\device\hm1375.c Q:\a33\hm1375_sc3817r_sina33_rtl8188eu\lichee\linux-3.4\drivers\media\video\sunxi-vfe\device\Makefile obj-m += hm1375.o (不加这里会运行出错:) Q:\a33\hm1375_sc3817r_sina33_rtl8188eu\lichee\linux-3.4\drivers\media\video\sunxi-vfe\sensor_info.c struct sensor_item sensor_list_t[] = { // name i2c_addr sensor type sensor size sensor max pclk { "hm1375" , 0x48, SENSOR_YUV , PIXEL_NUM_2M , CORE_CLK_RATE_FOR_2M}, { "hm5065" , 0x3e, SENSOR_YUV , PIXEL_NUM_5M , CORE_CLK_RATE_FOR_5M}, { "ov2640" , 0x60, SENSOR_YUV , PIXEL_NUM_2M , CORE_CLK_RATE_FOR_2M}, { "ov5640" , 0x78, SENSOR_YUV , PIXEL_NUM_5M , CORE_CLK_RATE_FOR_5M}, …… { "ov7736" , 0x42, SENSOR_YUV , PIXEL_NUM_0_3M , CORE_CLK_RATE_FOR_2M}, }; 5、 Q:\a33\hm1375_sc3817r_sina33_rtl8188eu\lichee\tools\pack\chips\sun8iw5p1\configs\y3\sys_config.fex [power_sply] dcdc1_vol = 3000 dcdc2_vol = 1100 dcdc3_vol = 1200 dcdc4_vol = 0 dcdc5_vol = 1500 aldo2_vol = 2500 aldo3_vol = 3000 dldo3_vol = 2800 ;gpio0_vol = 2800 ldoio0_vol = 2800 [twi2] twi_used = 1 twi_scl = port:PE12<3><default><default><default> twi_sda = port:PE13<3><default><default><default> [csi0] vip_used = 1 vip_mode = 0 vip_dev_qty = 1 vip_define_sensor_list = 0 vip_csi_pck = port:PE00<2><default><default><default> vip_csi_mck = port:PE01<2><default><default><default> vip_csi_hsync = port:PE02<2><default><default><default> vip_csi_vsync = port:PE03<2><default><default><default> vip_csi_d0 = port:PE04<2><default><default><default> vip_csi_d1 = port:PE05<2><default><default><default> vip_csi_d2 = port:PE06<2><default><default><default> vip_csi_d3 = port:PE07<2><default><default><default> vip_csi_d4 = port:PE08<2><default><default><default> vip_csi_d5 = port:PE09<2><default><default><default> vip_csi_d6 = port:PE10<2><default><default><default> vip_csi_d7 = port:PE11<2><default><default><default> ;vip_dev0_mname = "gc0308" ;vip_dev0_mname = "ov5640" vip_dev0_mname = "hm1375" ;vip_dev0_mname = "hm5065" vip_dev0_pos = "rear" vip_dev0_lane = 1 vip_dev0_twi_id = 2 ;vip_dev0_twi_addr = 0x78 ;vip_dev0_twi_addr = 0x42 vip_dev0_twi_addr = 0x48 ;vip_dev0_twi_addr = 0x3e vip_dev0_isp_used = 0 vip_dev0_fmt = 0 vip_dev0_stby_mode = 0 vip_dev0_vflip = 0 vip_dev0_hflip = 0 vip_dev0_iovdd = "axp22_dldo3" vip_dev0_iovdd_vol = 2800000 vip_dev0_avdd = "axp22_ldoio0" vip_dev0_avdd_vol = 2800000 vip_dev0_dvdd = "axp22_eldo2" vip_dev0_dvdd_vol = 1800000 vip_dev0_afvdd = "axp22_dldo3" vip_dev0_afvdd_vol = 2800000 vip_dev0_power_en = vip_dev0_reset = port:PE14<1><default><default><0> vip_dev0_pwdn = port:PE15<1><default><default><1> vip_dev0_flash_en = vip_dev0_flash_mode = vip_dev0_af_pwdn =
- 1
- 粉丝: 2924
- 资源: 466
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- java医院数据分析管理系统源码数据库 MySQL源码类型 WebForm
- 59e81b49-3120-4f21-a2b7-bc440de0bd88_0.jpeg
- 时间序列-白银-5秒数据
- c++练习题目:通讯录管理系统
- java仓库管理系统源码数据库 MySQL源码类型 WebForm
- 同济大学作业之-LPC分析(男声变女声)和PCM编码
- java超市订单管理系统源码数据库 MySQL源码类型 WebForm
- 记录windows安装nvm:nvm-setup-2024-11-16.exe.zip
- 同济大学数字信号处理实验(包含实验报告)
- Kettle 是Kettle E.T.T.L. Envirnonment只取首字母的缩写,这意味着它被设计用来帮助你实现你的