Android
文章平均质量分 95
淡泊的猪
对的事情,坚持做
展开
-
Android的log问题
#include <utils/Log.h>#undef LOG_TAG#define LOG_TAG "SKHDI"#define SK_TRACE LOGI#define SK_INFO_TX(fmt,args...) ALOGI("[%s,%d]: " fmt ,__FUNCTION__, __LINE__,##args)#define SK_ERROR_TX(fmt,a...原创 2018-05-29 14:17:08 · 1238 阅读 · 0 评论 -
Android by-name机制
init: create symlinks to block device nodes eMMC block device names may change based on the detection order ofthe eMMC device and any other SD bus devices, such as a removable SDcard. This...原创 2018-05-29 14:15:37 · 4371 阅读 · 0 评论 -
android property system
android property systemProperty system is an important feature on android. It runs as a service and manages system configurations and status. All these configurations and status are properties. A prop...转载 2018-05-29 14:22:07 · 819 阅读 · 0 评论 -
Android Boot Sequence
In this post we will discuss about the boot process of Android operating system. As the Android is based on Linux Kernel , so its boot process will give good idea about Linux boot process also. Most a...转载 2018-05-29 19:06:16 · 1142 阅读 · 0 评论 -
深入理解dm-verity机制
近期做的一个项目,由于客户对安全性要求比较高,涉及到文件系统校验的问题,起初是在ramdisk中挂载rootfs后对所有重要的文件检查sha256,但是随着rootfs的逐步增大,发现校验花费的时间太长,竟然达到十几秒,于是就想改用一种方案,首先想到的是整个rootfs校验后在挂载,这样肯定是比一个文件一个文件校验要来得快些,但是项目中用的是nandflash,并不是EMMC,所以文件系统只能采用...原创 2018-12-27 11:26:36 · 37353 阅读 · 4 评论