From patchwork Sun Feb 23 13:27:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshinori Sato X-Patchwork-Id: 11398827 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DEC001731 for ; Sun, 23 Feb 2020 13:34:35 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BBFFF20836 for ; Sun, 23 Feb 2020 13:34:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BBFFF20836 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:52976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5rP0-0000eg-TQ for patchwork-qemu-devel@patchwork.kernel.org; Sun, 23 Feb 2020 08:34:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41825) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5rIk-0000BS-90 for qemu-devel@nongnu.org; Sun, 23 Feb 2020 08:28:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5rIi-0003xe-8o for qemu-devel@nongnu.org; Sun, 23 Feb 2020 08:28:06 -0500 Received: from mail02.asahi-net.or.jp ([202.224.55.14]:45968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j5rIi-0003x3-0I for qemu-devel@nongnu.org; Sun, 23 Feb 2020 08:28:04 -0500 Received: from h61-195-96-97.vps.ablenet.jp (h61-195-96-97.ablenetvps.ne.jp [61.195.96.97]) (Authenticated sender: PQ4Y-STU) by mail02.asahi-net.or.jp (Postfix) with ESMTPA id 4F78AE47B6; Sun, 23 Feb 2020 22:28:03 +0900 (JST) Received: from yo-satoh-debian.localdomain (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by h61-195-96-97.vps.ablenet.jp (Postfix) with ESMTPSA id 14D3B240091; Sun, 23 Feb 2020 22:28:03 +0900 (JST) From: Yoshinori Sato To: qemu-devel@nongnu.org Subject: [PATCH RESEND v31 22/22] qemu-doc.texi: Add RX section. Date: Sun, 23 Feb 2020 22:27:49 +0900 Message-Id: <20200223132750.69480-23-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200223132750.69480-1-ysato@users.sourceforge.jp> References: <20200223132750.69480-1-ysato@users.sourceforge.jp> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 202.224.55.14 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: richard.henderson@linaro.org, philmd@redhat.com, Yoshinori Sato Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" Describe emulated target specification. And two examples. Signed-off-by: Yoshinori Sato --- qemu-doc.texi | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/qemu-doc.texi b/qemu-doc.texi index 33b9597b1d..d80a9c64f7 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -1719,6 +1719,7 @@ differences are mentioned in the following sections. * Microblaze System emulator:: * SH4 System emulator:: * Xtensa System emulator:: +* RX System emulator:: @end menu @node PowerPC System emulator @@ -2487,6 +2488,49 @@ so should only be used with trusted guest OS. @c man end +@node RX System emulator +@section RX System emulator +@cindex system emulation (RX) + +Use the executable @file{qemu-system-rx} to simulate a Virtual RX target. +This target emulated following devices. + +@itemize @minus +@item +R5F562N8 MCU +@item +On-chip memory (ROM 512KB, RAM 96KB) +@item +Interrupt Control Unit (ICUa) +@item +8Bit Timer x 1CH (TMR0,1) +@item +Compare Match Timer x 2CH (CMT0,1) +@item +Serial Communication Interface x 1CH (SCI0) +@item +External memory 16MByte +@end itemize + +Example of @file{qemu-system-rx} usage for rx is shown below: + +Download @code{u-boot_image} from @url{https://osdn.net/users/ysato/pf/qemu/dl/u-boot.bin.gz} + +Start emulation of rx-virt: +@example +qemu-system-rx -bios @code{u-boot_image} +@end example + +Download @code{kernel_image} from @url{https://osdn.net/users/ysato/pf/qemu/dl/zImage} + +Download @code{device_tree_blob} from @url{https://osdn.net/users/ysato/pf/qemu/dl/rx-virt.dtb} + +Start emulation of rx-virt: +@example +qemu-system-rx -kernel @code{kernel_image} -dtb @code{device_tree_blob} \ + -append "earlycon" +@end example + @node QEMU User space emulator @chapter QEMU User space emulator