不好意思,我不太明白,不用emulator,用qemu吗? 我用qemu从未成功过== 找不到合适的文件系统
太小白了,谢谢你。。。 On 4月5日, 下午8时38分, eric0593 <eric0...@gmail.com> wrote: > 我试过google 官方的android源码,generic编译出来的可以用。 > 不明白你为何一定要用emulator? 或者用另外的方式也可以解决呢? > > 发件人: gloria zhao > 发送时间: 2012-04-05 15:25 > 收件人: Android Linux Kernel Development > 主题: Re: 回复: [android-kernel] Re: cannot make compiled kernel work in > Emulator,anyone who meet the same problem? > 这工作量好像突然变大了。。。。 > 我试过用busybox制作文件系统,然后利用qemu,没成功 > 从android网站下载的common内核,可以顺利在它的Emulator上跑起来吗? > 我尝试了好多版本内核,只有goldfish成功。。。 > 是配置的问题吗? > > On 4月5日, 下午2时24分, miaoxiaoming <eric0...@gmail.com> wrote: > > > > > > > > > > > 所以,我觉得我们就需要自己根据内核的配置去编译出对应的kernel-qemu > > qemu是常用的虚拟机,如果你真的很需要编译模拟器,可以试着从qemu下手。 > > 把qemu的源码下载下来,看看里面的结构,以及如何编译一个qemu的内核。 > > > gloria zhao wrote: > > > > 不是直接编译的...你了解的比我深呢>< > > > > On 3月31日, 下午1时04分, eric0593<eric0...@gmail.com> wrote: > > > >> Dear gloria > > >> Last time I try to use emulator. > > >> I use generic product config. if I use another configue, it can not > > >> run. the isuess is same as yours. > > >> if we run with real phone, we use boot.img(vmlinux) as kernel. > > >> if we run with emulator,we use kernel-qemu as kernel. > > >> system.img is same. > > >> So I guess the problem is kernel-qemu is no real omap instrument. > > >> 你的kernel-qemu是编译出来的呢,还是源码里自带的给通用的arm指令使用 > > >> 的,prebuilt下面有一个kernel-qemu,分析一下makefile看看是编译出来,还 > > >> 是直接复制到out/host/sdk下面去了。 > > > >> 我也是了解到这里,有什么信息也告知我一下。 > > > >> 发件人: gloria zhao > > >> 发送时间: 2012-03-31 10:53 > > >> 收件人: Android Linux Kernel Development > > >> 主题: [android-kernel] Re: cannot make compiled kernel work in > > >> Emulator,anyone who meet the same problem? > > >> Thanks a lot. Why goldfish only have 2.6.29 kernel。。。。 > > >> What means hardware supported in kernel? > > >> For example, I use android-omap defconfig, and select options to > > >> support omap. However after compiling, still cannot use Emulator to > > >> run the kernel > > >> I guess the problem is about no real omap instrument. > > > >> On 3月31日, 上午1时56分, mark gross<mark97...@gmail.com> wrote: > > > >>> the emulator expects to have emulator hardware supported in the > > >>> kernel. If you don't have support for it in whatever you are building > > >>> it will behave just like hardware does and not work. > > >>> the kernel git for it is in the > > >>> AOSPhttps://android.googlesource.com/kernel/goldfish > > >>> it has one interesting branch for android-goldfish-2.6.29 > > >>> --mark > > >>> On Fri, Mar 30, 2012 at 12:34 AM, gloria zhao<zhaozl1...@gmail.com> > > >>> wrote: > > > >>>> I have tried many versions of Android kernel, and many wiki/ > > >>>> instructions said after compiling, use Emulator -avd XXX -kernel > > >>>> zImage...... > > >>>> However, only the goldfish kernel can work in this way > > >>>> Could you please tell me is it real that any version (eg:common) can > > >>>> run on Emulator? > > >>>> Please!!!!!!! > > >>>> -- > > >>>> unsubscribe: android-kernel+unsubscr...@googlegroups.com > > >>>> website:http://groups.google.com/group/android-kernel > > > >>> -- > > >>> create interesting things. > > > >> -- > > >> unsubscribe: android-kernel+unsubscr...@googlegroups.com > > >> website:http://groups.google.com/group/android-kernel > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website:http://groups.google.com/group/android-kernel -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel