1

有谁知道在编译 linux 3.0 内核时我应该使用什么配置文件才能使其与 sdk(4.0 或任何其他版本)的 Android 模拟器一起工作?

可能是这样的?:

./emulator-arm -avd default-v7 -shell -kernel /path/to/default/kernel/linux/arch/arm/boot/zImage
4

1 回答 1

0

Upstream (mainline, vanilla) Linux Kernel 3.0 can't boot Android userspace. You need to patch it with Android support. Kernel 3.3 is closer, but still missing a piece: https://lwn.net/Articles/472984/

Why don't you use AOSP kernel source? http://source.android.com/source/downloading.html

于 2012-04-30T12:01:48.057 回答