Qemu编译qemu-system-arm

时间:2023-03-09 08:18:05
Qemu编译qemu-system-arm
/*********************************************************************************
* Qemu编译qemu-system-arm
* 说明:
* Ubuntu 16中的Qemu不支持i.mx6芯片,于是用源代码编译一下,编译可以,测试没通过。
*
* 2017-11-30 深圳 南山平山村 曾剑锋
********************************************************************************/ 一、参考文档:
. 【已解决】Ubuntu下配置QEMU出错:ERROR: glib-2.12 required to compile QEMU
https://www.crifan.com/ubuntu_configure_qemu_error_glib_2_12_required_to_compile_qemu/
. ubuntu编译qemu报错:‘ERROR: pixman >= 0.21. not present.’
http://blog.51cto.com/mltyrone/1833903
. Download QEMU
https://www.qemu.org/download/#source
. How to build qemu-system-arm in Linux
https://www.cnx-software.com/2012/03/08/how-to-build-qemu-system-arm-in-linux/ 二、Qemu编译命令:
. sudo apt-get install flex
. sudo apt-get install bison
. sudo apt-get install libglib2.-dev
. sudo apt-get install libpixman--dev
. sudo apt-get install libxext6
. sudo apt-get install libxrender1 libxtst6 libxi6
. wget https://download.qemu.org/qemu-2.11.0-rc3.tar.xz
. tar xvJf qemu-2.11.-rc3.tar.xz
. cd qemu-2.11.-rc3
. ./configure --target-list=arm-softmmu,arm-linux-user
. make