From patchwork Tue Mar 10 13:30:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 184351 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp717034ile; Tue, 10 Mar 2020 06:30:51 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu+oz1D60PeswoRF5ubkD7MhfGkKKeomzfqMoP5Spa4VB+17QQY16C9X7Ybt+nQiM2Qywcl X-Received: by 2002:a37:7881:: with SMTP id t123mr19375249qkc.155.1583847051031; Tue, 10 Mar 2020 06:30:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583847051; cv=none; d=google.com; s=arc-20160816; b=mpLe5qnRFf9SvoaZ1R/S1nahHlRd7LRn1ZtgnMLUdDla1ZQg3skz7qJbH9MqOrtKSH McwbukVNYJA0/gPAVv3VixN0PLW/G1QjJ7um5yjUWB8eVDmO2onZ+1vrRoxTIVC7f8oT CWoDejsf4EQ7wXhPLHsmTAfBPXaO9ard26jPbCB4RWOQVCxi9l1gjZI98KwRMPe49yv0 9//wHOSpwPNkLW4lfimZegcw0r/H8ICpeb7x730MqfZ36QzysJWLz+hLEFobI1hH6sMY +k1yruk1L1gys92x9Z7KFT0r/NKb3uMGoroaI1L5VCtkppWCMSXFVIi4lzsnwCjIt4be 2BzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=bo2tBndkpkzB6/29hZp0+G3KOqfBm7NxtWzBJP62dzw=; b=0aOhIEqYN56azJAsLOO3iKiLMdrpGeRmh8VsEaAfiMuAdfrC0cck1fw1uDzJOe2qud RK3xfE0/PKf428kjwPs8vcnW+DRfbfPlnfiNKFImr9kqOj2OV4MgnogJfPkUw8ty1jTp uar5y6zdQArfhEgVUdl/U1Y5sSosbA5yYMonw80SwHj3Hc+sxICnW6OHu2WxF7WNGIia vYmH6qkr9VYOPBv/2SSDm4Yi8nVWmUpSBUJC64LIJWuELDvpali2wsfO0Uocpuz0J130 QORzijFd2+ZHxy2+nnLxMMTaFzGwX86CJu8VGFbW1d2+DUDLRH3h0hPe7CnL3omKo6Sf Jj4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uPQzn8nD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y12si951345qvx.12.2020.03.10.06.30.50 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Mar 2020 06:30:50 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uPQzn8nD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:32872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBeyA-0002tA-H1 for patch@linaro.org; Tue, 10 Mar 2020 09:30:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48993) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBexq-0002ex-9L for qemu-devel@nongnu.org; Tue, 10 Mar 2020 09:30:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBexo-00038o-Ry for qemu-devel@nongnu.org; Tue, 10 Mar 2020 09:30:30 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:36010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBexo-00036d-K4 for qemu-devel@nongnu.org; Tue, 10 Mar 2020 09:30:28 -0400 Received: by mail-wm1-x342.google.com with SMTP id g62so1358311wme.1 for ; Tue, 10 Mar 2020 06:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bo2tBndkpkzB6/29hZp0+G3KOqfBm7NxtWzBJP62dzw=; b=uPQzn8nDbz9zWbOgo0e//fzWTe413Ljvje4JJSFOOqJQ3Ow5vq29cuAsMMarfd6pG5 8gf2HKKVtWp/gmhuNFd8ErMg2YzjmmWgC3YUZeLfBNdYXOwAvZp61IqNki2QhBg7BbR9 VAw47aBh+6r2Wd0Lm4YZ9q9RhnyWb+LlYlnR/7S5LVe/UIXSzzFmRcagjViFf302Cnk6 ce93rctHsTozmbNFFnNdso1lHkgP+8Suap7i6mkFPsVzWq7vy9M2XhqJO0mTrVzjHjO8 tvpRO2QgpenFlogCvLYiBKV7dWSwwq4/sokQaD0OnRKGsKYvfKUr20jM6A1LXYpvSrl5 uhVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bo2tBndkpkzB6/29hZp0+G3KOqfBm7NxtWzBJP62dzw=; b=PjlB8SgqLMw3D7HusRKIOjJNjh+EnEROOGFHgTMmTzhgUAquKugydh42u+8qUa9Mem WFlYNORbs1ioCRiGsO6oi6g/ELenwTO5iM01ihzik5cHAJMs6Z4/yl/ZBNED+rM0eN+u s4LVy8rrPTBpgQazNpzt1anSGBuDR8N+U1vyLNNp8pCUG6TlTI/WXZhXBYGKXLpn6+C1 RVjvHsie6SSCbQUVy5vzrina4Z2+pfXG9U/91edJjWAfuNorS8rAkiRMRJgpkjTO6m+w jP8exYJaRE2m7OzamMwSvZYsgipjWGjkL4INVkwzRslOzh79UewBiVnuXie89ia/O3ZP z0tw== X-Gm-Message-State: ANhLgQ3lpW+9Rx5d/99uQDlnHZp4+ZwFS25edtR/j8j0ONwIZGk90OV+ 6ZcAD6HXo9aNuy7uEiQiGNu/nA== X-Received: by 2002:a05:600c:2213:: with SMTP id z19mr2101181wml.141.1583847027348; Tue, 10 Mar 2020 06:30:27 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id y69sm4254503wmd.46.2020.03.10.06.30.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2020 06:30:26 -0700 (PDT) Received: from zen.home.arpa (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C0ECD1FF7E; Tue, 10 Mar 2020 13:30:24 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: peter.maydell@linaro.org, qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH] docs/system: add a little more detail to ARM machines Date: Tue, 10 Mar 2020 13:30:20 +0000 Message-Id: <20200310133020.27196-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::342 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: =?utf-8?q?Alex_Benn=C3=A9e?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Taking from the wiki page mention: - both 32 and 64 bit architectures - the roll of A/M profile chips - warn about kernel portability - gently suggest -M virt - add headlines for groups of boards This is still incomplete but hopefully is a less of a straight dive into a dry list of peripherals. Signed-off-by: Alex Bennée --- docs/system/target-arm.rst | 47 +++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) -- 2.20.1 diff --git a/docs/system/target-arm.rst b/docs/system/target-arm.rst index d2a3b44ce88..28aaef011d6 100644 --- a/docs/system/target-arm.rst +++ b/docs/system/target-arm.rst @@ -3,8 +3,35 @@ ARM System emulator ------------------- -Use the executable ``qemu-system-arm`` to simulate a ARM machine. The -ARM Integrator/CP board is emulated with the following devices: +Use the executable ``qemu-system-arm`` to simulate a 32 bit ARM +machine. The ``qemu-system-aarch64`` executable is used to simulate +the 64 bit ARM AArch64 architecture. AArch64 CPUs can often include an +AArch32 execution unit and execute a mix of 64 and 32 bit code. + +The emulator supports both "A-profile" and "M-profile" CPUs. The +A-profile CPUs have a full MMU and can run things like the Linux while +the M-profile CPUs are typically used in embedded micro-controller +boards. + +Because ARM systems differ so much and in fundamental ways, typically +operating system or firmware images intended to run on one machine +will not run at all on any other. + +If you don't care about running on a particular piece of hardware the +``-M virt`` board provides a PCI based virtio board which can be +configured with a range of RAM sizes, CPU types and virtio based +peripherals. It is generally the target you want to use if general +purpose operating systems. + +Otherwise a range of other machine types are available. Passing ``-M +help`` to the command line will list them all. They include the +following: + +ARM Integrator/CP +~~~~~~~~~~~~~~~~~ + +This is a development board intended for prototyping and developing +ARM-based devices. - ARM926E, ARM1026E, ARM946E, ARM1136 or Cortex-A8 CPU @@ -18,7 +45,11 @@ ARM Integrator/CP board is emulated with the following devices: - PL181 MultiMedia Card Interface with SD card. -The ARM Versatile baseboard is emulated with the following devices: +ARM Versatile/Versatile Express +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Another family of development boards. The more recent Versatile +Express boards are designed for modern Cortex processors. - ARM926E, ARM1136 or Cortex-A8 CPU @@ -45,6 +76,9 @@ The ARM Versatile baseboard is emulated with the following devices: - PL181 MultiMedia Card Interface with SD card. +ARM RealView +~~~~~~~~~~~~ + Several variants of the ARM RealView baseboard are emulated, including the EB, PB-A8 and PBX-A9. Due to interactions with the bootloader, only certain Linux kernel configurations work out of the box on these boards. @@ -77,6 +111,9 @@ The following devices are emulated: - PL181 MultiMedia Card Interface with SD card. +Various PDA machines +~~~~~~~~~~~~~~~~~~~~ + The XScale-based clamshell PDA models (\"Spitz\", \"Akita\", \"Borzoi\" and \"Terrier\") emulation includes the following peripherals: @@ -156,6 +193,10 @@ Nokia N800 and N810 internet tablets (known also as RX-34 and RX-44 / - Nokia RETU and TAHVO multi-purpose chips with an RTC, connected through CBUS + +M-profile boards +~~~~~~~~~~~~~~~~ + The Luminary Micro Stellaris LM3S811EVB emulation includes the following devices: