Skip to content

Instantly share code, notes, and snippets.

@chaicko
Created February 16, 2016 14:46
Show Gist options
  • Save chaicko/7826b34e6af643f21b86 to your computer and use it in GitHub Desktop.
Save chaicko/7826b34e6af643f21b86 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
cd $HOME
git clone git://git.linaro.org/qemu/qemu-linaro.git qemu-linaro
cd qemu-linaro
sudo apt-get build-dep qemu # to install the build dependencies of qemu
./configure --target-list=arm-softmmu --prefix=$HOME/qemu
make
make install
# Now you have a QEMU in $HOME/qemu/bin/qemu-system-arm and can test a BeagleBoard-xM build on qemu by running:
# $HOME/qemu/bin/qemu-system-arm -M beaglexm -drive if=sd,cache=writeback,file=YOUR_BB_IMAGE.img -clock unix -serial stdio -device usb-kbd -device usb-mouse -usb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment