From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 03 Oct 2013 23:43:37 +0200 Subject: [U-Boot] Dual boot Images in Flash In-Reply-To: <1380783611628-164588.post@n7.nabble.com> References: <1380547665536-164381.post@n7.nabble.com> <20130930200146.DA393382B87@gemini.denx.de> <1380633558849-164443.post@n7.nabble.com> <20131001203807.1473E38040E@gemini.denx.de> <1380783611628-164588.post@n7.nabble.com> Message-ID: <20131003214337.13D3F38036E@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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