Emulatin Big Endian ARM system with QEMU

╄→гoц情女王★ 提交于 2020-01-15 07:11:48

问题


Is it possible to compile some Linux Kernel and run it over QEMU, emulating some Big Endian ARM processor?

If QEMU is not capable of that, I'd love to hear about other system emulators than can.

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!


回答1:


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.

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.



来源:https://stackoverflow.com/questions/41571643/emulatin-big-endian-arm-system-with-qemu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!