Re: Issue in uncompressing zImage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpM5yDXOvUFD.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux