Skip to contentSkip to conversation

extract size of FIT image

U-Boot Bishop 2 participants 2 messages Jan 23, 2018

lore
Share & tools
lore

Bishop

#0 lore raw

Is there an easy way or an existing mechanism to look inside of a FIT image and get the size of the complete image?

Mark Bishop
Sr. Firmware/Software Engineer - Microwave Subsystems

[cid:image001.png at 01D281ED.A45F0A90]

4726 Eisenhower Blvd.
Tampa, FL 33634
USA

T +1 813 901 7293

mbishop at smithsinterconnectinc.com<mailto:[email protected]>

smithsinterconnect.com<http://www.smithsinterconnect.com/>

TRAK MICROWAVE IS NOW SMITHS INTERCONNECT!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 15310 bytes
Desc: image001.png
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180123/593a7f85/attachment.png>

#1 lore raw
Quoted 2 lines · Mark (STRT) MBishop at smithsinterconnectinc.com

Is there an easy way or an existing mechanism to look inside of a FIT image and get the size of the complete image?

=> fdt addr <address-of-your-fit-image>
=> fdt header

'totalsize' is the complete image size.

--
Anatolij