From patchwork Wed Jan 20 13:31:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Milan Lakhani X-Patchwork-Id: 12032347 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D635C433DB for ; Wed, 20 Jan 2021 13:31:58 +0000 (UTC) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 473CC23340 for ; Wed, 20 Jan 2021 13:31:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dmarc=permerror header.from=codethink.co.uk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+72012+236+5278000+9232812@lists.elisa.tech X-Received: by 127.0.0.2 with SMTP id sIJFYY5279335x2YyMSpjkCI; Wed, 20 Jan 2021 05:31:56 -0800 X-Received: from ubuntu.localdomain (ubuntu.localdomain [90.222.153.26]) by mx.groups.io with SMTP id smtpd.web12.27775.1611149515591212217 for ; Wed, 20 Jan 2021 05:31:56 -0800 X-Received: by ubuntu.localdomain (Postfix, from userid 1000) id 99FBC160C70; Wed, 20 Jan 2021 13:31:53 +0000 (GMT) From: "Milan Lakhani" To: lukas.bulwahn@gmail.com, sudip.mukherjee@codethink.co.uk, linux-safety@lists.elisa.tech, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, harryxiyou@gmail.com, alex.shi@linux.alibaba.com, robh@kernel.org, corbet@lwn.net Cc: Milan Lakhani Subject: [linux-safety] [PATCH] docs: Update DTB format references Date: Wed, 20 Jan 2021 13:31:51 +0000 Message-Id: <1611149511-4990-1-git-send-email-milan.lakhani@codethink.co.uk> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: linux-safety@lists.elisa.tech List-Id: Mailing-List: list linux-safety@lists.elisa.tech; contact linux-safety+owner@lists.elisa.tech List-Post: X-Gm-Message-State: bZDCG4u7k250iBoKofmUQRzpx5278000AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.elisa.tech; q=dns/txt; s=20140610; t=1611149516; bh=4Krx+EgmCU3Tq2EA6HY5atE9CB5viUvlCs8rn4WeBuE=; h=Cc:Content-Type:Date:From:Subject:To; b=K0U25wbHOSwobHP0rs97K4THwDwaBhLmIUnGBRW0o14UyvgGJoSAy8EmVf3UMjIAzgn YojsCdGCNUHnLE5QQSNZecB4DoJxRaKC8v3eTixYdyAqWeGyRflPMQlHU33rEWP+JvERc V8YpmB+6Hjr7OlRda9ypmM2j0m7NhK/oAtg= There were two references to devicetree/booting-without-of.rst (which has been removed) for DTB format information, and devicetree/usage-model.rst pointed to https://elinux.org/Device_Tree_Usage. Change all three of these references to https://www.devicetree.org/specifications/. Signed-off-by: Milan Lakhani --- Documentation/arm/booting.rst | 2 +- Documentation/devicetree/usage-model.rst | 2 +- Documentation/translations/zh_CN/arm/Booting | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/arm/booting.rst b/Documentation/arm/booting.rst index a226345..14bca5b 100644 --- a/Documentation/arm/booting.rst +++ b/Documentation/arm/booting.rst @@ -128,7 +128,7 @@ it. The recommended placement is in the first 16KiB of RAM. The boot loader must load a device tree image (dtb) into system ram at a 64bit aligned address and initialize it with the boot data. The -dtb format is documented in Documentation/devicetree/booting-without-of.rst. +dtb format is documented in https://www.devicetree.org/specifications/. The kernel will look for the dtb magic value of 0xd00dfeed at the dtb physical address to determine if a dtb has been passed instead of a tagged list. diff --git a/Documentation/devicetree/usage-model.rst b/Documentation/devicetree/usage-model.rst index e1b42dc..1eb8349 100644 --- a/Documentation/devicetree/usage-model.rst +++ b/Documentation/devicetree/usage-model.rst @@ -12,7 +12,7 @@ This article describes how Linux uses the device tree. An overview of the device tree data format can be found on the device tree usage page at devicetree.org\ [1]_. -.. [1] https://elinux.org/Device_Tree_Usage +.. [1] https://www.devicetree.org/specifications/ The "Open Firmware Device Tree", or simply Device Tree (DT), is a data structure and language for describing hardware. More specifically, it diff --git a/Documentation/translations/zh_CN/arm/Booting b/Documentation/translations/zh_CN/arm/Booting index c3d26ce..5ecea07 100644 --- a/Documentation/translations/zh_CN/arm/Booting +++ b/Documentation/translations/zh_CN/arm/Booting @@ -124,7 +124,7 @@ bootloader 必须传递一个系统内存的位置和最小值,以及根文件 bootloader 必须以 64bit 地址对齐的形式加载一个设备树映像(dtb)到系统 RAM 中,并用启动数据初始化它。dtb 格式在文档 -Documentation/devicetree/booting-without-of.rst 中。内核将会在 +https://www.devicetree.org/specifications/ 中。内核将会在 dtb 物理地址处查找 dtb 魔数值(0xd00dfeed),以确定 dtb 是否已经代替 标签列表被传递进来。