From: Frank Kunz <mailinglists@kunz-im-inter.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] sunxi: binman: Add U-Boot binary size check
Date: Thu, 02 Nov 2017 16:53:54 +0100 [thread overview]
Message-ID: <1714071.5BEO5OyD5H@donald> (raw)
In-Reply-To: <20171019140419.30996-2-maxime.ripard@free-electrons.com>
Am Donnerstag, 19. Oktober 2017, 16:04:18 CET schrieb Maxime Ripard:
> The U-boot binary may trip over its actual allocated size in the storage.
> In such a case, the environment will not be readable anymore (because
> corrupted when the new image was flashed), and any attempt at using saveenv
> to reconstruct the environment will result in a corrupted U-boot binary.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
> arch/arm/dts/sunxi-u-boot.dtsi | 11 +++++++++++
> 1 file changed, 11 insertions(+)
Hello,
I found that this patch causes the sunxi-fel tool to fail with:
sunxi-fel uboot u-boot-sunxi-with-spl.bin
U-Boot image data size mismatch: expected 516032, got 389212
Is there a patch for the sunxi tools missing?
Br,
Frank
next prev parent reply other threads:[~2017-11-02 15:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-19 14:04 [U-Boot] [PATCH v2 0/2] sunxi: Fix boot of Cubietruk and al Maxime Ripard
2017-10-19 14:04 ` [U-Boot] [PATCH 1/2] sunxi: binman: Add U-Boot binary size check Maxime Ripard
2017-10-19 14:36 ` Bin Meng
2017-10-19 15:07 ` Andre Przywara
2017-11-02 15:53 ` Frank Kunz [this message]
2017-11-03 8:42 ` Maxime Ripard
2017-11-03 17:01 ` Frank Kunz
2017-11-06 14:35 ` Maxime Ripard
2017-10-19 14:04 ` [U-Boot] [PATCH 2/2] sunxi: Enable THUMB build for the U-Boot binary Maxime Ripard
2017-10-19 22:11 ` [U-Boot] [PATCH v2 0/2] sunxi: Fix boot of Cubietruk and al André Przywara
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=1714071.5BEO5OyD5H@donald \
--to=mailinglists@kunz-im-inter.net \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox