qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Shin-ichiro KAWASAKI <kawasaki@juno.dti.ne.jp>
To: qemu-devel@nongnu.org
Cc: Takashi Yoshii <yoshii.takashi@renesas.com>,
	Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>,
	"linux-sh@vger.kernel.org" <linux-sh@vger.kernel.org>
Subject: sh: Virtual Board or Real board? (was Re: [Qemu-devel] [PATCH 1/3] sh: SE7750 board definition)
Date: Sat, 24 Jan 2009 14:46:40 +0900	[thread overview]
Message-ID: <497AAB40.7010608@juno.dti.ne.jp> (raw)
In-Reply-To: <200901211706.09350.paul@codesourcery.com>

Paul Brook wrote:
>> Now, I hope that we would reach a consensus about the spec of new standard
>> board for SH-4A.  SH7785LCR is a choice.  And, as Iwamatsu-san suggested, a
>> virtual generic board is another choice.  I'm not sure SH7785LCR's hardware
>> spec is available or not. (Does anyone know it?)  If it is, I push
>> SH7785LCR.  Otherwise, virtual board sounds good.
> 
> I recommend against using a virtual board. It means you have to maintain both 
> qemu and a kernel port. The mips virtual board suffered exactly this fate, 
> and IIUC is likely to be removed fairly soon.

Thank you for your comment.  As you pointed out, we need to maintain kernel
config for virtual board.  SH-Linux developpers' help is important.
I guess we can expect Iwamatsu-san's help :)  And once Paul Mundt
supported special kernel configuration for QEMU-SH kindly.


I try to clarify the difference of real board and virtual board, as follows.

* Real board

- We can compare the emulated system with the real board.  The specification
  is not vague, and deffects can be investitated by comaparison.

- No need to maintain kernel, and it can avoid the risk the maintenance
  work would be terminated, as Paul Brook pointed out.


* Virtual board

- It decreases the number of supported boards, and avoid messy many board
  supports.  SuperH series have many CPU sub tyepes, and as number of
  supported CPU types increase, number of suppoted boards will increase.
  (Iwamatsu-san pointed it out.)

- It avoids rare peripheral support by QEMU.
  Sometimes embedded boards have rare peripheral on it.
     e.g.) RTL8139B (below Rev.C). on R2D+.
           http://lists.gnu.org/archive/html/qemu-devel/2008-12/msg00961.html
  If we make the virtual board have standard peripheral (e.g. RTL8139C),
  we can reuse peripheral implemenation qualified with other board for other
  CPU arch, and avoid messy many type peripheral support.

I'm not sure if QEMU's policy exists or not for this kind of choice.

We can support both of them in the future.  But I think it is important
to make consensus which should be the default and standard for QEMU-SH,
to decide to which we'll try to contribute.

I'd like to your comments on them.


Regards,
Shin-ichiro KAWASAKI

  reply	other threads:[~2009-01-24  5:46 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-11  9:10 [Qemu-devel] [PATCH 1/3] sh: SE7750 board definition Shin-ichiro KAWASAKI
2009-01-11 12:57 ` Edgar E. Iglesias
2009-01-11 13:04 ` Jean-Christophe PLAGNIOL-VILLARD
2009-01-12  3:48   ` Shin-ichiro KAWASAKI
2009-01-12 12:49     ` Paul Mundt
2009-01-13  2:32       ` Nobuhiro Iwamatsu
2009-01-13  6:28         ` Jean-Christophe PLAGNIOL-VILLARD
2009-01-15  1:25           ` Nobuhiro Iwamatsu
2009-01-13  7:46         ` Laurent Desnogues
2009-01-24 17:59           ` Shin-ichiro KAWASAKI
2009-01-13 13:36         ` Shin-ichiro KAWASAKI
2009-01-15  1:46           ` Nobuhiro Iwamatsu
2009-01-17 10:45             ` Shin-ichiro KAWASAKI
2009-01-17 11:16               ` Jean-Christophe PLAGNIOL-VILLARD
2009-01-21  9:04           ` Paul Mundt
2009-01-21 16:51             ` Shin-ichiro KAWASAKI
2009-01-21 17:06               ` Paul Brook
2009-01-24  5:46                 ` Shin-ichiro KAWASAKI [this message]
2009-01-27  0:43                   ` sh: Virtual Board or Real board? (was Re: [Qemu-devel] [PATCH 1/3] sh: SE7750 board definition) Paul Mundt
2009-02-01 13:50                     ` Shin-ichiro KAWASAKI
2009-01-21 19:01               ` [Qemu-devel] [PATCH 1/3] sh: SE7750 board definition Jean-Christophe PLAGNIOL-VILLARD

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=497AAB40.7010608@juno.dti.ne.jp \
    --to=kawasaki@juno.dti.ne.jp \
    --cc=iwamatsu.nobuhiro@renesas.com \
    --cc=linux-sh@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=yoshii.takashi@renesas.com \
    /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).