* [U-Boot] u-boot ubifsload & verify uImage
@ 2017-09-12 8:06 Johann Obermayr
2017-09-12 8:43 ` Heiko Schocher
0 siblings, 1 reply; 3+ messages in thread
From: Johann Obermayr @ 2017-09-12 8:06 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] u-boot ubifsload & verify uImage
2017-09-12 8:06 [U-Boot] u-boot ubifsload & verify uImage Johann Obermayr
@ 2017-09-12 8:43 ` Heiko Schocher
2017-09-12 10:34 ` Johann Obermayr
0 siblings, 1 reply; 3+ messages in thread
From: Heiko Schocher @ 2017-09-12 8:43 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] u-boot ubifsload & verify uImage
2017-09-12 8:43 ` Heiko Schocher
@ 2017-09-12 10:34 ` Johann Obermayr
0 siblings, 0 replies; 3+ messages in thread
From: Johann Obermayr @ 2017-09-12 10:34 UTC (permalink / raw)
To: u-boot
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@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
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-12 10:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-12 8:06 [U-Boot] u-boot ubifsload & verify uImage Johann Obermayr
2017-09-12 8:43 ` Heiko Schocher
2017-09-12 10:34 ` Johann Obermayr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox