kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Issue in uncompressing zImage
@ 2012-04-12 10:07 KARTHIK SEKURU
  2012-04-13  6:07 ` wintermute
  0 siblings, 1 reply; 2+ messages in thread
From: KARTHIK SEKURU @ 2012-04-12 10:07 UTC (permalink / raw)
  To: kernelnewbies

Hi,
I'm doing kernel porting to arm926 based FPGA board,very minimal setup
(uart + timer only)
I'm getting kernel panic after cramfs root file system is mounted,I am
expecting to enter login prompt after root file system is mounted.

Below are the details

#define PLAT_PHYS_OFFSET       0x80000000 (with 128 MB SDRAM)
#define CONFIG_PAGE_OFFSET  0xc0000000


Physical memory : 128MB (0x80000000 to 88000000)

ZRELADDR = 0x80008000
PARAMS_PHYS = 0x80000100
INITRD_PHYS = 0x80800000

Kernel cmd line : mem=32M console=ttySAC0,115200 root=/dev/ram0
rootfstype=cramfs init=/linuxrc initrd=0x80800000,8M user_debug=31





I am not using u-boot and doing all the required initializations through
trace32 cmm script.





After compiling the kernel, when I load vmlinux(through trace32) at
0x80008000, the kernel runs upto mounting the filesystem(though there is
some issue in mounting the filesystem).



But when I load zImage at the same address i.e 0x80008000, I am getting



*Uncompressing Linux...*

* *

*uncompression error*

* *

* -- System halted*



in the console.



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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120412/3a86415c/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-13  6:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-12 10:07 Issue in uncompressing zImage KARTHIK SEKURU
2012-04-13  6:07 ` wintermute

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).