From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 12 Sep 2017 10:43:27 +0200 Subject: [U-Boot] u-boot ubifsload & verify uImage In-Reply-To: References: Message-ID: <59B79E2F.8010904@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Johann, Am 12.09.2017 um 10:06 schrieb Johann Obermayr: > Hello, > > we use ubifsload to load the uImage and start it with bootm > Is there a way to verify the uImage file ? > Sometime we have the problem, that uImage is corrupt (powerdown while update) bootm should check before booting the kernel, if the uImage file is OK. If the uImage is not OK, bootm should fail. You can check an uImage in RAM with the "iminfo [address]" command. Enable the iminfo comamnd with CONFIG_CMD_IMI. bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de