[U-Boot] iminfo and zImages

Andy Rea andy at azureussolutions.com
Mon Mar 12 14:03:54 UTC 2018


Is it just not possible for the zImages in RAM to be decoded as per the
uImages ?

 

If I simply use mkimage to convert the image back as a uImage ( essentially
take off the first 64 bytes ? ) then iminfo will display the kernel info

 

The uImage file is only 64 bytes smaller so hasn't fundamentally been
uncompressed but also offsetting the iminfo by the 64 bytes makes no odds
either

 

Did I miss the point somewhere?!

 

 

 

 

=> tftp 82000000 uImage

done

Bytes transferred = 7954944 (796200 hex)

=> iminfo

 

## Checking Image at 82000000 ...

   Legacy image found

   Image Name:   Linux kernel

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    7954880 Bytes = 7.6 MiB

   Load Address: 82000000

   Entry Point:  82000000

   Verifying Checksum ... OK

 

=> tftp 82000000 zImage

done

Bytes transferred = 7954880 (7961c0 hex)

## Checking Image at 82000000 ...

Unknown image format!

=> iminfo 82000040

 

## Checking Image at 82000040 ...

Unknown image format!

=>

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5546 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180312/cd716185/attachment.bin>


More information about the U-Boot mailing list