Issue in uncompressing zImage

wintermute wintermute at paranoici.org
Fri Apr 13 02:07:53 EDT 2012


On Thu, Apr 12, 2012 at 03:37:37PM +0530, KARTHIK SEKURU wrote:
> But when I load zImage at the same address i.e 0x80008000, I am getting
> *Uncompressing Linux...*
> *uncompression error*
> * -- System halted*
> I made sure that I am enabling the config options CONFIG_XZ_DEC (xz
> decompression support) through menuconfig.
> 
> I suspected on the cramfs memory location and then tried loading only
> zImage at 0x80008000.,even after this the result is same.
> Please let me know where could be the issue.

I think that the kernel is uncompressing itself at an address too near
to the image address, thus overwriting the compressed image.
Anyways you can see that the error you encounter is caused by this
routine:
http://lxr.linux.no/#linux+v3.3.1/lib/decompress_inflate.c#L159

Hope it helps

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120413/9b82625b/attachment.bin 


More information about the Kernelnewbies mailing list