Set up Beagleboard emulator with qemu in Ubuntu

巧了我就是萌 提交于 2019-12-03 17:10:34

You can build qemu with beagleboard support yourself with these steps, which I have tried with Ubuntu 14.04.

First remove the qemu package that you have installed with

$ sudo apt-get remove qemu-system-arm

Then download the source code for qemu to a suitable folder

$ git clone git://git.linaro.org/qemu/qemu-linaro.git $ cd qemu-linaro

You need these two packages to build qemu

$ sudo apt-get install libglib2.0-dev zlib1g-dev

You will also need the pixman and dtc git submodules

$ git submodule update --init pixman $ git submodule update --init dtc

Now you can continue and configure and build it!

$ mkdir build $ cd build $ ../configure --prefix=/opt $ make -j8 $ sudo make install

The qemu-system-arm executable can be found in /opt/bin. Add this to your path if you haven't already and you´re good to go.

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