问题描述
是否可以编译一些Linux内核并通过QEMU运行它,以模拟一些Big Endian ARM处理器?
Is it possible to compile some Linux Kernel and run it over QEMU, emulating some Big Endian ARM processor?
如果QEMU无法做到这一点,我很想听听其他系统模拟器.
If QEMU is not capable of that, I'd love to hear about other system emulators than can.
我的基本目标是在尽可能多的本机环境中运行和调试专用的Big Endian ELF.
My basic goal is to run and debug dedicated Big Endian ELFs in as much as possible native environment.
每个接近的解决方案或想法都将有所帮助!
Every close solution or idea would help!
推荐答案
QEMU支持Big-endian ARM CPU,但目前不支持对具有Big-endian ARM CPU的任何特定机器(板)的仿真.在他们中. ARM Linux内核通常只能在为其编译的硬件上运行,因此,您不能仅采用随机的大端ARM Linux内核并在任何对象上运行它-您需要对内核想要的硬件进行建模首先见.
QEMU has support for big-endian ARM CPUs, but it does not currently have support for emulation of any specific machines (boards) which have big-endian ARM CPUs in them. ARM Linux kernels will generally only run on the hardware they're compiled for, so you can't just take a random big-endian ARM Linux kernel and run it on anything -- you'd need to model the hardware the kernel wanted to see first.
造成这种情况的根本原因是大端ARM系统很少见-几乎每个人都以低端模式运行ARM CPU,而今天的所有QEMU主板都是低端模式.
The underlying reason for this is that big-endian ARM systems are very rare -- almost everybody runs ARM CPUs in little-endian mode, and all the boards QEMU models today are little-endian.
这篇关于带有QEMU的Emulatin Big Endian ARM系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!