All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Why does qemu not support qemu-system-armeb?
@ 2014-06-14 13:49 Ljun
  2014-06-15  9:08 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Ljun @ 2014-06-14 13:49 UTC (permalink / raw)
  To: qemu-devel

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

Hello everyone,I am working on big endian for arm.I change the qemu configure and create a qemu-system-armeb,but I want to know qemu whether support armeb-softmmu. 

Software engineer ,Ljun

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

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

* Re: [Qemu-devel] Why does qemu not support qemu-system-armeb?
  2014-06-14 13:49 [Qemu-devel] Why does qemu not support qemu-system-armeb? Ljun
@ 2014-06-15  9:08 ` Peter Maydell
  2014-06-15 13:58   ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2014-06-15  9:08 UTC (permalink / raw)
  To: Ljun; +Cc: qemu-devel

On 14 June 2014 14:49, Ljun <1275151072@qq.com> wrote:
> Hello everyone,I am working on big endian for arm.I change the qemu
> configure and create a qemu-system-armeb,but I want to know qemu whether
> support armeb-softmmu.

The answer to "why is there no qemu-system-armeb" is in two parts:

(1) We don't support big-endian system emulation. There would need
to be work done to implement this beyond just enabling an extra
configuration.

(2) If we did support big-endian system emulation, the right way
to implement this would be to keep it in qemu-system-arm, and
just have the CPU support the various control bits (SCTLR.B,
SCTLR.EE, CPSR.E, etc).

(3) We would need a model of some actual board which used
a CPU in big-endian mode. (These days if it's purely for a
virtual machine you could use the "virt" board, though.)

Are you interested in big-endian emulation:
 * in 64-bit (AArch64/ARM64) ?
 * in 32-bit v7 (what the ARM ARM calls "BE8") ?
 * old-fashioned ARMv5 style ("BE32") ?

thanks
-- PMM

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

* Re: [Qemu-devel] Why does qemu not support qemu-system-armeb?
  2014-06-15  9:08 ` Peter Maydell
@ 2014-06-15 13:58   ` Paolo Bonzini
       [not found]     ` <tencent_10F11DF35D1B1C76206D9165@qq.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2014-06-15 13:58 UTC (permalink / raw)
  To: Peter Maydell, Ljun; +Cc: qemu-devel

Il 15/06/2014 11:08, Peter Maydell ha scritto:
> On 14 June 2014 14:49, Ljun <1275151072@qq.com> wrote:
>> Hello everyone,I am working on big endian for arm.I change the qemu
>> configure and create a qemu-system-armeb,but I want to know qemu whether
>> support armeb-softmmu.
>
> The answer to "why is there no qemu-system-armeb" is in two parts:
>
> (1) We don't support big-endian system emulation. There would need
> to be work done to implement this beyond just enabling an extra
> configuration.
>
> (2) If we did support big-endian system emulation, the right way
> to implement this would be to keep it in qemu-system-arm, and
> just have the CPU support the various control bits (SCTLR.B,
> SCTLR.EE, CPSR.E, etc).

Also, I have redone my setend patches to support SCTLR.B too, but I have 
yet to submit them.  I have no idea how to test them. :)

Paolo

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

* Re: [Qemu-devel] =?gb18030?b?u9i4tKO6UmU6IFdoeSBkb2VzIHFlbXUgbm90IHN1?= =?gb18030?q?pport_qemu-system-armeb=3F?=
       [not found]     ` <tencent_10F11DF35D1B1C76206D9165@qq.com>
@ 2014-06-16 14:52       ` Paolo Bonzini
  0 siblings, 0 replies; 4+ messages in thread
From: Paolo Bonzini @ 2014-06-16 14:52 UTC (permalink / raw)
  To: Ljun, qemu-devel

Il 16/06/2014 15:17, Ljun ha scritto:
> I am very glad to you have finished the patch for qemu-system-armeb.I
> have seriously read your patch in 29 May about the armeb. I want to know
> two points:
> 1) whether combined your patch into the qemu , it can support
> qemu-system-armeb .Do I need to do otherthings?

Actually the binary will still be called qemu-system-arm, and should 
support both endiannesses.

> 2) whether you have a plan to verify the patch and submit it?

I plan to send it this week.  Help with testing will be welcome.

Paolo

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

end of thread, other threads:[~2014-06-16 14:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-14 13:49 [Qemu-devel] Why does qemu not support qemu-system-armeb? Ljun
2014-06-15  9:08 ` Peter Maydell
2014-06-15 13:58   ` Paolo Bonzini
     [not found]     ` <tencent_10F11DF35D1B1C76206D9165@qq.com>
2014-06-16 14:52       ` [Qemu-devel] =?gb18030?b?u9i4tKO6UmU6IFdoeSBkb2VzIHFlbXUgbm90IHN1?= =?gb18030?q?pport_qemu-system-armeb=3F?= Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.