public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot ubifsload & verify uImage
Date: Tue, 12 Sep 2017 10:43:27 +0200	[thread overview]
Message-ID: <59B79E2F.8010904@denx.de> (raw)
In-Reply-To: <AM4PR0801MB158779CA2C5ACF7B240B596EF5690@AM4PR0801MB1587.eurprd08.prod.outlook.com>

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

  reply	other threads:[~2017-09-12  8:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12  8:06 [U-Boot] u-boot ubifsload & verify uImage Johann Obermayr
2017-09-12  8:43 ` Heiko Schocher [this message]
2017-09-12 10:34   ` Johann Obermayr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59B79E2F.8010904@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox