2019年7月

devfreq governor代码分析

参考内核5.x,代码路径是在drivers/devfreq/,devfreq的代码定义是:Generic Dynamic Voltage and Frequency Scaling (DVFS) Framework for Non-CPU Devices。而CPU动态调频是drivers/cpufreq,devfreq是基于cpufreq而来。第一次引入这个特性描述: ...阅读全文

如何制作和挂载erofs格式vendor镜像

Android P环境,mkfs.erofs is required firstly. Let's build vendor.img with erofs format.build process for vendor with ext4看下vendor image with ext4过程:core/main.mk:1111:vendorimage: $(INSTALLE...阅读全文