From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Using QEMU for embedded systems
Date: Thu, 17 Feb 2005 15:40:22 +0100 [thread overview]
Message-ID: <1108651221.21864.307.camel@rapid> (raw)
In-Reply-To: <87ll9nhc8l.fsf@p4.48ers.dk>
On Thu, 2005-02-17 at 08:33, Peter Korsgaard wrote:
> >>>>> "Waqqas" == Waqqas Jabbar <waqqas_jabbar@yahoo.com> writes:
> Waqqas> I was thinking if qemu can emulate a complete PC, then it
> Waqqas> might be a good canditate to use in embedded system
> Waqqas> development to emulate a board. What do you think about it.
>
> I have been playing a bit around with that as well. I have modified
> the PPC prep target to match one of our embedded systems (IBM405
> based).
>
> It's pretty basic, but I do get the first text out on the serial port
> ;) - I'll need to implement some 40x specific instructions to continue.
PPC 4xx support is planned. I already have a kernel emulation of 405
specific user-mode instructions, implemented like FP emulation. The goal
is to be able to test PPC405 executables on standard ones (ie on Mac
hw).
I can quite easily transpose this in qemu.
There's a lack of OEA specific instructions but most of them can be
implemented with no-op. TLB management must be added, it may be really
near the MIPS software TLB management (posted here a few days ago,
message ID <1108309390.3148.12.camel@rapid>).
DCR is quite like direct devices IOs, it should be quite easy to do
efficientl,y quite like IO in softmmu, using a table of callbacks for
read & writes, imho.
The big part missing is the hardware emulation of 4xx internal devices.
What is mandatory to boot is:
- external bus controller
- memory controller
- timers & watchdog
- interrupt controller
- some GPIOs control may be needed
- serial ports (which are not 16550 compatibles).
Some other special SPRs may also be needed...
I think most of the work to do is there, in hw emulation.
I have a lack of detailed documentation about PPC 401. So, some links
would be appreciated....
--
J. Mayer <l_indien@magic.fr>
Never organized
next prev parent reply other threads:[~2005-02-17 14:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-16 14:38 [Qemu-devel] Using QEMU for embedded systems Waqqas Jabbar
2005-02-16 23:37 ` Mike Swanson
2005-02-17 7:33 ` Peter Korsgaard
2005-02-17 8:36 ` Waqqas Jabbar
2005-02-20 20:39 ` Peter Korsgaard
2005-02-17 14:40 ` J. Mayer [this message]
2005-02-17 15:05 ` Thayne Harbaugh
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=1108651221.21864.307.camel@rapid \
--to=l_indien@magic.fr \
--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).