]> rtime.felk.cvut.cz Git - mf6xx.git/blob - src/qemu/README.txt
QEMU mf624.c formatted to make QEMU checkpatch.pl mostly happy.
[mf6xx.git] / src / qemu / README.txt
1 1 -- How to compile Qemu
2 ========================
3 * Download latest Qemu release from http://wiki.qemu.org/Download 
4   (e. g. http://download.savannah.gnu.org/releases/qemu/qemu-0.14.0.tar.gz)
5
6 * Untar.
7 * Run 
8   $ ./configure --enable-system  --target-list=i386-softmmu 
9
10   If you want SDL console (instead of VNC connection) run
11   $ ./configure --enable-system  --target-list=i386-softmmu --enable-sdl
12
13 * Than run
14   $ make
15
16 If you don't want to install Qemu, your binary is in "i386-softmmu" directory 
17
18
19 2 -- How to compile Qemu with MF624
20 ===================================
21 * Compile Qemu as described in paragraph 1.
22 * Copy ./hw/mf624.c into /hw folder of your Qemu building directory.
23 * Add line "hw-obj-$(CONFIG_PCI) += mf624.o" into /Makefile.objs (should be in 
24   your Qemu building directory) about before "hw-obj-$(CONFIG_NE2000_PCI) += ne2000.o"
25   line.
26 * Run
27   $ make
28
29
30 3 -- How to run Qemu with MF624
31 ===============================
32 * Add "-device mf624" to Qemu command line parameters.
33   E. g. "i386-softmmu$ ./qemu  -device mf624 -hda ..//debian.qcow --boot c"
34
35 * Virtual MF624 card communicates with GUI interface through TCP/IP protocol. 
36   For choosing particular port number use "-device mf624,port=55555", 
37   where 55555 is your port number.