Received: from eggs.gnu.org ([2001:4830:134:3::10]:32782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS08a-0007GJ-N3 for qemu-devel@nongnu.org; Wed, 28 Nov 2018 08:44:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gS08Y-0002Ke-2P for qemu-devel@nongnu.org; Wed, 28 Nov 2018 08:44:20 -0500 Received: from mx2.rt-rk.com ([89.216.37.149]:39555 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gS08X-0001yM-Qx for qemu-devel@nongnu.org; Wed, 28 Nov 2018 08:44:18 -0500 From: Stefan Markovic Date: Wed, 28 Nov 2018 14:43:09 +0100 Message-Id: <1543412590-29716-2-git-send-email-stefan.markovic@rt-rk.com> In-Reply-To: <1543412590-29716-1-git-send-email-stefan.markovic@rt-rk.com> References: <1543412590-29716-1-git-send-email-stefan.markovic@rt-rk.com> Subject: [Qemu-devel] [PATCH 1/2] qemu-doc: Add nanoMIPS ISA information List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: amarkovic@wavecomp.com, smarkovic@wavecomp.com, pjovanovic@wavecomp.com, peter.maydell@linaro.org, huth@tuxfamily.org, hpoussin@reactos.org, pburton@wavecomp.com, jhogan@kernel.org From: Stefan Markovic Add nanoMIPS information in qemu-doc.texi with example of usage included. Signed-off-by: Stefan Markovic --- qemu-doc.texi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/qemu-doc.texi b/qemu-doc.texi index f7ad1df..6ef593d 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -1994,6 +1994,10 @@ Set the emulated machine type. The default is sun4u. @section MIPS System emulator @cindex system emulation (MIPS) +@menu +* nanoMIPS System emulator :: +@end menu + Four executables cover simulation of 32 and 64-bit MIPS systems in both endian options, @file{qemu-system-mips}, @file{qemu-system-mipsel} @file{qemu-system-mips64} and @file{qemu-system-mips64el}. @@ -2085,6 +2089,31 @@ SCSI controller G364 framebuffer @end itemize +@node nanoMIPS System emulator +@subsection nanoMIPS System emulator +@cindex system emulation (nanoMIPS) + +Executable @file{qemu-system-mipsel} also covers simulation of +32-bit nanoMIPS system in little endian mode: + +@itemize @minus +@item +nanoMIPS I7200 CPU +@end itemize + +Example of @file{qemu-system-mipsel} usage for nanoMIPS is shown below: + +Download @code{} from @url{https://mipsdistros.mips.com/LinuxDistro/nanomips/buildroot/index.html}. + +Download @code{} from @url{https://mipsdistros.mips.com/LinuxDistro/nanomips/kernels/v4.15.18-432-gb2eb9a8b07a1-20180627102142/index.html}. + +Start system emulation of Malta board with nanoMIPS I7200 CPU: +@example +qemu-system-mipsel -cpu I7200 -kernel @code{} \ + -M malta -serial stdio -m @code{} -hda @code{} \ + -append "mem=256m@@0x0 rw console=ttyS0 vga=cirrus vesa=0x111 root=/dev/sda" +@end example + @node ARM System emulator @section ARM System emulator -- 1.9.1