本文介绍了设置的BeagleBoard仿真器在Ubuntu QEMU的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要在Ubuntu 14.04安装QEMU的BeagleBoard的,我下面在下面链接的步骤:

当我试图通过QEMU的命令来运行ALIP图片:

 须藤的qemu系统臂-M小猎犬-m 256 -drive文件= / beagle_sd_alip_x11.img,如果= SD,缓存=回写 - 时钟UNIX -serial标准输入输出-device USB -kbd -device USB鼠标

我得到了以下错误:

 的qemu系统臂:-M小猎犬:不支持的机型
使用-machine帮助列出支持的机器!

如何解决这个问题?

PS:


  1. 我是新来的BeagleBoard和QEMU的环境。

  2. 我试图理解用户空间的Arduino库为Beagleboard.More细节它可以在这里找到:。它会是巨大的,如果任何人都可以指导测试例如codeS一样闪烁的LED,7段显示器etc.from用户空间的Arduino QEMU中。


解决方案

您可以用的BeagleBoard支持自己与这些步骤,这是我与Ubuntu 14.04试图建立QEMU。

首先删除已安装了QEMU包

$ sudo易于得到删除的qemu系统臂

然后,将源$ C ​​$ C为QEMU下载到合适的文件夹

$混帐混帐克隆://git.linaro.org/qemu/qemu-linaro.git
 $ CD的qemu-Linaro的

您需要这两个包建QEMU

$ sudo易于得到安装libglib2.0-dev的的zlib1g-dev的

您还需要pixman和DTC git的子模块

$ git的子模块更新--init pixman
 $ git的子模块更新--init DTC

现在你可以继续配置和构建它!

$的mkdir构建
 $ CD版本
 $ ../configure - preFIX = /选择
 $使-j8
 $ sudo的使安装

QEMU的系统臂的可执行文件位于/ opt / bin中找到。如果你还没有和you're好去添加到您的路径。

To setup qemu for Beagleboard in Ubuntu 14.04, I am following steps given in link below:

http://www.cnx-software.com/2011/09/26/beagleboard-emulator-in-ubuntu-with-qemu/

When I tried to run ALIP image in qemu by command :

sudo qemu-system-arm -M beagle -m 256 -drive file=./beagle_sd_alip_x11.img,if=sd,cache=writeback -clock unix -serial stdio -device usb-kbd -device usb-mouse

I got following error :

qemu-system-arm: -M beagle: Unsupported machine type
Use -machine help to list supported machines!

How can I fix this error ?

PS:

  1. I am new to Beagleboard and Qemu environment.
  2. I am trying to understand Userspace Arduino Libraries for Beagleboard.More details about it can be found here: http://elinux.org/Userspace_Arduino .It would be great if anyone can guide to test example codes like blinking led, 7 segment display etc.from Userspace Arduino in Qemu.
解决方案

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.

这篇关于设置的BeagleBoard仿真器在Ubuntu QEMU的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-13 14:07