From patchwork Sun Feb 23 06:51:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshinori Sato X-Patchwork-Id: 11398683 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 7DE80109A for ; Sun, 23 Feb 2020 07:02:27 +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 08D31206ED for ; Sun, 23 Feb 2020 07:02:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08D31206ED 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]:50244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5lHW-0008Hu-49 for patchwork-qemu-devel@patchwork.kernel.org; Sun, 23 Feb 2020 02:02:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34606) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5l6v-0004mR-Oa for qemu-devel@nongnu.org; Sun, 23 Feb 2020 01:51:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5l6u-0005H8-Jk for qemu-devel@nongnu.org; Sun, 23 Feb 2020 01:51:29 -0500 Received: from mail01.asahi-net.or.jp ([202.224.55.13]:38309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j5l6u-0004q0-AB for qemu-devel@nongnu.org; Sun, 23 Feb 2020 01:51:28 -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 mail01.asahi-net.or.jp (Postfix) with ESMTPA id 97C2C53CA4; Sun, 23 Feb 2020 15:51:17 +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 571B0240098; Sun, 23 Feb 2020 15:51:17 +0900 (JST) From: Yoshinori Sato To: qemu-devel@nongnu.org Subject: [PATCH v31 22/22] qemu-doc.texi: Add RX section. Date: Sun, 23 Feb 2020 15:51:02 +0900 Message-Id: <20200223065102.61652-23-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200223065102.61652-1-ysato@users.sourceforge.jp> References: <20200223065102.61652-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.13 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