Android在启动时要参考到machine name,默认是取/proc/cpuinfo中的Hardware字段的内容,但是如果你在kernel启动时传上参数androidboot.hardware就可以覆盖前者的值。
最终的设置值你可以在android shell上输入getprop,找到ro.hardware就是machine name。
这个值会决定哪些JNI的driver中间层的动态库的名字。
Android在启动时要参考到machine name,默认是取/proc/cpuinfo中的Hardware字段的内容,但是如果你在kernel启动时传上参数androidboot.hardware就可以覆盖前者的值。
最终的设置值你可以在android shell上输入getprop,找到ro.hardware就是machine name。
这个值会决定哪些JNI的driver中间层的动态库的名字。