From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luigi 'Comio' Mantellini Date: Thu, 27 Mar 2008 17:06:43 +0100 Subject: [U-Boot-Users] New Image format: headers hashes. In-Reply-To: <1206616392.23794.33.camel@localhost> References: <1206616392.23794.33.camel@localhost> Message-ID: <1206634003.13666.14.camel@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On gio, 2008-03-27 at 12:13 +0100, Luigi 'Comio' Mantellini wrote: > > > - The mkimage calculate hashes before that timestamp is added to > image. > is it better exchange the order of these operations (before add > timestamp then calculate hashes)? > - Does the new format assure that the complete image (_all_ sections, > images, ramdisks, configurations, blobs) are covered by at least an > hash > value? should mkimage add at least a hash value for the root node? > In addition to the previous question: - I'm interested to calculate and store from U-boot code but the fit_image_set_hashes is compiled only when the USE_HOSTCC symbol is defined. Why? Is there a particular reason? I think that a lot of useful functions (ifdef-ed by USE_HOSTCC) should be available also in u-boot code, anyway the linker will drop the unused functions. Any comments? thanks luigi Industrie Dial Face S.p.A. Luigi Mantellini R&D - Software Industrie Dial Face S.p.A. Via Canzo, 4 20068 Peschiera Borromeo (MI), Italy Tel.: +39 02 5167 2813 Fax: +39 02 5167 2459 E-mail: luigi.mantellini at idf-hit.com GPG fingerprint: 3DD1 7B71 FBDF 6376 1B4A B003 175F E979 907E 1650 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.denx.de/pipermail/u-boot/attachments/20080327/b799b42e/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: idf_logo.gif Type: image/gif Size: 4122 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20080327/b799b42e/attachment.gif