[U-Boot] u-boot ubifsload & verify uImage
Johann Obermayr
johann.obermayr at sigmatek.at
Tue Sep 12 10:34:44 UTC 2017
Hello Heiko,
Thank you very much.
I think iminfo is the one I've been looking for
Regards
Johann
-----Ursprüngliche Nachricht-----
Von: Heiko Schocher [mailto:hs at denx.de]
Gesendet: Dienstag, 12. September 2017 10:43
An: Johann Obermayr <johann.obermayr at sigmatek.at>
Cc: U-Boot Mailing List <u-boot at lists.denx.de>
Betreff: Re: [U-Boot] u-boot ubifsload & verify uImage
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
More information about the U-Boot
mailing list