qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] MIPS little endian system emulation?
@ 2006-01-11 11:56 Domen Puncer
  2006-01-11 12:11 ` [Qemu-devel] " Domen Puncer
  2006-01-12 21:26 ` [Qemu-devel] " Fabrice Bellard
  0 siblings, 2 replies; 4+ messages in thread
From: Domen Puncer @ 2006-01-11 11:56 UTC (permalink / raw)
  To: qemu-devel

Hi.

What would need to be done for qemu to support little endian system
emulation?
I tried changing kernel config, to "support" little endian, and it
even builds it. When i try to boot it with qemu-system-mips it...
well... doesn't do anything.

I'm guessing that I need something like qemu-system-mipsel?
Any hints on how to easily (if that's possible) provide it?

Thank you in advance.


	Domen

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

* [Qemu-devel] Re: MIPS little endian system emulation?
  2006-01-11 11:56 [Qemu-devel] MIPS little endian system emulation? Domen Puncer
@ 2006-01-11 12:11 ` Domen Puncer
  2006-01-11 16:37   ` Johannes Schindelin
  2006-01-12 21:26 ` [Qemu-devel] " Fabrice Bellard
  1 sibling, 1 reply; 4+ messages in thread
From: Domen Puncer @ 2006-01-11 12:11 UTC (permalink / raw)
  Cc: qemu-devel

On 11/01/06 12:56 +0100, Domen Puncer wrote:
> Hi.
> 
> What would need to be done for qemu to support little endian system
> emulation?
> I tried changing kernel config, to "support" little endian, and it
> even builds it. When i try to boot it with qemu-system-mips it...
> well... doesn't do anything.
> 
> I'm guessing that I need something like qemu-system-mipsel?
> Any hints on how to easily (if that's possible) provide it?

Hah, crazy, I changed this, and it worked:

--- qemu-0.8.0/configure	2005-12-19 23:51:53.000000000 +0100
+++ qemu/configure	2006-01-11 12:59:38.000000000 +0100
@@ -229,7 +229,7 @@
 
 if test -z "$target_list" ; then
 # these targets are portable
-    target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu arm-softmmu"
+    target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu arm-softmmu mipsel-softmmu"
 # the following are Linux specific
     if [ "$linux" = "yes" ] ; then
         target_list="i386-user arm-user armeb-user sparc-user ppc-user mips-user mipsel-user $target_list"


Sorry for the noise.
	 
> 
> Thank you in advance.
> 
> 
> 	Domen

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

* Re: [Qemu-devel] Re: MIPS little endian system emulation?
  2006-01-11 12:11 ` [Qemu-devel] " Domen Puncer
@ 2006-01-11 16:37   ` Johannes Schindelin
  0 siblings, 0 replies; 4+ messages in thread
From: Johannes Schindelin @ 2006-01-11 16:37 UTC (permalink / raw)
  To: qemu-devel

Hi,

On Wed, 11 Jan 2006, Domen Puncer wrote:

> --- qemu-0.8.0/configure	2005-12-19 23:51:53.000000000 +0100
> +++ qemu/configure	2006-01-11 12:59:38.000000000 +0100
> @@ -229,7 +229,7 @@
>  
>  if test -z "$target_list" ; then
>  # these targets are portable
> -    target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu arm-softmmu"
> +    target_list="i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu arm-softmmu mipsel-softmmu"
>  # the following are Linux specific
>      if [ "$linux" = "yes" ] ; then
>          target_list="i386-user arm-user armeb-user sparc-user ppc-user mips-user mipsel-user $target_list"

BTW configure has this lovely option: "--target-list=LIST"...

Hth,
Dscho

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

* Re: [Qemu-devel] MIPS little endian system emulation?
  2006-01-11 11:56 [Qemu-devel] MIPS little endian system emulation? Domen Puncer
  2006-01-11 12:11 ` [Qemu-devel] " Domen Puncer
@ 2006-01-12 21:26 ` Fabrice Bellard
  1 sibling, 0 replies; 4+ messages in thread
From: Fabrice Bellard @ 2006-01-12 21:26 UTC (permalink / raw)
  To: qemu-devel

Domen Puncer wrote:
> Hi.
> 
> What would need to be done for qemu to support little endian system
> emulation?
> I tried changing kernel config, to "support" little endian, and it
> even builds it. When i try to boot it with qemu-system-mips it...
> well... doesn't do anything.
> 
> I'm guessing that I need something like qemu-system-mipsel?
> Any hints on how to easily (if that's possible) provide it?

Hi,

I see no reason why the mipsel system emulation cannot be implemented in 
the existing qemu-system-mips with a dynamic switch (I was told that 
some MIPS processor have a bit to dynamically select the endianness). I 
would really prefer that compared to a new target. Note that I added a 
new target for user mode mipsel and armeb just because it would have 
been difficult and inefficient to switch the endianness dynamically in 
the Linux system call converter...

Fabrice.

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

end of thread, other threads:[~2006-01-12 21:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-11 11:56 [Qemu-devel] MIPS little endian system emulation? Domen Puncer
2006-01-11 12:11 ` [Qemu-devel] " Domen Puncer
2006-01-11 16:37   ` Johannes Schindelin
2006-01-12 21:26 ` [Qemu-devel] " Fabrice Bellard

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