From patchwork Thu Jan 23 13:25:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshinori Sato X-Patchwork-Id: 1228160 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=users.sourceforge.jp 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 ozlabs.org (Postfix) with ESMTPS id 483R1z5TYwz9sSN for ; Fri, 24 Jan 2020 02:26:15 +1100 (AEDT) Received: from localhost ([::1]:59300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iueN3-0000de-3s for incoming@patchwork.ozlabs.org; Thu, 23 Jan 2020 10:26:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46206) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iucUQ-0001Ib-MP for qemu-devel@nongnu.org; Thu, 23 Jan 2020 08:25:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iucUN-0000si-Cl for qemu-devel@nongnu.org; Thu, 23 Jan 2020 08:25:42 -0500 Received: from mail01.asahi-net.or.jp ([202.224.55.13]:52551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iucUN-0000rj-2v for qemu-devel@nongnu.org; Thu, 23 Jan 2020 08:25:39 -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 5BCBC43B1C; Thu, 23 Jan 2020 22:25:38 +0900 (JST) Received: from yo-satoh-debian.localdomain (v046114.dynamic.ppp.asahi-net.or.jp [124.155.46.114]) by h61-195-96-97.vps.ablenet.jp (Postfix) with ESMTPSA id 1BF60240091; Thu, 23 Jan 2020 22:25:38 +0900 (JST) From: Yoshinori Sato To: qemu-devel@nongnu.org Subject: [PATCH v29 22/22] qemu-doc.texi: Add RX section. Date: Thu, 23 Jan 2020 22:25:25 +0900 Message-Id: <20200123132525.80891-23-ysato@users.sourceforge.jp> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200123132525.80891-1-ysato@users.sourceforge.jp> References: <20200123132525.80891-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+incoming=patchwork.ozlabs.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 39f950471f..1f6774ad55 100644 --- a/qemu-doc.texi +++ b/qemu-doc.texi @@ -1741,6 +1741,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 @@ -2514,6 +2515,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