This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
developersguide:minixonlinaroqemuarm [2014/11/11 14:52] 127.0.0.1 external edit |
developersguide:minixonlinaroqemuarm [2015/08/06 17:53] polycopter remove extra 'to' |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Running the MINIX port on Linaro's QEMU ====== | ||
+ | |||
+ | ====== Building Linaro Qemu ====== | ||
+ | |||
+ | [[http://www.linaro.org/|Linaro]] provides open source software for ARM SoCs. Linaro Qemu is a custom version of Qemu that supports the **BeagleBoard-xM**. Linaro Qemu currently only supports python 2. If you have both python 2 and 3 installed, you may have to specify the path to python by adding the ''configure'' argument ''--python=/usr/bin/python2''. | ||
+ | <code> | ||
+ | $ cd $HOME | ||
+ | $ git clone git://git.linaro.org/qemu/qemu-linaro.git linaro | ||
+ | $ cd linaro | ||
+ | $ sudo apt-get build-dep qemu # to install the build dependencies of qemu | ||
+ | $ git checkout 72f7eb07b611766298fe2dc140533a0a6256b054 | ||
+ | $ ./configure --target-list=arm-softmmu --prefix=$HOME/qemu | ||
+ | $ make | ||
+ | $ make install | ||
+ | </code> | ||
+ | |||
+ | Now you have a QEMU in ''$HOME/qemu/bin/qemu-system-arm'' and can test a BeagleBoard-xM build on qemu by running: | ||
+ | |||
+ | <code> | ||
+ | # $HOME/qemu/bin/qemu-system-arm -M beaglexm -drive if=sd,cache=writeback,file=minix_arm_sd.img -clock unix -serial stdio -device usb-kbd -device usb-mouse -usb | ||
+ | </code> | ||
+ | |||
+ | |||
+ | If you run into problems booting Minix with Linaro Qemu current, try [[https://launchpad.net/qemu-linaro/+milestone/2012.12|QEMU emulator version 1.3.0 (qemu-linaro 2012.12)]]. It is known to work with Minix current. | ||