From patchwork Sat Sep 19 18:05:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1367680 X-Patchwork-Delegate: sjg@chromium.org 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=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=Te6rp+MO; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 4BtzCW0nfpz9sRR for ; Sun, 20 Sep 2020 04:05:59 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5C2FE824B3; Sat, 19 Sep 2020 20:05:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de 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; secure) header.d=gmx.net header.i=@gmx.net header.b="Te6rp+MO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BA4A2824C7; Sat, 19 Sep 2020 20:05:55 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 419FE824B3 for ; Sat, 19 Sep 2020 20:05:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600538752; bh=aaAX5YcFAZvuxtnBU8lDNWMQRpBc9pX4Yy9Vs3T3Nno=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Te6rp+MOMFytDNK5nS1QgzdW4s852q6HhD/BDyUIn7hePE2x2TolIuflHBclYZAdg lZcVaatq1MloReI+dx0c6nDLvknUlbhwZM6klrJWvMWZzC9X/wgMiCCxyML52+r5yd EYmEwAdnCcY2BXmUH/p9kYI5rZQC6nkZL8qaqn+8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([178.202.41.107]) by mail.gmx.com (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1Mnpns-1kqKJm1QYU-00pNE5; Sat, 19 Sep 2020 20:05:52 +0200 From: Heinrich Schuchardt To: Simon Glass Cc: u-boot@lists.denx.de, Heinrich Schuchardt Subject: [PATCH 1/1] doc/arch/sandbox.rst: reformat command line options Date: Sat, 19 Sep 2020 20:05:47 +0200 Message-Id: <20200919180547.19386-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:uOj3GvHwkliBLo0MpyvIE7kIngBshXO74hk+54unFlczXZ9gFsb igiqVfA5Sv7fIVgt4fv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xJdytQJXUCa7vIaQzN903Pg bLTdcOC4wOLJJBozSXxX7tbs/baD+eP7R8zXJ4Not/uLFSmYTuS9nrdeln+7FghFeqt1Sn0zs nVaY9n5rMsYyCpF4nHWj90toIMLlS7h1/lUSNBxUIHuXGPheIlMZPrEOx75D+uvP1C40sDSw2 2Lj7ZTtd+nHV8wtw5kO2esBfR83S+bRqxfpmFWe2CT2lE4ydKYkzqYZHL+ZeYSob6Se16GVNe M2Ue9Me2aSMqjwTlsSQ2ZiJshoDGcQCeMLgYs/5dVCKvOvEZFzv+y8kI3KwOcXUNEGDQHCD46 gAXdMjacXUBQMq2EwmuED6crze+qycAeV1lukHQnWwyynM0BtBzXgnhwE2RxWxwnDpSp2LJrv z0ZuVfFmKq+YmfGHhAVwpoewCPFahBZ/ZxXu1xw== 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.102.3 at phobos.denx.de X-Virus-Status: Clean Reformat the command line options chapter so that the command line options clearly stand out. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass Reviewed-by: Simon Glass --- doc/arch/sandbox.rst | 57 +++++++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 24 deletions(-) -- 2.28.0 diff --git a/doc/arch/sandbox.rst b/doc/arch/sandbox.rst index 360f22461a..4674c420ac 100644 --- a/doc/arch/sandbox.rst +++ b/doc/arch/sandbox.rst @@ -97,30 +97,39 @@ Command-line Options -------------------- Various options are available, mostly for test purposes. Use -h to see -available options. Some of these are described below. - -The terminal is normally in what is called 'raw-with-sigs' mode. This means -that you can use arrow keys for command editing and history, but if you -press Ctrl-C, U-Boot will exit instead of handling this as a keypress. - -Other options are 'raw' (so Ctrl-C is handled within U-Boot) and 'cooked' -(where the terminal is in cooked mode and cursor keys will not work, Ctrl-C -will exit). - -As mentioned above, -l causes the LCD emulation window to be shown. - -A device tree binary file can be provided with -d. If you edit the source -(it is stored at arch/sandbox/dts/sandbox.dts) you must rebuild U-Boot to -recreate the binary file. - -To use the default device tree, use -D. To use the test device tree, use -T. - -To execute commands directly, use the -c option. You can specify a single -command, or multiple commands separated by a semicolon, as is normal in -U-Boot. Be careful with quoting as the shell will normally process and -swallow quotes. When -c is used, U-Boot exits after the command is complete, -but you can force it to go to interactive mode instead with -i. - +available options. Some of these are described below: + +* -t, --terminal + - The terminal is normally in what is called 'raw-with-sigs' mode. This means + that you can use arrow keys for command editing and history, but if you + press Ctrl-C, U-Boot will exit instead of handling this as a keypress. + Other options are 'raw' (so Ctrl-C is handled within U-Boot) and 'cooked' + (where the terminal is in cooked mode and cursor keys will not work, Ctrl-C + will exit). + +* -l + - Show the LCD emulation window. + +* -d + - A device tree binary file can be provided with -d. If you edit the source + (it is stored at arch/sandbox/dts/sandbox.dts) you must rebuild U-Boot to + recreate the binary file. + +* -D + - To use the default device tree, use -D. + +* -T + - To use the test device tree, use -T. + +* -c [;] + - To execute commands directly, use the -c option. You can specify a single + command, or multiple commands separated by a semicolon, as is normal in + U-Boot. Be careful with quoting as the shell will normally process and + swallow quotes. When -c is used, U-Boot exits after the command is complete, + but you can force it to go to interactive mode instead with -i. + +* -i + - Go to interactive mode after executing the commands specified by -c. Memory Emulation ----------------