i would like to emulate BeagleBone Black. It seems that QEMU is the only emulator that supports Linux emulation for ARM. However i m having difficulty in getting the right emulator.
I tried using QEMU build from qemu.org but it seems that the machine "beagle" is not supported (also from the output of "qemu-system-arm -machine help" does not least beagle as supported machine). I found some posts saying that Linaro has a qemu builds with BeagleBone support and that it can be installed using apt-get on Ubuntu. There is also a youtube video with instructions:
https://www.youtube.com/watch?v=__6XmxOrL3o
It seems however that the instructions no longer work. I have Ubuntu 14.04. I tried the following:
1) sudo add-apt-repository ppa:linaro-maintainers/tools
This times out and reports an error wrong PPA format.
2) Then i followed instructions here:
https://wiki.linaro.org/Platform/Systems/Repository
However, after adding these repositories, no qemu was added, so in my apt repository i only had qemu from qemu.org (which does not support beaglebone)
3) Then i found this page:
https://launchpad.net/~linaro-maintainers/+archive/ubuntu/tools
So i tried the following:
sudo add-apt-repository http://ppa.launchpad.net/linaro-maintainers/tools/ubuntu
and then also downloaded and added the public key using "sudo apt-key add" command.
This seemed to work as after doing "sudo apt-get update" and "apt-cache show qemu-system" i get see the following:
Package: qemu-system Source: qemu-linaro Version: 2.2.0~rc3+git8+gdb12451-63linaro+trusty Architecture: amd64 Maintainer: Ubuntu Developers Installed-Size: 133812 Depends: qemu-linaro-keymaps, libasound2 (>= 1.0.16), libbluetooth3 (>= 4.91), libbrlapi0.6, libc6 (>= 2.15), libcurl3-gnutls (>= 7.16.3), libfdt1, libgcc1 (>= 1:4.7), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.24.0), libgnutls26 (>= 2.12.17-0), libncurses5 (>= 5.5-5~), libpixman-1-0 (>= 0.15.16), libpng12-0 (>= 1.2.13-4), libpulse0 (>= 1:0.99.1), libsasl2-2 (>= 2.1.24), libsdl1.2debian (>= 1.2.11), libstdc++6 (>= 4.6), libtinfo5, libuuid1 (>= 2.16), libvdeplug2, libx11-6, zlib1g (>= 1:1.2.0) Suggests: samba Breaks: qemu (<< 0.11.0-2), qemu-kvm-extras (<< 0.13.50-2011.02-0~rc1-0ubuntu1) Replaces: qemu (<< 0.11.0-2), qemu-kvm-extras (<< 0.13.50-2011.02-0~rc1-0ubuntu1) Homepage: https://launchpad.net/qemu-linaro/
(i only pasted the first few lines).
However, after installation of qemu-system (sudo apt-get install qemu-system), it still does not have BeagleBone support (qemu-system-arm -machine help does not show any beagle).
So i m wondering if anybody knows where to install QEMU from on Ubuntu that has BeagleBone support. Is there another repository i should be adding? I m new to Ubuntu, apt and Linaro, so i m out of ideas so far.