From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KB6Vg-0005X6-RV for qemu-devel@nongnu.org; Tue, 24 Jun 2008 07:16:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KB6Ve-0005Wi-RB for qemu-devel@nongnu.org; Tue, 24 Jun 2008 07:16:28 -0400 Received: from [199.232.76.173] (port=50520 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KB6Ve-0005Wf-M3 for qemu-devel@nongnu.org; Tue, 24 Jun 2008 07:16:26 -0400 Received: from mail-wa4.bigfish.com ([216.32.181.114]:29646 helo=mail190-wa4-R.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KB6Ve-0005rY-7F for qemu-devel@nongnu.org; Tue, 24 Jun 2008 07:16:26 -0400 Received: from mail190-wa4 (localhost.localdomain [127.0.0.1]) by mail190-wa4-R.bigfish.com (Postfix) with ESMTP id 966AEF48C6F for ; Tue, 24 Jun 2008 11:16:24 +0000 (UTC) Received: from svlb1extmailp02.amd.com (unknown [139.95.251.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail190-wa4.bigfish.com (Postfix) with ESMTP id 10E101898054 for ; Tue, 24 Jun 2008 11:16:24 +0000 (UTC) Received: from svlb1twp01.amd.com ([139.95.250.34]) by svlb1extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id m5OBGmEk029439 for ; Tue, 24 Jun 2008 04:16:51 -0700 Received: from SSVLEXBH1.amd.com (ssvlexbh1.amd.com [139.95.53.182]) by svlb1twp01.amd.com (Tumbleweed MailGate 3.5.1) with ESMTP id 2342588493B for ; Tue, 24 Jun 2008 04:16:16 -0700 (PDT) Message-ID: <4860D781.9090601@amd.com> Date: Tue, 24 Jun 2008 16:46:17 +0530 From: Sudheer Papothi MIME-Version: 1.0 Subject: Re: [Qemu-devel] Linux kernel image for Emulator - Regd. References: <4860BF1F.3050603@amd.com> <761ea48b0806240257h58204776x317614d3bed78268@mail.gmail.com> In-Reply-To: <761ea48b0806240257h58204776x317614d3bed78268@mail.gmail.com> Content-Type: multipart/alternative; boundary="------------000600010106040908080706" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------000600010106040908080706 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Laurent Desnogues wrote: > On Tue, Jun 24, 2008 at 11:32 AM, Sudheer Papothi > wrote: > >> qemu: fatal: Bad mode 0 >> > > Your kernel is probably writing some undefined mode in > the CPSR. Most implementations will translate that to > another valid mode, qemu doesn't. > > > Laurent > > > > Thanks Laurent ARM Linux kernel is built with arm-gnu-eabi cross compiler toolchain (from code sourcery). I dont think this will be a problem (correct me if i am wrong). It creates normal zImage as well as uImage (with the help of mkimage ) Can you please brief the point /*"Most implementations will translate that to another valid mode, qemu does n't"*/ Can you please suggest any other options to test/debug my basic linux kernel image as I dont have the real hardware yet. -- Thanks & Regards Sudheer --------------000600010106040908080706 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Laurent Desnogues wrote:
On Tue, Jun 24, 2008 at 11:32 AM, Sudheer Papothi
<sudheer.papothi@amd.com> wrote:
  
qemu: fatal: Bad mode 0
    

Your kernel is probably writing some undefined mode in
the CPSR.  Most implementations will translate that to
another valid mode, qemu doesn't.


Laurent



  

Thanks Laurent

ARM Linux kernel is built with arm-gnu-eabi  cross  compiler toolchain (from code sourcery).

I dont think this will be a problem (correct me if i am wrong). It creates normal zImage as well as uImage (with the help of mkimage )

Can you please brief the point "Most implementations will translate that to another valid mode, qemu does n't"

Can you please  suggest any other options to test/debug my basic linux kernel image as I dont have the real hardware yet.
-- 
Thanks & Regards
Sudheer


--------------000600010106040908080706--