From patchwork Mon Mar 28 02:43:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1609995 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=fOB41eGv; 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) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KRcTy6C9Yz9sDX for ; Mon, 28 Mar 2022 13:44:20 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8BAFC83A96; Mon, 28 Mar 2022 04:44:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fOB41eGv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C4DCB83ABC; Mon, 28 Mar 2022 04:44:02 +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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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 3FBAE839FD for ; Mon, 28 Mar 2022 04:43:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pj1-x102d.google.com with SMTP id gb19so12723647pjb.1 for ; Sun, 27 Mar 2022 19:43:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=61Ffshw5A98/yFYrMtqqGeggzmEcxHywQstSBli4Kfc=; b=fOB41eGvPiJghguVsaKJYC/NSK4Bj2mxD8wB36SEVhOv3L/YO470UxzgXYgRuI7UfL TpWS8SN2mt6qn3bq1O1pTAOchDIRhpIGuk9GHnLsCSb1xzZEbSZvb6azEjKieF6vFghl fqUAY0i/nYvxd0HfntPL03hGBbjzwGZNgZvAsBTMtfEVjCTwsRgUTVIRFlbZ+bug+uNY WVXKpPUvISO011WsLmxs1JfXOEyUEaOydIazCmgma2+CVnU5ZaJcLoqBPc9GUUP2Ygv/ xbuHyNu7hI5S6Fr2yAed7V4Kj5LsyPO1r6KhTwg7g+hi45Dpq8PLixj5R8eweUDkO9uD /LTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=61Ffshw5A98/yFYrMtqqGeggzmEcxHywQstSBli4Kfc=; b=ksejuYSh3PhDdC/4MWCQIENvY2A02HhC3i+tRFeJ2UykWjDl522Nz7cYTn2jiTxpfu XNJ+ipTjpBwR9Tt+nlGxgGKZjvaT2khLvFWAgifKZxXzB8gDTw+yazR5AA488dzTtARJ VjCDewxMndMIIcFSYgQt2dXjJJJfNGmQn4UhjLOtGFvk8UkGukqgDkOFa3hbgczroeNv 7qF5yYOgzHiF48/hhGsgv/wD/vylmj2nA1IuETJdbX2xmSWwa8Xe+qaX+OsDL0IR9lp3 /fo9wLRqG2L7uWsMa2zNk24eLevmJtWvbuSNLe1MGP2JEKWNyhMYFi5QlHzuY17kXn6C TWCw== X-Gm-Message-State: AOAM5328Xs53llrCbjV/nd5Z3iccgJjvm3K4XFaPQOPuMXLPUB7lHysu N28ouWj/wtHNfieZm5rTARY= X-Google-Smtp-Source: ABdhPJy3GC7a1BwRA+RAJxXsmHJXmM4jtBDJj94HnArkpBEKfSw+/sCeQtTqYqbhn8KVSPjrnvqZjQ== X-Received: by 2002:a17:90b:3c03:b0:1c9:afca:75b3 with SMTP id pb3-20020a17090b3c0300b001c9afca75b3mr2792732pjb.71.1648435437515; Sun, 27 Mar 2022 19:43:57 -0700 (PDT) Received: from pek-vx-bsp2.wrs.com (unknown-176-192.windriver.com. [147.11.176.192]) by smtp.gmail.com with ESMTPSA id p10-20020a637f4a000000b00373a2760775sm11266095pgn.2.2022.03.27.19.43.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 19:43:57 -0700 (PDT) From: Bin Meng To: Tom Rini , U-Boot Mailing List Subject: [PATCH 1/3] doc: usage: Convert README.vxworks to reST Date: Mon, 28 Mar 2022 10:43:49 +0800 Message-Id: <20220328024351.629189-1-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean This converts the existing README.vxworks to reST, and puts it under the doc/usage/os directory. Signed-off-by: Bin Meng Reviewed-by: Heinrich Schuchardt --- doc/usage/index.rst | 8 +++++++ doc/{README.vxworks => usage/os/vxworks.rst} | 22 ++++++++++---------- 2 files changed, 19 insertions(+), 11 deletions(-) rename doc/{README.vxworks => usage/os/vxworks.rst} (93%) diff --git a/doc/usage/index.rst b/doc/usage/index.rst index 0aacf531b2..b8916971bc 100644 --- a/doc/usage/index.rst +++ b/doc/usage/index.rst @@ -52,3 +52,11 @@ Shell commands size true ums + +Booting OS +---------- + +.. toctree:: + :maxdepth: 1 + + os/vxworks diff --git a/doc/README.vxworks b/doc/usage/os/vxworks.rst similarity index 93% rename from doc/README.vxworks rename to doc/usage/os/vxworks.rst index 12a0d744d8..e696c639b2 100644 --- a/doc/README.vxworks +++ b/doc/usage/os/vxworks.rst @@ -1,11 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0+ -# -# Copyright (C) 2013, Miao Yan -# Copyright (C) 2015-2018, Bin Meng -# Copyright (C) 2019, Lihua Zhao +.. SPDX-License-Identifier: GPL-2.0+ +.. Copyright (C) 2013, Miao Yan +.. Copyright (C) 2015-2018, Bin Meng +.. Copyright (C) 2019, Lihua Zhao -VxWorks Support -=============== +VxWorks +======= This document describes the information about U-Boot loading VxWorks kernel. @@ -20,7 +19,7 @@ With CONFIG_EFI_LOADER option, it's possible to chain load a VxWorks x86 kernel via the UEFI boot loader application for VxWorks loaded by 'bootefi' command. VxWorks 7 on PowerPC and ARM ---------------------------- +---------------------------- From VxWorks 7, VxWorks starts adopting device tree as its hardware description mechanism (for PowerPC and ARM), thus requiring boot interface changes. This section will describe the new interface. @@ -35,11 +34,11 @@ For legacy bootm flow, make sure the least significant bit of flags in bootargs is cleared. The calling convention is described below: For PowerPC, the calling convention of the new VxWorks entry point conforms to -the ePAPR standard, which is shown below (see ePAPR for more details): +the ePAPR standard, which is shown below (see ePAPR for more details):: void (*kernel_entry)(fdt_addr, 0, 0, EPAPR_MAGIC, boot_IMA, 0, 0) -For ARM, the calling convention is shown below: +For ARM, the calling convention is shown below:: void (*kernel_entry)(void *fdt_addr) @@ -47,7 +46,7 @@ When using the Linux compatible standard DTB, the calling convention of VxWorks entry point is exactly the same as the Linux kernel. When booting a VxWorks 7 kernel (uImage format), the parameters passed to bootm -is like below: +is like below:: bootm - @@ -108,6 +107,7 @@ BIOS of the graphics card first. CONFIG_FRAMEBUFFER_SET_VESA_MODE need remain set but care must be taken at which VESA mode is to be set. The supported pixel format is 32-bit RGBA, hence the available VESA mode can only be one of the following: + * FRAMEBUFFER_VESA_MODE_10F * FRAMEBUFFER_VESA_MODE_112 * FRAMEBUFFER_VESA_MODE_115 From patchwork Mon Mar 28 02:43:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1609996 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=jjEfqF0S; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KRcV63VH1z9sDX for ; Mon, 28 Mar 2022 13:44:30 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0CD8A83AAF; Mon, 28 Mar 2022 04:44:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jjEfqF0S"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3927B83AAF; Mon, 28 Mar 2022 04:44:07 +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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (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 3266C83ABA for ; Mon, 28 Mar 2022 04:44:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pj1-x102b.google.com with SMTP id m22so12736146pja.0 for ; Sun, 27 Mar 2022 19:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=UlGCXdEfWprRj4E0/XJz43vZhFJStr3rdtqCOjaK+y4=; b=jjEfqF0SxXbl0bhUInvaUjbsr6L42wkMhdGuwBfi8IgX+cWcnGo/+m1YKyzzaTC91p yj/JzNl884xh5btUn5Gse6HGyB0Jb5Qt2a/N8lH0ow0Twqnd3FFtAuPzjH5amImPhtFP UxQA7yaQA21O1AK94TazpsuIIezZicSZivrLW/YkcNO/JBZq1IIHWCDVYoCBLAMCshL5 whW/xuBjzcxwAGEDsEVHhMYHCyL9Y9xg9UpzIf97+N5pwc2Ff+bXcJS9i2PZ+mY21L3B 3MqRm/JpRYNmV5ixqL8NgEHJOxBoPAWtuMR1SmHLD8RNa9+7pmfe01BlnhyB3LMh9YUr PVIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UlGCXdEfWprRj4E0/XJz43vZhFJStr3rdtqCOjaK+y4=; b=Lnf000X0rXD6AalokGL9+RR9TdLXFElysKnB1WLrXt9OzOzOZjTYfQfxstNsYKv8ui nyerPzEwbpeHKBy/rItpAy1dH5hr5vCDpvgCZfiD+axPtpLahSeQPzdlE8n3PSDAPNeq CL07YN0xquGw0yZpadRBrWrBPXSD5QBVfe9WeQotpPMXL4rwZP2gm/lsqXgSB50+Uo0a LVIm6zGqCM9o436tZwc4eIHI6qmTD7bKhr8GcvgBVNmznI+QBMQQI/WF0NdsMHWSndgZ IoXvYvzwFG+0X4AZGS62S+8e68+qszXLpWvngIwK983zy9+h4IkbJDfdbIf4qnDsr0qq SG1Q== X-Gm-Message-State: AOAM5329+YqPo86D0CaeZiiv9/VvakOVvivfmWmERxVr2OOQYokG68Pa a8a98KGNg8FoQ93ysXC2LjvydK7fhqM5cg== X-Google-Smtp-Source: ABdhPJypsfD7OZeDPZdicbDy4QmrR2T9w57wtknN9IMAElifqP5X6WHQPfx4zH1UOLnItSSEpUqRDA== X-Received: by 2002:a17:90b:4c41:b0:1c7:3fa8:9b6a with SMTP id np1-20020a17090b4c4100b001c73fa89b6amr38174064pjb.120.1648435439596; Sun, 27 Mar 2022 19:43:59 -0700 (PDT) Received: from pek-vx-bsp2.wrs.com (unknown-176-192.windriver.com. [147.11.176.192]) by smtp.gmail.com with ESMTPSA id p10-20020a637f4a000000b00373a2760775sm11266095pgn.2.2022.03.27.19.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 19:43:59 -0700 (PDT) From: Bin Meng To: Tom Rini , U-Boot Mailing List Subject: [PATCH 2/3] doc: usage: Update vxworks doc to mention RISC-V support Date: Mon, 28 Mar 2022 10:43:50 +0800 Message-Id: <20220328024351.629189-2-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220328024351.629189-1-bmeng.cn@gmail.com> References: <20220328024351.629189-1-bmeng.cn@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean At present the doc only mentions Arm, PowerPC and x86. RISC-V support has been added since VxWorks SR0650 support for a while, and U-Boot supports loading a RISC-V VxWorks kernel too. Let's document it. Signed-off-by: Bin Meng Reviewed-by: Heinrich Schuchardt --- doc/usage/os/vxworks.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/usage/os/vxworks.rst b/doc/usage/os/vxworks.rst index e696c639b2..e732f711fb 100644 --- a/doc/usage/os/vxworks.rst +++ b/doc/usage/os/vxworks.rst @@ -13,13 +13,13 @@ Status U-Boot supports loading VxWorks kernels via 'bootvx' and 'bootm' commands. For booting old kernels (6.9.x) on PowerPC and ARM, and all kernel versions on other architectures, 'bootvx' shall be used. For booting VxWorks 7 kernels -on PowerPC and ARM, 'bootm' shall be used. +on PowerPC/ARM/RISC-V, 'bootm' shall be used. With CONFIG_EFI_LOADER option, it's possible to chain load a VxWorks x86 kernel via the UEFI boot loader application for VxWorks loaded by 'bootefi' command. -VxWorks 7 on PowerPC and ARM ----------------------------- +VxWorks 7 on PowerPC/ARM/RISC-V +------------------------------- From VxWorks 7, VxWorks starts adopting device tree as its hardware description mechanism (for PowerPC and ARM), thus requiring boot interface changes. This section will describe the new interface. @@ -45,6 +45,11 @@ For ARM, the calling convention is shown below:: When using the Linux compatible standard DTB, the calling convention of VxWorks entry point is exactly the same as the Linux kernel. +For RISC-V, there is no legacy bootm flow as VxWorks always uses the same boot +interface as the Linux kernel, with the calling convention below:: + + void (*kernel_entry)(unsigned long hartid, void *fdt_addr) + When booting a VxWorks 7 kernel (uImage format), the parameters passed to bootm is like below:: From patchwork Mon Mar 28 02:43:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1609997 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=MTExgJid; 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 4KRcVC0QP2z9sDX for ; Mon, 28 Mar 2022 13:44:34 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 79BFE83B03; Mon, 28 Mar 2022 04:44:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="MTExgJid"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 26759837DE; Mon, 28 Mar 2022 04:44:08 +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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (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 96A7A837DE for ; Mon, 28 Mar 2022 04:44:03 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pj1-x1029.google.com with SMTP id o3-20020a17090a3d4300b001c6bc749227so14115731pjf.1 for ; Sun, 27 Mar 2022 19:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=hAw/mIheZ6Y1rxexREAay2ddtmdrHq/zV+K92o5Niy8=; b=MTExgJidq+0tY7VKMS90t+JOBDfc35bU0bDVG3hxWjEruPLJHEOMWSuyVYVkkkxGn+ GWEAc5JmZGIYuYY91Qb5SPXkegJRMCkShEYCHGaBjwvi19oxeoL1NXm0wSJAw6bReVIh ydXJ9xj2J45GdpYhY91K/Rp13vm8+4vhqyyawa3t1VbtKSZ6bTVbfVXW0XjZXUfv/0J0 0umggNdDBzzvyT1UKthpmGeRu9Vbm7gZ+9ZtivBWiro7p9xJkgIjXNxP/OGsjAflFCnD JNQoxWR7imHM5MK0BKPle7DyqmuD6R37N3Eh/qC0vjkeQNkaMNPLB8QWtpmIEb5+SF6s iQkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hAw/mIheZ6Y1rxexREAay2ddtmdrHq/zV+K92o5Niy8=; b=rAGdz8eOrGDzVEASIJYfosg1wX9AlkLOEta+79/Q4tVHDj151C7/DoMJdy2aZdH6+u VjCkPO4Y2ilbWMXfEV4EZiLzSVG+tUYJuDhseyMyF2wLdiiLq+/huzOn9yj2ouT3JELk gnUPIrtusAdM4SPu76oJVpxCJFAxmCyiRzXJescHLDhuUa/AfSSppSNSaQQpYp4Too+c evFyntR9zfOJZel8l5wmXEgjjlJu2yMfH8J8HpDpdQH7rPMy7Py6wkoC4VEUSc5yuKwV p+ZcWguSphDoiS0063jzDMNXip+yxF8ZIoSAPvlCLxFHeYeQ3pSsSbZureZ6Fr3zctSG Ge1A== X-Gm-Message-State: AOAM532wSqMaiKKqFqE0QnUjJfTOjtNbBSp5Yv3jMy3nAoth12bsGsHE hIMBwuT30EBdlNWPioPguTfgSYfkKEs1uA== X-Google-Smtp-Source: ABdhPJzXqmX1T/r3Tu7V6OeSvAa7ixAbaWnNfDkSOpYVGafYVcLn0VsvWjb+MYo72tnh96ssQnQUtg== X-Received: by 2002:a17:90a:df96:b0:1c7:9a6c:6ee2 with SMTP id p22-20020a17090adf9600b001c79a6c6ee2mr29468732pjv.135.1648435441825; Sun, 27 Mar 2022 19:44:01 -0700 (PDT) Received: from pek-vx-bsp2.wrs.com (unknown-176-192.windriver.com. [147.11.176.192]) by smtp.gmail.com with ESMTPSA id p10-20020a637f4a000000b00373a2760775sm11266095pgn.2.2022.03.27.19.44.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 19:44:01 -0700 (PDT) From: Bin Meng To: Tom Rini , U-Boot Mailing List Subject: [PATCH 3/3] doc: usage: Convert README.plan9 to reST Date: Mon, 28 Mar 2022 10:43:51 +0800 Message-Id: <20220328024351.629189-3-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220328024351.629189-1-bmeng.cn@gmail.com> References: <20220328024351.629189-1-bmeng.cn@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean This converts the existing README.plan9 to reST, and puts it under the doc/usage/os directory. Signed-off-by: Bin Meng Reviewed-by: Heinrich Schuchardt --- doc/usage/index.rst | 1 + doc/{README.plan9 => usage/os/plan9.rst} | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) rename doc/{README.plan9 => usage/os/plan9.rst} (89%) diff --git a/doc/usage/index.rst b/doc/usage/index.rst index b8916971bc..ecb4908fd1 100644 --- a/doc/usage/index.rst +++ b/doc/usage/index.rst @@ -59,4 +59,5 @@ Booting OS .. toctree:: :maxdepth: 1 + os/plan9 os/vxworks diff --git a/doc/README.plan9 b/doc/usage/os/plan9.rst similarity index 89% rename from doc/README.plan9 rename to doc/usage/os/plan9.rst index 2d3d0e0cf6..f91712c009 100644 --- a/doc/README.plan9 +++ b/doc/usage/os/plan9.rst @@ -1,3 +1,10 @@ +.. SPDX-License-Identifier: GPL-2.0+ +.. Steven Stallion +.. June 2013 + +Plan 9 +====== + Plan 9 from Bell Labs kernel images require additional setup to pass configuration information to the kernel. An environment variable named confaddr must be defined with the same value as CONFADDR (see mem.h). @@ -10,9 +17,6 @@ bootargs environment variable will be copied. If no command line arguments or bootargs are defined, CONFADDR is left uninitialized to permit manual configuration. For example, PC-style -configuration could be simulated by issuing a fatload in bootcmd: +configuration could be simulated by issuing a fatload in bootcmd:: # setenv bootcmd fatload mmc 0 $confaddr plan9.ini; ...; bootm - -Steven Stallion -June 2013