Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1677749 > unrolled thread

Re: [PATCH] of: document /sys/firmware/fdt

Started byGrant Likely <grant.likely@secretlab.ca>
First post2017-06-29 15:30 +0200
Last post2017-06-29 15:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] of: document /sys/firmware/fdt Grant Likely <grant.likely@secretlab.ca> - 2017-06-29 15:30 +0200

#1677749 — Re: [PATCH] of: document /sys/firmware/fdt

FromGrant Likely <grant.likely@secretlab.ca>
Date2017-06-29 15:30 +0200
SubjectRe: [PATCH] of: document /sys/firmware/fdt
Message-ID<tXHGa-87n-11@gated-at.bofh.it>
On Wed, Jun 14, 2017 at 5:20 AM,  <frowand.list@gmail.com> wrote:
> From: Frank Rowand <frank.rowand@sony.com>
>
> Add ABI documentation for /sys/firmware/fdt
>
> Update contact for /sys/firmware/devicetree/* to include mail list
>
> Signed-off-by: Frank Rowand <frank.rowand@sony.com>

Acked-by: Grant Likely <grant.likely@arm.com>

(Apologies for acking from a different address. My ARM email isn't yet
set up to play nice on mailing lists.)

g.

> ---
>  Documentation/ABI/testing/sysfs-firmware-ofw | 27 ++++++++++++++++++++++++++-
>  1 file changed, 26 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-firmware-ofw b/Documentation/ABI/testing/sysfs-firmware-ofw
> index f562b188e71d..8e700db6c295 100644
> --- a/Documentation/ABI/testing/sysfs-firmware-ofw
> +++ b/Documentation/ABI/testing/sysfs-firmware-ofw
> @@ -1,6 +1,6 @@
>  What:          /sys/firmware/devicetree/*
>  Date:          November 2013
> -Contact:       Grant Likely <grant.likely@linaro.org>
> +Contact:       Grant Likely <grant.likely@linaro.org>, devicetree@vger.kernel.org
>  Description:
>                 When using OpenFirmware or a Flattened Device Tree to enumerate
>                 hardware, the device tree structure will be exposed in this
> @@ -26,3 +26,28 @@ Description:
>                 name plus address). Properties are represented as files
>                 in the directory. The contents of each file is the exact
>                 binary data from the device tree.
> +
> +What:          /sys/firmware/fdt
> +Date:          February 2015
> +KernelVersion: 3.19
> +Contact:       Frank Rowand <frank.rowand@sony.com>, devicetree@vger.kernel.org
> +Description:
> +               Exports the FDT blob that was passed to the kernel by
> +               the bootloader. This allows userland applications such
> +               as kexec to access the raw binary. This blob is also
> +               useful when debugging since it contains any changes
> +               made to the blob by the bootloader.
> +
> +               The fact that this node does not reside under
> +               /sys/firmware/device-tree is deliberate: FDT is also used
> +               on arm64 UEFI/ACPI systems to communicate just the UEFI
> +               and ACPI entry points, but the FDT is never unflattened
> +               and used to configure the system.
> +
> +               A CRC32 checksum is calculated over the entire FDT
> +               blob, and verified at late_initcall time. The sysfs
> +               entry is instantiated only if the checksum is valid,
> +               i.e., if the FDT blob has not been modified in the mean
> +               time. Otherwise, a warning is printed.
> +Users:         kexec, debugging
> +
> --
> Frank Rowand <frank.rowand@sony.com>
>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web