From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] of/fdt: export fdt blob as /sys/firmware/fdt
Date: Mon, 10 Nov 2014 17:57:32 +0100 [thread overview]
Message-ID: <3340387.dB5eK3mRnu@wuerfel> (raw)
In-Reply-To: <1415638305-24463-1-git-send-email-ard.biesheuvel@linaro.org>
On Monday 10 November 2014 17:51:45 Ard Biesheuvel wrote:
> Create a new /sys entry '/sys/firmware/fdt' to export the FDT blob
> that was passed to the kernel by the bootloader. This allows userland
> applications such as kexec to access the raw binary.
>
> 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.
>
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Can you elaborate on the motivation? Initially the fdt format was
introduced to make it easy to pass the information from /proc/device-tree
to the next kernel for kexec. Are you interested in cases where this does
not work?
Arnd
next prev parent reply other threads:[~2014-11-10 16:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 16:51 [PATCH] of/fdt: export fdt blob as /sys/firmware/fdt Ard Biesheuvel
2014-11-10 16:57 ` Arnd Bergmann [this message]
2014-11-10 17:08 ` Ard Biesheuvel
2014-11-10 18:02 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3340387.dB5eK3mRnu@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).