All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dushyant Bansal <cs5070214@cse.iitd.ac.in>
To: Rob Landley <rob@landley.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Emulating powerpc 440EP with qemu-system-ppcemb
Date: Mon, 24 Jan 2011 00:31:02 +0530	[thread overview]
Message-ID: <4D3C7AEE.2020204@cse.iitd.ac.in> (raw)
In-Reply-To: <4D3C76A4.4010208@landley.net>

[-- Attachment #1: Type: text/plain, Size: 1935 bytes --]

On Monday 24 January 2011 12:12 AM, Rob Landley wrote:
> On 01/23/2011 06:59 AM, Dushyant Bansal wrote:
>    
>> Hi all,
>>
>> I have configured and built qemu with device tree support.
>> qemu-version: 0.13.50
>> I have built kernel image (uImage) for bamboo using powerpc-440 toolchain.
>> kernel-version: 2.6.37-rc6+
>>
>> When  I try to run this command,
>> # qemu-system-ppcemb -nographic -m 128 -M bamboo -kernel uImage  -append ""
>>
>> I get the following output and qemu just hangs there:
>> Trying to read privileged spr 947 3b3 at 00001028
>> Trying to read invalid spr 62 03e at 00000778
>>
>> Has anyone tried to emulate bamboo with qemu before ?
>>
>> Thanks,
>> Dushyant
>>      
> In my Aboriginal Linux project (http://landley.net/aboriginal) I have a
> config that builds a ppc440 cross compiler and builds a root filesystem
> and kernel with it, but the kernel .config is bog standard 32 bit PPC
> (mac99 board I think).  It boots and runs, gives you a shell prompt, but
> occasionally misbehaves you try to do anything fancy with it.
>
>    
I am also using 
<http://www.landley.net/aboriginal/downloads/binaries/cross-compiler-powerpc-440fp.tar.bz2>"cross-compiler-powerpc-440fp" 
from the aboriginal project 
(http://www.landley.net/aboriginal/downloads/binaries/) to build the 
kernel image :).
> Last I checked, the bamboo board was implemented for KVM not QEMU, and
> QEMU didn't have a ppc440 processor emulation.  But that was over a year
> ago, things could easily have changed...
>    
Yes, qemu supports ppc440(bamboo).

$ qemu-system-ppcemb -M ?
Supported machines are:
mpc8544ds  mpc8544ds
bamboo     bamboo
ref405ep   ref405ep
taihu      taihu
mac99      Mac99 based PowerMAC
g3beige    Heathrow based PowerMAC (default)
prep       PowerPC PREP platform

> What kernel .config are you using for the bamboo kernel?
>
> Rob
>
>    
I am using arch/powerpc/configs/44x/bamboo_defconfig.

Thanks,
Dushyant

[-- Attachment #2: Type: text/html, Size: 2850 bytes --]

  reply	other threads:[~2011-01-23 19:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-23 12:59 [Qemu-devel] Emulating powerpc 440EP with qemu-system-ppcemb Dushyant Bansal
2011-01-23 18:42 ` Rob Landley
2011-01-23 19:01   ` Dushyant Bansal [this message]
2011-01-23 19:21     ` Rob Landley
2011-01-23 19:52       ` Dushyant Bansal
2011-01-23 22:21         ` Rob Landley
2011-01-23 19:52   ` Andreas Färber
2011-01-23 20:08     ` Dushyant Bansal
2011-01-23 21:00       ` Edgar E. Iglesias
2011-01-23 22:11     ` Alexander Graf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D3C7AEE.2020204@cse.iitd.ac.in \
    --to=cs5070214@cse.iitd.ac.in \
    --cc=qemu-devel@nongnu.org \
    --cc=rob@landley.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.