From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=37898 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ph5E0-0003by-Tz for qemu-devel@nongnu.org; Sun, 23 Jan 2011 14:03:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ph5Dz-0004sL-QN for qemu-devel@nongnu.org; Sun, 23 Jan 2011 14:03:44 -0500 Received: from smtp1.iitd.ernet.in ([202.141.68.45]:59486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ph5Dx-0004sC-L9 for qemu-devel@nongnu.org; Sun, 23 Jan 2011 14:03:43 -0500 Message-ID: <4D3C7AEE.2020204@cse.iitd.ac.in> Date: Mon, 24 Jan 2011 00:31:02 +0530 From: Dushyant Bansal MIME-Version: 1.0 Subject: Re: [Qemu-devel] Emulating powerpc 440EP with qemu-system-ppcemb References: <4D3C262F.5080304@cse.iitd.ac.in> <4D3C76A4.4010208@landley.net> In-Reply-To: <4D3C76A4.4010208@landley.net> Content-Type: multipart/alternative; boundary="------------040602010205010007040703" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rob Landley Cc: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------040602010205010007040703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 "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 --------------040602010205010007040703 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 "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
--------------040602010205010007040703--