qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Port Qemu to another ARM platform
Date: Wed, 9 Aug 2006 16:56:26 +0100	[thread overview]
Message-ID: <200608091656.28219.paul@codesourcery.com> (raw)
In-Reply-To: <20060809151842.BC1B57F979@mail2.crypto.ruhr-uni-bochum.de>

> > > Is there a documents available which decribes how to port qemu to
> > > another ARM platform or something similar?
> >
> > Not really. However qemu already supports a few different Arm boards, so
> > looking at the source should tell you most of what you need to know.
>
> But the Integrator port is the only ARM926EJ-S port, right? 

The versatile board also uses an Arm926 core (as well as sharing much of the 
device emulation).

> Is everythink platform specific implemented in ./hw/integratorcp.c ?

Yes. There's actually very little board specific code. Almost everything 
(including interrupt controllers) are implemented as independent devices, the 
board specific code just instantiates those devices.

> If my software works on qemu, does it work on a real Integrator board, too?
> Or are there some differences?

There are several bits of of hardware emulation missing (notably flash, MMC 
and AACI).

Partly as a side-effect of this there's no significant bootloaded on the 
emulated board. It knows how to load linux kernels (or I guess and PIC binary 
image), but that's about it.

Also note that qemu isn't even vaguely cycle accurate, and doesn't accurately 
model TLB or cache. It should be sufficient for most applications, but code 
that does sneaky hardware specific things (like assuming a particular TLB 
size or relying on cache/TLB lockdown for correct behavior) will break.

Other than that it should work just like real hardware. I'm sure there are 
bugs if you look hard enough, but that's a somewhat different issue.

Paul

  parent reply	other threads:[~2006-08-09 15:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-08 15:04 [Qemu-devel] Port Qemu to another ARM platform Christian Roepke
2006-08-08 15:12 ` Paul Brook
2006-08-09 15:18   ` Christian Roepke
2006-08-09 15:50     ` [Qemu-devel] asking about nfs server on Windows Tieu Ma Dau
2006-08-09 15:56     ` Paul Brook [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-08-08 13:07 [Qemu-devel] Port Qemu to another ARM platform Christian Roepke

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=200608091656.28219.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=qemu-devel@nongnu.org \
    /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 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).