[U-Boot] [PATCH] Corrected checksum failure handling of FDT within FIT image

Patz, Heiko heiko.patz at siemens-healthineers.com
Wed Aug 1 08:24:35 UTC 2018


Hello,

I have observed, that if you have a corrupted FDT within a FIT image, then the error handling is not correct and you will fail to  'hang()'.
To allow an error handling within scripts, the return value of the calling function 'fit_image_load()' has to be checked for negative values.
On error (return value < 0), we have to exit the function. This error seems to also exists in the newest u-boot release.

Please check and fix, if not already done in current versions of u-boot.

With best regards,
Heiko Patz

Siemens Healthcare GmbH
Diagnostic Imaging
Computed Tomography
Electronics
SHS DI CT R&D SC EL
Siemensstr. 1
91301 Forchheim, Germany
Tel.: +49 9191 18-6444
Fax: +49 9191 18-6513
Mobile: +49 152 06340249
mailto:heiko.patz at siemens-healthineers.com
[cid:image001.gif at 01D42981.A98AE880]
Siemens Healthcare GmbH: Management: Bernhard Montag, Chairman; Jochen Schmitz, Michael Reitermann; Chairman of the Supervisory Board: Michael Sen; Registered office: Munich, Germany; Commercial Registry: Munich, HRB 213821 WEEE-Reg.-No. DE 64872105

Important notice: This e-mail and any attachment thereof contain corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 3714 bytes
Desc: image001.gif
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180801/88c38adc/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-2015.04.patch
Type: application/octet-stream
Size: 678 bytes
Desc: u-boot-2015.04.patch
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180801/88c38adc/attachment.obj>


More information about the U-Boot mailing list