1 .. _MIPS-System-emulator:
6 Four executables cover simulation of 32 and 64-bit MIPS systems in both
7 endian options, ``qemu-system-mips``, ``qemu-system-mipsel``
8 ``qemu-system-mips64`` and ``qemu-system-mips64el``. Five different
9 machine types are emulated:
11 - The MIPS Malta prototype board \"malta\"
13 - An ACER Pica \"pica61\". This machine needs the 64-bit emulator.
15 - MIPS emulator pseudo board \"mipssim\"
17 - A MIPS Magnum R4000 machine \"magnum\". This machine needs the
20 The Malta emulation supports the following devices:
22 - Core board with MIPS 24Kf CPU and Galileo system controller
24 - PIIX4 PCI/USB/SMbus controller
26 - The Multi-I/O chip's serial device
28 - PCI network cards (PCnet32 and others)
30 - Malta FPGA serial device
32 - Cirrus (default) or any other PCI VGA graphics card
34 The Boston board emulation supports the following devices:
36 - Xilinx FPGA, which includes a PCIe root port and an UART
38 - Intel EG20T PCH connects the I/O peripherals, but only the SATA bus
41 The ACER Pica emulation supports:
45 - PC-style IRQ and DMA controllers
51 The MIPS Magnum R4000 emulation supports:
55 - PC-style IRQ controller
63 The Fuloong 2E emulation supports:
67 - Bonito64 system controller as North Bridge
69 - VT82C686 chipset as South Bridge
71 - RTL8139D as a network card chipset
73 The Loongson-3 virtual platform emulation supports:
77 - LIOINTC as interrupt controller
79 - GPEX and virtio as peripheral devices
81 - Both KVM and TCG supported
83 The mipssim pseudo board emulation provides an environment similar to
84 what the proprietary MIPS emulator uses for running Linux. It supports:
86 - A range of MIPS CPUs, default is the 24Kf
88 - PC style serial port
90 - MIPSnet network emulation
92 .. include:: cpu-models-mips.rst.inc
94 .. _nanoMIPS-System-emulator:
96 nanoMIPS System emulator
97 ~~~~~~~~~~~~~~~~~~~~~~~~
99 Executable ``qemu-system-mipsel`` also covers simulation of 32-bit
100 nanoMIPS system in little endian mode:
104 Example of ``qemu-system-mipsel`` usage for nanoMIPS is shown below:
106 Download ``<disk_image_file>`` from
107 https://mipsdistros.mips.com/LinuxDistro/nanomips/buildroot/index.html.
109 Download ``<kernel_image_file>`` from
110 https://mipsdistros.mips.com/LinuxDistro/nanomips/kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/index.html.
112 Start system emulation of Malta board with nanoMIPS I7200 CPU::
114 qemu-system-mipsel -cpu I7200 -kernel <kernel_image_file> \
115 -M malta -serial stdio -m <memory_size> -hda <disk_image_file> \
116 -append "mem=256m@0x0 rw console=ttyS0 vga=cirrus vesa=0x111 root=/dev/sda"