From: Jonas Mark (BT-FIR/ENG1) <Mark.Jonas@de.bosch.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] cmd, fdt: add subcommand "get" to fdt header
Date: Wed, 21 Nov 2018 06:45:21 +0000 [thread overview]
Message-ID: <ff4d41c6dcef4e37a64005bf49d50915@de.bosch.com> (raw)
Hi Heiko,
> store fdt header member with name <member> in U-Boot
> Environment variable with name <var>.
>
> for example to get the total length of the fdt and store
> it in filesize, call:
>
> fdt header get filesize totalsize
>
> For membernames look into fdt header definition at
> scripts/dtc/libfdt/libfdt.h
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
>
> Changes in v3:
> - add comments from Marek
> simplify for loop, use fdtp[i] -> drop ftdip++
>
> Changes in v2:
> - add obviously missing "static const char *"
>
> cmd/fdt.c | 40 +++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 39 insertions(+), 1 deletion(-)
The patch was
Tested-by: Leo Ruan <tingquan.ruan@cn.bosch.com>
and works fine.
Greetings,
Mark
Building Technologies, Panel Software Fire (BT-FIR/ENG1)
Bosch Sicherheitssysteme GmbH | Postfach 11 11 | 85626 Grasbrunn | GERMANY | www.boschsecurity.com
Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart HRB 23118
Aufsichtsratsvorsitzender: Stefan Hartung; Geschäftsführung: Tanja Rückert, Andreas Bartz, Thomas Quante, Bernhard Schuster
next reply other threads:[~2018-11-21 6:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-21 6:45 Jonas Mark [this message]
2018-11-29 17:42 ` [U-Boot] [PATCH v3] cmd, fdt: add subcommand "get" to fdt header sjg at google.com
-- strict thread matches above, loose matches on Subject: below --
2018-11-15 5:06 Heiko Schocher
2018-11-16 0:07 ` Simon Glass
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=ff4d41c6dcef4e37a64005bf49d50915@de.bosch.com \
--to=mark.jonas@de.bosch.com \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.