[U-Boot] u-boot ubifsload & verify uImage

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)
Thanx Johann

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

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@denx.de] Gesendet: Dienstag, 12. September 2017 10:43 An: Johann Obermayr johann.obermayr@sigmatek.at Cc: U-Boot Mailing List u-boot@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
participants (2)
-
Heiko Schocher
-
Johann Obermayr