how to choose arm's type
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
Quoted 3 lines · tang peilei
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.
Quoted 8 lines
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
murphyARCH_MEDALBMEDALB 113i do not know why it is 113, i expect it to be
integratorARCH_INTEGRATORINTEGRATOR 21
or
cintegratorARCH_CINTEGRATORCINTEGRATOR 275
Check again. I think you'll find that qemu reports machine ID 0x113 (== 275) for the integrator/cp emulation.
Paul
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 ???
Quoted 9 lines
From: Paul Brook <[email protected]>
Reply-To: [email protected]
To: [email protected]
CC: tang peilei <[email protected]>
Subject: Re: [Qemu-devel] how to choose arm's type
Date: Wed, 18 Apr 2007 16:24:32 +0100Quoted 1 line · tang peilei
in qemu's doc, i found it support some arm integrator/cp board and
arm926e
Quoted 6 lines
Quoted 2 lines
or arm1026e cpu.
but if i can choose to use arm926e cpu or arm1026e cpu ???Use the -cpu commandline option.
Quoted 1 line
when i build a linux kernel image, i let it run on qemu, but i found it
get
Quoted 9 lines
Quoted 7 lines
the architecture ID is 113, and 113 defined in mach-types is
murphyARCH_MEDALBMEDALB 113i do not know why it is 113, i expect it to be
integratorARCH_INTEGRATORINTEGRATOR 21
or
cintegratorARCH_CINTEGRATORCINTEGRATOR 275Check again. I think you'll find that qemu reports machine ID
0x113(==
275)
Quoted 5 lines
for the integrator/cp emulation.
Paul
_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com