如何在 x86 平台上运行 MIPS 二进制文件? [英] How to run a MIPS binary on x86 platform?
问题描述
有没有办法在 Linux x86/x86-x64 机器上运行 MIPS 二进制文件?我有一些 Enigma2 机顶盒(也基于 Linux)的应用程序,我想在 x86/x86-64 机器上运行.这些插件仅适用于 MIPS 处理器.
关键字是 "emulator".最著名的模拟器是 qemu,它几乎可以模拟任何架构,但也有很多 MIPS您可以在 Linux-MIPS wiki 中找到 Linux 上的模拟器:
<块引用>- 开放虚拟平台 (OVP) OVPsim
- GXemul
- SimOS
- 苏力马
- MIPSsim
- MipsSim
- SPIM
- VMIPS
- Virtutech Simics
- SandUPSim
- 公安部
- YAMS
- MAME/MESS
- 错过
- 思科 7200 模拟器
- QEMU
- 虚拟 MIPS
- 米普
- 火星
- QtMips
请注意,有全系统模拟(更重)和用户模式模拟,模拟单个进程.根据您需要的类型,您必须选择一种,但 qemu 支持两者
<块引用>- 全系统仿真:在任何支持的架构上为任何机器运行操作系统
- 用户模式仿真:在任何支持的架构上为另一个 Linux/BSD 目标运行程序
但是,性能会很糟糕,因此您永远不会希望运行像机顶盒中的视频解码器一样需要快速运行的应用.如果源代码可用,则重新编译它
参见在 x86_64 Ubuntu 下反编译/运行 MIPS 可执行文件
Is there any way to run a MIPS binary on a Linux x86/x86-x64 machine? I got some applications for Enigma2 set-top-boxes (which is also based on Linux) that I want to run on a x86/x86-64 machine. These plugins are only available for MIPS processors.
The keyword is "emulator". The most famous emulator is qemu which can pretty much emulate any architectures out there, but there are also lots of MIPS emulators on Linux that you can find in the Linux-MIPS wiki:
- Open Virtual Platforms (OVP) OVPsim
- GXemul
- SimOS
- Sulima
- MIPSsim
- MipsSim
- SPIM
- VMIPS
- Virtutech Simics
- SandUPSim
- MPS
- YAMS
- MAME/MESS
- MISSE
- Cisco 7200 Simulator
- QEMU
- VirtualMIPS
- Miep
- MARS
- QtMips
Note that there are full-system emulation (which is heavier) and user-mode emulation which emulates a single process. Depending on which type you need you must choose one, but qemu supports both
- Full-system emulation: Run operating systems for any machine, on any supported architecture
- User-mode emulation: Run programs for another Linux/BSD target, on any supported architecture
However performance will be terrible so you'll never want to run an app that need to be fast like a video decoder in a set-top-box. If the source is available then just recompile it
See Decompile / Run MIPS executable under x86_64 Ubuntu
这篇关于如何在 x86 平台上运行 MIPS 二进制文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!