From: Andre Przywara <andre.przywara@arm.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: SPL: FIT: fix DTC warnings on FIT generation
Date: Thu, 5 Oct 2017 00:24:39 +0100 [thread overview]
Message-ID: <20171004232439.20817-1-andre.przywara@arm.com> (raw)
Newer versions of the device tree compiler (rightfully) complain about
mismatches between attributed node names (name@<addr>) and a missing
reg property in that node.
Adjust the FIT build script for 64-bit Allwinner boards to remove the
bogus addresses from the node names and avoid the warnings.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
board/sunxi/mksunxi_fit_atf.sh | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/board/sunxi/mksunxi_fit_atf.sh b/board/sunxi/mksunxi_fit_atf.sh
index b1d6e0e16a..36abe9efed 100755
--- a/board/sunxi/mksunxi_fit_atf.sh
+++ b/board/sunxi/mksunxi_fit_atf.sh
@@ -21,7 +21,7 @@ cat << __HEADER_EOF
#address-cells = <1>;
images {
- uboot at 1 {
+ uboot {
description = "U-Boot (64-bit)";
data = /incbin/("u-boot-nodtb.bin");
type = "standalone";
@@ -29,7 +29,7 @@ cat << __HEADER_EOF
compression = "none";
load = <0x4a000000>;
};
- atf at 1 {
+ atf {
description = "ARM Trusted Firmware";
data = /incbin/("$BL31");
type = "firmware";
@@ -44,7 +44,7 @@ cnt=1
for dtname in $*
do
cat << __FDT_IMAGE_EOF
- fdt@$cnt {
+ fdt_$cnt {
description = "$(basename $dtname .dtb)";
data = /incbin/("$dtname");
type = "flat_dt";
@@ -57,7 +57,7 @@ done
cat << __CONF_HEADER_EOF
};
configurations {
- default = "config at 1";
+ default = "config_1";
__CONF_HEADER_EOF
@@ -65,11 +65,11 @@ cnt=1
for dtname in $*
do
cat << __CONF_SECTION_EOF
- config@$cnt {
+ config_$cnt {
description = "$(basename $dtname .dtb)";
- firmware = "uboot at 1";
- loadables = "atf@1";
- fdt = "fdt@$cnt";
+ firmware = "uboot";
+ loadables = "atf";
+ fdt = "fdt_$cnt";
};
__CONF_SECTION_EOF
cnt=$((cnt+1))
--
2.14.1
next reply other threads:[~2017-10-04 23:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-04 23:24 Andre Przywara [this message]
2017-10-09 4:45 ` [U-Boot] [PATCH] ARM: SPL: FIT: fix DTC warnings on FIT generation Simon Glass
2017-10-16 20:59 ` Jagan Teki
2017-10-16 21:13 ` Tom Rini
2017-10-16 21:20 ` Jagan Teki
2017-10-23 5:38 ` Lokesh Vutla
2017-10-23 20:34 ` Tom Rini
2017-10-24 2:03 ` Lokesh Vutla
2017-10-24 2:31 ` Masahiro Yamada
2017-10-24 22:04 ` André Przywara
2017-10-16 21:30 ` André Przywara
2017-10-22 14:34 ` 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=20171004232439.20817-1-andre.przywara@arm.com \
--to=andre.przywara@arm.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.