qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] I want to add the ARMv6 instructions, who can give some advices?
@ 2006-06-07 14:58 Laurent DESNOGUES
  0 siblings, 0 replies; 17+ messages in thread
From: Laurent DESNOGUES @ 2006-06-07 14:58 UTC (permalink / raw)
  To: qemu-devel

> Can you reveal to us what exactly your license prohibits, for example
> by pasting that part of the license here?

Though probably different from the license CodeSourcery had to sign,
you can try to download ARMv7-M architecture pdf from ARM site to see
the kind of restriction on has to agree on.

Laurent

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: [Qemu-devel] I want to add the ARMv6 instructions, who can give some advices?
@ 2006-06-07 16:34 Laurent DESNOGUES
  0 siblings, 0 replies; 17+ messages in thread
From: Laurent DESNOGUES @ 2006-06-07 16:34 UTC (permalink / raw)
  To: qemu-devel

> > All the information used to implement the current qemu Arm support is 
> > available from other sources not covered by this licence. I'm confident I 
> > could prove this if necessary.

True for ARMv6, probably not for ARMv7, be it -A, -R or -M.

> In the thread you cited earlier, Wolfgang Schildbach refers to "ARM
> System Developer's Guide", by Sloss, Symes, and Wright, Elsevier 2004
> as documentation that may be sufficient for Qemu ARMv6 support, and
> which is not covered by the license.

Yes.  But you would need instruction encoding that are not in the
book.  You will find them in binutils (opcode directory).

> If ARMv6 support were developed by someone else, using only that book,
> and maybe looking at other code (GCC, Linux etc.), that would prove
> that all the information used is from other sources not covered by the
> license, wouldn't it?

Linux uses a small subset of the System Coprocessor.  If you want
information about ARMv6 cp15, look in ARM TRM (arm11), I don't think
they have any restriction such as ARMv7-M.

> The support might be missing a few features, if the other information
> sources are incomplete, but even incomplete support that can be
> deduced from those sources would be good enough for most purposes.

Certainly yes.  But that's not a small effort :)

But bear in mind a few things:  for instance supersection,
that are ARMv6 specific, were added to Linux kernel in 2.6.13
which is kind of recent;  so if you omit some features, you
might have to add them in one day.

> If that were done, you could prove that the resulting feature in Qemu
> was written using sources not covered by the license.
> 
> So would you have any problem contributing to Qemu after ARMv6 support
> was integrated, if the person who contributes ARMv6 support states
> that they have never seen the ARM document and refers to the sources
> they have used instead?

I think that it could be very difficult to prove you did not
use any official NDA document.  I am doing simulator development
at ARM and would certainly never approach anything v6 or v7
related until information is publically available with no
restriction.

Anyway I am not speaking for ARM :)


Laurent

^ permalink raw reply	[flat|nested] 17+ messages in thread
* [Qemu-devel] I want to add the ARMv6 instructions, who can give some advices?
@ 2006-06-07  7:11 wang lianwei
  2006-06-07 13:35 ` Paul Brook
  0 siblings, 1 reply; 17+ messages in thread
From: wang lianwei @ 2006-06-07  7:11 UTC (permalink / raw)
  To: qemu-devel

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

Hi all,

I want to add the ARMv6 instructions support to the QEMU, and now I am
analysing the QEMU architecture. I think maybe someone has done it or doing
it now.

Can you give me some guide about this work or give your suggestions?

Please talk about it.

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2006-06-07 18:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07 14:58 [Qemu-devel] I want to add the ARMv6 instructions, who can give some advices? Laurent DESNOGUES
  -- strict thread matches above, loose matches on Subject: below --
2006-06-07 16:34 Laurent DESNOGUES
2006-06-07  7:11 wang lianwei
2006-06-07 13:35 ` Paul Brook
2006-06-07 14:38   ` John R.
2006-06-07 14:46     ` Paul Brook
2006-06-07 14:53       ` Jamie Lokier
2006-06-07 15:07         ` Paul Brook
2006-06-07 15:48           ` Jamie Lokier
2006-06-07 15:58             ` Paul Brook
2006-06-07 16:18               ` Jamie Lokier
2006-06-07 16:34                 ` Paul Brook
2006-06-07 17:21                   ` Jamie Lokier
2006-06-07 17:25                     ` Paul Brook
2006-06-07 17:42                       ` John R.
2006-06-07 18:36                       ` Jamie Lokier
2006-06-07 14:46   ` Jamie Lokier

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).