* [Bug 1877706] Re: [Feature request] qemu does not support for Octeon MIPS64 on X86
2020-05-09 4:04 [Bug 1877706] [NEW] [Feature request] qemu does not support for Octeon MIPS64 on X86 Lu Haocong
@ 2020-05-09 7:36 ` Aleksandar Markovic
2020-05-25 14:49 ` Laurent Vivier
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Aleksandar Markovic @ 2020-05-09 7:36 UTC (permalink / raw)
To: qemu-devel
Probably not, but there may be a workaround. The closest cpu to Octeon
that is supported in QEMU is "MIPS64R2-generic".
Please try using switch -cpu MIPS64R2-generic in your QEMU command line.
Also, I think you should use qemu-mipsn32 rather than qemu-mips or qemu-
mips64.
I don't have much hope that all this will work, but it is worth trying.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1877706
Title:
[Feature request] qemu does not support for Octeon MIPS64 on X86
Status in QEMU:
New
Bug description:
Description of problem:
I use mips64-octeon-linux-gnu-gcc cross toolchain on X86,and generate
binary file.
> mips64-octeon-linux-gnu-gcc hello.c -static
> file a.out
> a.out: ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, not stripped
I execute it with mips64-linux-user mode in qemu, it is invalid.
> ./qemu-5.0.0/mips64-linux-user/qemu-mips64 a.out
> a.out: Invalid ELF image for this architecture
when I choose mips-linux-user mode, it regards as illegal instruction.
> ./qemu-5.0.0/mips-linux-user/qemu-mips a.out
> qemu: uncaught target signal 4 (Illegal instruction) - core dumped
> Illegal instruction (core dumped)
I would like to know, is this due to my problem or does qemu not
support Octeon MIPS64 on X86?
if qemu has supported Octeon MIPS64 on X86, how can I emulate it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1877706/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 1877706] Re: [Feature request] qemu does not support for Octeon MIPS64 on X86
2020-05-09 4:04 [Bug 1877706] [NEW] [Feature request] qemu does not support for Octeon MIPS64 on X86 Lu Haocong
2020-05-09 7:36 ` [Bug 1877706] " Aleksandar Markovic
@ 2020-05-25 14:49 ` Laurent Vivier
2020-05-25 19:04 ` Aleksandar Markovic
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Laurent Vivier @ 2020-05-25 14:49 UTC (permalink / raw)
To: qemu-devel
** Tags added: linux-user
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1877706
Title:
[Feature request] qemu does not support for Octeon MIPS64 on X86
Status in QEMU:
New
Bug description:
Description of problem:
I use mips64-octeon-linux-gnu-gcc cross toolchain on X86,and generate
binary file.
> mips64-octeon-linux-gnu-gcc hello.c -static
> file a.out
> a.out: ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, not stripped
I execute it with mips64-linux-user mode in qemu, it is invalid.
> ./qemu-5.0.0/mips64-linux-user/qemu-mips64 a.out
> a.out: Invalid ELF image for this architecture
when I choose mips-linux-user mode, it regards as illegal instruction.
> ./qemu-5.0.0/mips-linux-user/qemu-mips a.out
> qemu: uncaught target signal 4 (Illegal instruction) - core dumped
> Illegal instruction (core dumped)
I would like to know, is this due to my problem or does qemu not
support Octeon MIPS64 on X86?
if qemu has supported Octeon MIPS64 on X86, how can I emulate it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1877706/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 1877706] Re: [Feature request] qemu does not support for Octeon MIPS64 on X86
2020-05-09 4:04 [Bug 1877706] [NEW] [Feature request] qemu does not support for Octeon MIPS64 on X86 Lu Haocong
2020-05-09 7:36 ` [Bug 1877706] " Aleksandar Markovic
2020-05-25 14:49 ` Laurent Vivier
@ 2020-05-25 19:04 ` Aleksandar Markovic
2020-05-28 6:52 ` Thomas Huth
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Aleksandar Markovic @ 2020-05-25 19:04 UTC (permalink / raw)
To: qemu-devel
Hi, Lu.
Where can I download Octeon toolchain you used?
I want to try it by myself.
Aleksandar
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1877706
Title:
[Feature request] qemu does not support for Octeon MIPS64 on X86
Status in QEMU:
New
Bug description:
Description of problem:
I use mips64-octeon-linux-gnu-gcc cross toolchain on X86,and generate
binary file.
> mips64-octeon-linux-gnu-gcc hello.c -static
> file a.out
> a.out: ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, not stripped
I execute it with mips64-linux-user mode in qemu, it is invalid.
> ./qemu-5.0.0/mips64-linux-user/qemu-mips64 a.out
> a.out: Invalid ELF image for this architecture
when I choose mips-linux-user mode, it regards as illegal instruction.
> ./qemu-5.0.0/mips-linux-user/qemu-mips a.out
> qemu: uncaught target signal 4 (Illegal instruction) - core dumped
> Illegal instruction (core dumped)
I would like to know, is this due to my problem or does qemu not
support Octeon MIPS64 on X86?
if qemu has supported Octeon MIPS64 on X86, how can I emulate it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1877706/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 1877706] Re: [Feature request] qemu does not support for Octeon MIPS64 on X86
2020-05-09 4:04 [Bug 1877706] [NEW] [Feature request] qemu does not support for Octeon MIPS64 on X86 Lu Haocong
` (2 preceding siblings ...)
2020-05-25 19:04 ` Aleksandar Markovic
@ 2020-05-28 6:52 ` Thomas Huth
2020-11-17 9:50 ` Thomas Huth
2020-11-17 10:57 ` Philippe Mathieu-Daudé
5 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2020-05-28 6:52 UTC (permalink / raw)
To: qemu-devel
** Changed in: qemu
Importance: Undecided => Wishlist
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1877706
Title:
[Feature request] qemu does not support for Octeon MIPS64 on X86
Status in QEMU:
New
Bug description:
Description of problem:
I use mips64-octeon-linux-gnu-gcc cross toolchain on X86,and generate
binary file.
> mips64-octeon-linux-gnu-gcc hello.c -static
> file a.out
> a.out: ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, not stripped
I execute it with mips64-linux-user mode in qemu, it is invalid.
> ./qemu-5.0.0/mips64-linux-user/qemu-mips64 a.out
> a.out: Invalid ELF image for this architecture
when I choose mips-linux-user mode, it regards as illegal instruction.
> ./qemu-5.0.0/mips-linux-user/qemu-mips a.out
> qemu: uncaught target signal 4 (Illegal instruction) - core dumped
> Illegal instruction (core dumped)
I would like to know, is this due to my problem or does qemu not
support Octeon MIPS64 on X86?
if qemu has supported Octeon MIPS64 on X86, how can I emulate it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1877706/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 1877706] Re: [Feature request] qemu does not support for Octeon MIPS64 on X86
2020-05-09 4:04 [Bug 1877706] [NEW] [Feature request] qemu does not support for Octeon MIPS64 on X86 Lu Haocong
` (3 preceding siblings ...)
2020-05-28 6:52 ` Thomas Huth
@ 2020-11-17 9:50 ` Thomas Huth
2020-11-17 10:57 ` Philippe Mathieu-Daudé
5 siblings, 0 replies; 7+ messages in thread
From: Thomas Huth @ 2020-11-17 9:50 UTC (permalink / raw)
To: qemu-devel
Was the MIPS64R2-generic good enough for you?
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1877706
Title:
[Feature request] qemu does not support for Octeon MIPS64 on X86
Status in QEMU:
Incomplete
Bug description:
Description of problem:
I use mips64-octeon-linux-gnu-gcc cross toolchain on X86,and generate
binary file.
> mips64-octeon-linux-gnu-gcc hello.c -static
> file a.out
> a.out: ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, not stripped
I execute it with mips64-linux-user mode in qemu, it is invalid.
> ./qemu-5.0.0/mips64-linux-user/qemu-mips64 a.out
> a.out: Invalid ELF image for this architecture
when I choose mips-linux-user mode, it regards as illegal instruction.
> ./qemu-5.0.0/mips-linux-user/qemu-mips a.out
> qemu: uncaught target signal 4 (Illegal instruction) - core dumped
> Illegal instruction (core dumped)
I would like to know, is this due to my problem or does qemu not
support Octeon MIPS64 on X86?
if qemu has supported Octeon MIPS64 on X86, how can I emulate it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1877706/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 1877706] Re: [Feature request] qemu does not support for Octeon MIPS64 on X86
2020-05-09 4:04 [Bug 1877706] [NEW] [Feature request] qemu does not support for Octeon MIPS64 on X86 Lu Haocong
` (4 preceding siblings ...)
2020-11-17 9:50 ` Thomas Huth
@ 2020-11-17 10:57 ` Philippe Mathieu-Daudé
5 siblings, 0 replies; 7+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-11-17 10:57 UTC (permalink / raw)
To: qemu-devel
If your file is "ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1",
then you have to use the mipsn32-linux-user variant of QEMU (binary 'qemu-mipsn32').
** Changed in: qemu
Status: Incomplete => Invalid
** Tags added: mips
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1877706
Title:
[Feature request] qemu does not support for Octeon MIPS64 on X86
Status in QEMU:
Invalid
Bug description:
Description of problem:
I use mips64-octeon-linux-gnu-gcc cross toolchain on X86,and generate
binary file.
> mips64-octeon-linux-gnu-gcc hello.c -static
> file a.out
> a.out: ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, not stripped
I execute it with mips64-linux-user mode in qemu, it is invalid.
> ./qemu-5.0.0/mips64-linux-user/qemu-mips64 a.out
> a.out: Invalid ELF image for this architecture
when I choose mips-linux-user mode, it regards as illegal instruction.
> ./qemu-5.0.0/mips-linux-user/qemu-mips a.out
> qemu: uncaught target signal 4 (Illegal instruction) - core dumped
> Illegal instruction (core dumped)
I would like to know, is this due to my problem or does qemu not
support Octeon MIPS64 on X86?
if qemu has supported Octeon MIPS64 on X86, how can I emulate it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1877706/+subscriptions
^ permalink raw reply [flat|nested] 7+ messages in thread