From patchwork Tue Oct 26 00:23:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1546145 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=iYX2cjKm; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HdXdN6ZVlz9sRN for ; Tue, 26 Oct 2021 11:24:40 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 127218355D; Tue, 26 Oct 2021 02:24:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="iYX2cjKm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F34D28336D; Tue, 26 Oct 2021 02:24:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oo1-xc29.google.com (mail-oo1-xc29.google.com [IPv6:2607:f8b0:4864:20::c29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6D351832CD for ; Tue, 26 Oct 2021 02:23:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oo1-xc29.google.com with SMTP id 64-20020a4a0d43000000b002b866fa13eeso2588797oob.2 for ; Mon, 25 Oct 2021 17:23:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kMlC5BTTcEqI4zPA4Xepglue53WFz0S1SEhTBdcAgjc=; b=iYX2cjKm+J3NnixoeZhUu9+34V4RQ8ekCWN9QUZx6OK5qjFbzn3GBnLolrR8X0R9lV l5PReeWgddPIHYr3dwppddDOaQQyXvnnFAcOnXxDHE5s8JEHKY0S5iPW1VU4UekSuhWJ dTml9IX5Huhqxuvy2X/k7XgoCvaM8LtROGUiM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kMlC5BTTcEqI4zPA4Xepglue53WFz0S1SEhTBdcAgjc=; b=IJSNAsvjvFFOC/PmUjY5yvdBduWIGJ3jjV5tTP9bI6kC2VeoncGbTqGwA4UfWQBkr+ OZ4ogIrpOjjHnMiEQNUXrrlSdVSZRfAQGWeXAbbO4Z83uVIYOyME+zBWgfYsyahzK1nf F2KExcEzrKvunc8i6NKWiTBhhjWG3MRA8xUuChQqxmF332a+SeHkdGxSlKlD4Zu0Yhi6 Rblqup1vTmlaV6BfOCzz35uZ1NVHQQnePHvuLCd19J3vQTCMRHtZYYMVwlErabg3qEFU 9w/vY7LaRzRbboBclFBJlLUNOWwCiwIOHQlr0fzW49G8YzxU9sQUtO0sW4I3K6PoEHDT NgXQ== X-Gm-Message-State: AOAM531gYKQQzpe/AOT3FFMJZCU8r/92vivFSiCUacqqakRi08UZmyZ1 6Bw9MiR7CEzSV56MExQf9Lgn4TAYWTQ= X-Google-Smtp-Source: ABdhPJwh7h1bDDhI3D7ZD6ioOaKBwuPWESoahgZRgwlhpQDVLhr5z9HbRuH2dB/zJXzRAdGqX2ftVw== X-Received: by 2002:a05:6820:16a2:: with SMTP id bc34mr14874809oob.66.1635207835779; Mon, 25 Oct 2021 17:23:55 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id v24sm3331926oou.45.2021.10.25.17.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 17:23:55 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mark Kettenis , Heinrich Schuchardt , Ilias Apalodimas , Tom Rini , Sean Anderson , Simon Glass , Albert Aribaud , qemu-devel@nongnu.org Subject: [PATCH v5 03/26] arm: qemu: Mention -nographic in the docs Date: Mon, 25 Oct 2021 18:23:21 -0600 Message-Id: <20211026002344.405160-4-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.1079.g6e70778dc9-goog In-Reply-To: <20211026002344.405160-1-sjg@chromium.org> References: <20211026002344.405160-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Without this option QEMU appears to hang. Add it to avoid confusion. Signed-off-by: Simon Glass --- (no changes since v1) doc/board/emulation/qemu-arm.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst index 8d7fda10f15..97b6ec64905 100644 --- a/doc/board/emulation/qemu-arm.rst +++ b/doc/board/emulation/qemu-arm.rst @@ -41,14 +41,15 @@ The minimal QEMU command line to get U-Boot up and running is: - For ARM:: - qemu-system-arm -machine virt -bios u-boot.bin + qemu-system-arm -machine virt -nographic -bios u-boot.bin - For AArch64:: - qemu-system-aarch64 -machine virt -cpu cortex-a57 -bios u-boot.bin + qemu-system-aarch64 -machine virt -nographic -cpu cortex-a57 -bios u-boot.bin Note that for some odd reason qemu-system-aarch64 needs to be explicitly -told to use a 64-bit CPU or it will boot in 32-bit mode. +told to use a 64-bit CPU or it will boot in 32-bit mode. The -nographic argument +ensures that output appears on the terminal. Use Ctrl-A X to quit. Additional persistent U-boot environment support can be added as follows: