* [Qemu-devel] how to choose arm's type
@ 2007-04-18 15:19 tang peilei
2007-04-18 15:24 ` Paul Brook
0 siblings, 1 reply; 3+ messages in thread
From: tang peilei @ 2007-04-18 15:19 UTC (permalink / raw)
To: qemu-devel
in qemu's doc, i found it support some arm integrator/cp board and arm926e
or arm1026e cpu.
but if i can choose to use arm926e cpu or arm1026e cpu ???
when i build a linux kernel image, i let it run on qemu, but i found it get
the architecture ID is 113, and 113 defined in mach-types is
murphy ARCH_MEDALB MEDALB 113
i do not know why it is 113, i expect it to be
integrator ARCH_INTEGRATOR INTEGRATOR 21
or
cintegrator ARCH_CINTEGRATOR CINTEGRATOR 275
and in linux kernel config i can not found MEDALB.
this problem made my kernel image can not run in qemu.
it failed in arch/arm/kernel/head.S
bl __lookup_machine_type
this function return fail.
who knows what is wrong .
or how to choose my machine type to integrator ???
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] how to choose arm's type
2007-04-18 15:19 [Qemu-devel] how to choose arm's type tang peilei
@ 2007-04-18 15:24 ` Paul Brook
2007-04-21 3:51 ` tang peilei
0 siblings, 1 reply; 3+ messages in thread
From: Paul Brook @ 2007-04-18 15:24 UTC (permalink / raw)
To: qemu-devel; +Cc: tang peilei
On Wednesday 18 April 2007 16:19, tang peilei wrote:
> in qemu's doc, i found it support some arm integrator/cp board and arm926e
> or arm1026e cpu.
> but if i can choose to use arm926e cpu or arm1026e cpu ???
Use the -cpu commandline option.
> when i build a linux kernel image, i let it run on qemu, but i found it get
> the architecture ID is 113, and 113 defined in mach-types is
> murphy ARCH_MEDALB MEDALB 113
>
> i do not know why it is 113, i expect it to be
> integrator ARCH_INTEGRATOR INTEGRATOR 21
> or
> cintegrator ARCH_CINTEGRATOR CINTEGRATOR 275
Check again. I think you'll find that qemu reports machine ID 0x113 (== 275)
for the integrator/cp emulation.
Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] how to choose arm's type
2007-04-18 15:24 ` Paul Brook
@ 2007-04-21 3:51 ` tang peilei
0 siblings, 0 replies; 3+ messages in thread
From: tang peilei @ 2007-04-21 3:51 UTC (permalink / raw)
To: qemu-devel
thank you, you are right, with your help, my kernel image can run into
function start_kernel. thank you very much.
but in start_kernel function in linux-2.6.16, the kernel panic when it
calls console_init.
I do not know why, if i should config my console ?? and how to config it
???
>From: Paul Brook <paul@codesourcery.com>
>Reply-To: qemu-devel@nongnu.org
>To: qemu-devel@nongnu.org
>CC: tang peilei <wstangpl@hotmail.com>
>Subject: Re: [Qemu-devel] how to choose arm's type
>Date: Wed, 18 Apr 2007 16:24:32 +0100
>
>On Wednesday 18 April 2007 16:19, tang peilei wrote:
> > in qemu's doc, i found it support some arm integrator/cp board and
arm926e
> > or arm1026e cpu.
> > but if i can choose to use arm926e cpu or arm1026e cpu ???
>
>Use the -cpu commandline option.
>
> > when i build a linux kernel image, i let it run on qemu, but i found it
get
> > the architecture ID is 113, and 113 defined in mach-types is
> > murphy ARCH_MEDALB MEDALB 113
> >
> > i do not know why it is 113, i expect it to be
> > integrator ARCH_INTEGRATOR INTEGRATOR 21
> > or
> > cintegrator ARCH_CINTEGRATOR CINTEGRATOR 275
>
>Check again. I think you'll find that qemu reports machine ID 0x113 (==
275)
>for the integrator/cp emulation.
>
>Paul
>
>
_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-21 3:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-18 15:19 [Qemu-devel] how to choose arm's type tang peilei
2007-04-18 15:24 ` Paul Brook
2007-04-21 3:51 ` tang peilei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).