From: Ye Li <ye.li@nxp.com>
To: u-boot@lists.denx.de
Subject: [PATCH] imx: Fix imx8m FIT script issue
Date: Thu, 9 Apr 2020 01:44:43 -0700 [thread overview]
Message-ID: <1586421883-21999-1-git-send-email-ye.li@nxp.com> (raw)
The FIT config node has reversed ATF and u-boot: ATF is set to
firmware but u-boot is set to loadable.
This script can work previously because spl fit driver wrongly
appends fdt to all loadable images. With the issue fixed, the u-boot
in loadable does not have fdt appended and fails to work.
So correct script by moving u-boot to firmware and ATF to loadable.
Signed-off-by: Ye Li <ye.li@nxp.com>
---
arch/arm/mach-imx/mkimage_fit_atf.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/mach-imx/mkimage_fit_atf.sh b/arch/arm/mach-imx/mkimage_fit_atf.sh
index ad81d5e..dd1ca5a 100755
--- a/arch/arm/mach-imx/mkimage_fit_atf.sh
+++ b/arch/arm/mach-imx/mkimage_fit_atf.sh
@@ -116,8 +116,8 @@ if [ -f $BL32 ]; then
cat << __CONF_SECTION_EOF
config@$cnt {
description = "$(basename $dtname .dtb)";
- firmware = "atf at 1";
- loadables = "uboot at 1", "tee at 1";
+ firmware = "uboot at 1";
+ loadables = "atf at 1", "tee at 1";
fdt = "fdt@$cnt";
};
__CONF_SECTION_EOF
@@ -125,8 +125,8 @@ else
cat << __CONF_SECTION1_EOF
config@$cnt {
description = "$(basename $dtname .dtb)";
- firmware = "atf at 1";
- loadables = "uboot at 1";
+ firmware = "uboot at 1";
+ loadables = "atf@1";
fdt = "fdt@$cnt";
};
__CONF_SECTION1_EOF
--
2.7.4
next reply other threads:[~2020-04-09 8:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-09 8:44 Ye Li [this message]
2020-04-09 12:12 ` [PATCH] imx: Fix imx8m FIT script issue Fabio Estevam
2020-04-09 13:09 ` Matt Porter
2020-04-09 13:18 ` Fabio Estevam
2020-04-09 13:21 ` Tom Rini
2020-04-09 17:32 ` Tom Rini
2020-04-27 12:32 ` Schrempf Frieder
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=1586421883-21999-1-git-send-email-ye.li@nxp.com \
--to=ye.li@nxp.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.