[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201021084518.1eab6481@coco.lan>
Date: Wed, 21 Oct 2020 08:45:18 +0200
From: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Frank Rowand <frowand.list@...il.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Michael Ellerman <mpe@...erman.id.au>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
Jonathan Corbet <corbet@....net>,
Paul Mackerras <paulus@...ba.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Rich Felker <dalias@...c.org>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
linuxppc-dev@...ts.ozlabs.org, linux-mips@...r.kernel.org,
linux-doc@...r.kernel.org, linux-sh@...r.kernel.org,
Benjamin Herrenschmidt <benh@...nel.crashing.org>
Subject: Re: [PATCH 2/2] dt: Remove booting-without-of.rst
Hi Rob,
Em Thu, 8 Oct 2020 09:24:20 -0500
Rob Herring <robh@...nel.org> escreveu:
> booting-without-of.rstt is an ancient document that first outlined
> Flattened DeviceTree on PowerPC initially. The DT world has evolved a
> lot in the 15 years since and booting-without-of.rst is pretty stale.
> The name of the document itself is confusing if you don't understand the
> evolution from real 'OpenFirmware'. Most of what booting-without-of.rst
> contains is now in the DT specification (which evolved out of the
> ePAPR). The few things that weren't documented in the DT specification
> are now.
>
> All that remains is the boot entry details, so let's move these to arch
> specific documents. The exception is arm which already has the same
> details documented.
Removing this document caused a warning at Documentation/arm/booting.rst:
$ ./scripts/documentation-file-ref-check
Documentation/arm/booting.rst: Documentation/devicetree/booting-without-of.rst
as it mentions that the DTB format is described on booting-without-of.rst:
4b. Setup the device tree
-------------------------
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.
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.
So, I guess that such part of the document needs to be moved to booting.rst.
Thanks,
Mauro
Powered by blists - more mailing lists