From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Kunz Date: Thu, 02 Nov 2017 16:53:54 +0100 Subject: [U-Boot] [PATCH 1/2] sunxi: binman: Add U-Boot binary size check In-Reply-To: <20171019140419.30996-2-maxime.ripard@free-electrons.com> References: <20171019140419.30996-1-maxime.ripard@free-electrons.com> <20171019140419.30996-2-maxime.ripard@free-electrons.com> Message-ID: <1714071.5BEO5OyD5H@donald> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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