linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* XUPV2P, Kernel 2.6.17 boot problem
@ 2006-08-01  8:02 Benjamin Heyne
  2006-08-01 11:21 ` Ameet Patil
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Benjamin Heyne @ 2006-08-01  8:02 UTC (permalink / raw)
  To: Linuxppc-embedded

Dear all,
I am currently trying to get the 2.6.17.1 Linux kernel
running on the Xilinx Virtex. I have the 2.4 kernel up
and running - No problems there...

But when using the 2.6 kernel (have copied xparameters file,
patched for using TEMAC driver) with the same hardware configuration
the following happens:


loaded at:     00400000 0061813C
board data at: 00616124 0061613C
relocated to:  00405148 00405160
zimage at:     0040585D 00615F42
avail ram:     00619000 20000000

Linux/PPC load: console=ttyS0,9600.....

Uncompressing Linux...inflate returned FFFFFFFB
exit


Now, I am not really sure where to start searching for the bug
(I just want to implement some drivers - not the kernel itself ;-).
The zImage.elf file is about 2MB large. Did anyone encounter
a similar error? Does anyone have some hints where to
look at for debugging, or what might be wrong?

Thanks in advance
Best regards
-- 
Benjamin Heyne

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: XUPV2P, Kernel 2.6.17 boot problem
@ 2006-08-12  4:37 Milton Miller
  2006-08-14  9:10 ` Benjamin Heyne
  0 siblings, 1 reply; 14+ messages in thread
From: Milton Miller @ 2006-08-12  4:37 UTC (permalink / raw)
  To: benjamin.heyne, linuxppc-embedded; +Cc: linuxppc-embedded

On Mon Aug  7 2006 04:46:43 AM CDT, Benjamin Heyne wrote:
> Peter Korsgaard <jacmet@sunsite.dk> wrote as thus:
> > >>>>> "David" == David H Lynch <dhlii@dlasys.net> 
> > David>     Have you tried 2.6.18.x to see if your stuff works with it
> > David> ?
> > 
> > Yes, 2.6.18-rc3 + my zlib fix
> > (http://thread.gmane.org/gmane.linux.kernel/428436) or -rc4 once it
> > hits kernel.org works fine on my v2p-based board.
> 
> Well, unfortunately I am still getting the inflate error
> as soon as the image grows >2MB (about). Have you tried with
> images of this size? If the image is smaller, everything works
> fine...

My first reaction when I saw this thread was that you didn't allocate 
something in memory and overlapped something.  However, looking
at your original post again, I think your kernel is growing larger than
4MB, which is the link address of the zImage.  This is based on the 
kernel is decompressed to address 0 in
ppc/boot/simple/misc-embedded.c, and a 50% compression factor 
and 2MB compressed image.

You can look at the file size of vmlinux to see if this is close.

milton

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

end of thread, other threads:[~2006-08-14 14:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-01  8:02 XUPV2P, Kernel 2.6.17 boot problem Benjamin Heyne
2006-08-01 11:21 ` Ameet Patil
2006-08-02 19:50 ` David H. Lynch Jr.
2006-08-04 14:00   ` Peter Korsgaard
2006-08-04 15:35     ` David H. Lynch Jr.
2006-08-07  7:40       ` Peter Korsgaard
2006-08-07  9:46         ` Benjamin Heyne
2006-08-07 15:22 ` XUPV2P, which kernel 2.6. device drivers are available? Benjamin Heyne
2006-08-07 16:03   ` Ameet Patil
2006-08-11  8:30     ` Benjamin Heyne
  -- strict thread matches above, loose matches on Subject: below --
2006-08-12  4:37 XUPV2P, Kernel 2.6.17 boot problem Milton Miller
2006-08-14  9:10 ` Benjamin Heyne
2006-08-14 14:00   ` Milton Miller
2006-08-14 14:42     ` Benjamin Heyne

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).