From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Dual boot Images in Flash
Date: Thu, 03 Oct 2013 23:43:37 +0200 [thread overview]
Message-ID: <20131003214337.13D3F38036E@gemini.denx.de> (raw)
In-Reply-To: <1380783611628-164588.post@n7.nabble.com>
Dear pshambhu,
In message <1380783611628-164588.post@n7.nabble.com> you wrote:
>
> Thanks for the feedback, for the customization
> of u-boot_stub, the main file start.S needs to be changed i guess, the
> u-boot_stub has to perform only CRC check. after performing it should goto
> u_boot1/u_boot2 address and then it should start booting.
I think you still fail to see the real issues with any such approach.
What makes you think the fact that the CRC checksum is correct could
actually mean that the image is really working?
It only means that there is a pretty good chance that it has not been
corrupted - it does NOT give you any additional reason to trust it
would be "good".
> How can i customize the u-boot_stub or generate the start.S file which
> perform only CRC calculation and switching address of u_boot1/u_boot2 ,
> which performs booting.
Well, just implement what you think needs to be done...
Note that I don't think that you could get what you want this way.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A list is only as strong as its weakest link. -- Don Knuth
prev parent reply other threads:[~2013-10-03 21:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-30 13:27 [U-Boot] Dual boot Images in Flash pshambhu
2013-09-30 20:01 ` Wolfgang Denk
2013-10-01 6:02 ` Gupta, Pekon
2013-10-01 7:08 ` Wolfgang Denk
2013-10-01 7:43 ` Gupta, Pekon
2013-10-01 8:54 ` pshambhu
2013-10-01 13:19 ` pshambhu
2013-10-01 20:38 ` Wolfgang Denk
2013-10-03 7:00 ` pshambhu
2013-10-03 21:43 ` Wolfgang Denk [this message]
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=20131003214337.13D3F38036E@gemini.denx.de \
--to=wd@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