PowerPC 仿真:Qemu、PearPC,还是...?
我目前正在尝试构建一个配置来测试大端系统上的一些代码。
通过聊天和研究,我确信这些测试的一个很好的目标是 PowerPC 架构。由于我没有,并且不希望很快就能直接访问它,因此我正在寻找某种模拟软件来测试我的代码。
问题是,我在这个领域没有找到“易于使用”的解决方案。
看起来至少有2种可能的解决方案,一种使用QEMU,另一种使用PearPC。它们都不容易部署。
我的看法是:
我想要像部署 VMWare 虚拟机一样简单的东西,以及一个可以立即使用和下载的简单 Ghost VM。
附加信息:我相信 PowerPC 上的 Linux 可能是更好的操作系统选择,因为模拟 MAC 环境可能会破坏许可证。我想 QEMU 也比 PearPC 更最新、更受支持。主机系统可以是Windows或Linux。主机 CPU 必须是 x86。
I'm currently trying to build a configuration to test some code on Big-Endian systems.
Through chats and research, i've been convinced that a good target for these tests would be the PowerPC architecture. Since i don't own one, and don't expect to get direct access to one anytime soon, i'm looking for some kind of emulation software to test my code.
Problem is, i've found no "easy to use" solution in this area.
It seems there are at least 2 possibles solutions, one using QEMU, and the other one using PearPC. None of them is really easy to deploy.
The way i see it :
I would like something as simple as deploying a VMWare virtual machine, with a simple ghost VM ready-to-use and to download.
Additional info : I believe Linux on PowerPC is probably the better OS choice here, since emulating a MAC environment is likely to break license. I guess QEMU is also more up-to-date and supported than PearPC. Host system can be either Windows or Linux. Host CPU must be x86.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在 Windows 上,完整的步骤是 -
现在打开 cygwin 终端并转到终端内的 qemu 文件夹,然后输入-
./qemu-system-ppc -L Bios powerpc_linux.qcow2 -net nic -net user -m 1024
仅此处将虚拟机名称 powerpc_linux.qcow2 更改为正确的名称。
On Windows, the complete steps are-
Now open a cygwin terminal and go to the qemu folder inside the terminal, then type-
./qemu-system-ppc -L Bios powerpc_linux.qcow2 -net nic -net user -m 1024
Here only change the VM name powerpc_linux.qcow2 to the correct one.
此地址提供了一些相当新的 QEMU Windows 二进制文件:
http://lassauge.free.fr/qemu/
此外,Aurelien Jarno 已经准备了一些适用于各种架构(包括 PowerPC)的 Ready-to-download VM,可以在以下地址下载:
http://blog.aurel32.net/46
There are some fairly recent Windows Binaries of QEMU available at this address :
http://lassauge.free.fr/qemu/
Furthermore, some Ready-to-download VM for various architectures, including PowerPC, have been prepared by Aurelien Jarno, and can be downloaded at this adress :
http://blog.aurel32.net/46
这是启动 powerpc 虚拟机的简单方法。
https://github.com/nongiach/arm_now
有关如何使用它的更多示例:https://github.com/nongiach/arm_now/wiki/5.3-Compile-and-play-2048-on-ARM,-MIPS-and-PowerPc64-within-a-一分钟
Here is an easy way to start a powerpc virtual machine.
https://github.com/nongiach/arm_now
More example of how to use it: https://github.com/nongiach/arm_now/wiki/5.3-Compile-and-play-2048-on-ARM,-MIPS-and-PowerPc64-within-a-minute