摘要: $git clone git://aosp.tuna.tsinghua.edu.cn/android/git-repo.git/ $vim git-repo/repo 将 REPO_URL = 'https://gerrit.googlesource.com/git-repo' 修改为 REPO_U 阅读全文
posted @ 2015-11-24 11:31 thjfk 阅读(1485) 评论(0) 推荐(0) 编辑
摘要: 使用空指针和缓冲区溢出是产生oops的两个最常见原因。1、直接查看oops信息,首先查找源代码发生oops的位置,通过查看指令寄存器EIP的值,可以找到位置。再查找函数调用栈可以得到更多的信息。从函数调用栈可辨别出局部变量,全局变量和函数参数。较为重要的信息就是指令指针(EIP),即出错指令的地址。... 阅读全文
posted @ 2015-04-01 14:42 thjfk 阅读(10946) 评论(0) 推荐(0) 编辑
摘要: 工具下载链接地址: http://pan.baidu.com/s/1eQs2vNs$dtbTool -s 2048 -o arch/arm/boot/dt.img -p dtc arch/arm/boot/$ ./unpackbootimg -i boot.img支持解压zImage和ramdisk... 阅读全文
posted @ 2014-12-30 14:38 thjfk 阅读(2441) 评论(0) 推荐(0) 编辑
摘要: 1、Lens Rolloff Correction 透镜衰减矫正The Lens Rolloff correction takes into account the fact that,with some sensors,the center of the image is brighter tha... 阅读全文
posted @ 2014-11-15 13:59 thjfk 阅读(2320) 评论(0) 推荐(0) 编辑
摘要: camera基本代码架构 Camera原理:外部光线穿过lens后,经过color filter滤波后照射到sensor面上,sensor将从lens上传到过来的光线转换成电信号,再通过内部的AD转换为数字信号,如果sensor没有集成DSP,则通过DVP的方式传输到baseband,此时的数据格式... 阅读全文
posted @ 2014-11-09 21:53 thjfk 阅读(9044) 评论(2) 推荐(2) 编辑
摘要: 1、修改最后一次提交的注释git commit --amend2、补丁问题生成git patch :git format-patch -n 运用git patch:git am .patch3、git reset 将commit的信息去掉,修改依然保留 git reset --hard 回退到指... 阅读全文
posted @ 2014-05-14 15:46 thjfk 阅读(334) 评论(0) 推荐(0) 编辑
摘要: Dtsi documentation is under \kernel\Documentation\devicetree\bindings\media\video1、Qualcomm MSM CameraRequired properties:- compatible :"qcom,msm-cam"- reg : offset and length of msm camera device registers.- reg-names : should specify relevant names for each reg property defined.Example: 阅读全文
posted @ 2014-03-15 16:10 thjfk 阅读(6183) 评论(0) 推荐(0) 编辑
摘要: ubuntu版本:http://releases.ubuntu.com/12.04.5/ubuntu-12.04.5-server-amd64.iso u盘安装ubuntu 12.04 参考http://www.linuxidc.com/Linux/2012-11/74695.html 选择Open 阅读全文
posted @ 2014-02-20 16:37 thjfk 阅读(1389) 评论(0) 推荐(0) 编辑