From mboxrd@z Thu Jan 1 00:00:00 1970 From: wintermute@paranoici.org (wintermute) Date: Fri, 13 Apr 2012 08:07:53 +0200 Subject: Issue in uncompressing zImage In-Reply-To: References: Message-ID: <20120413060753.GA2525@computer> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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