随笔分类 - others
摘要:i2c-tool包含的指令有i2cdetect、i2cdump、i2cset、i2cget、i2ctransfer 1.查看i2c总线5上挂载的设备: i2cdetect -y 5 2.查看i2c总线5上地址为0x68的所有寄存器地址: i2cdump -f -y 5 0x68 3.往i2c总线5上
阅读全文
摘要:1.kernel驱动添加: 把exfat(驱动)添加到kernel/fs目录下,makefile写死如下: index 5030ac9..a2845ec a/fs/Makefile +++ b/fs/Makefile @@ -68,6 +68,8 @@ obj-$(CONFIG_DLM) += dl
阅读全文
摘要:1.驱动文件: kernel/drivers/watchdog/dw_wdt.c 2.dts节点配置: 默认是打开的 wdt: watchdog@fe600000 { compatible = "snps,dw-wdt"; reg = <0x0 0xfe600000 0x0 0x100>; cloc
阅读全文
摘要:Android9、10: frameworks/native/services/inputflinger/InputReader.cpp diff --git a/services/inputflinger/InputReader.cpp b/services/inputflinger/InputR
阅读全文
摘要:os:android7.1 1、用官方给的包,直接解压在vendor目录下: vendor/partner_gms 2、修改device\rockchip\common\BoardConfig.mk BUILD_WITH_GOOGLE_MARKET ?= true BUILD_WITH_GOOGLE
阅读全文