From: Cindy Peters <cinpet@adaptivemicro.com>
To: "'Peter Desnoyers'" <pdesnoyers@chinook.com>
Cc: "'linuxppc-embedded@lists.linuxppc.org'"
<linuxppc-embedded@lists.linuxppc.org>
Subject: RE: Problem during decompressing kernel routine
Date: Mon, 10 Sep 2001 10:08:48 -0500 [thread overview]
Message-ID: <41EDEC3C1B88D51186EB00A0C9CFADF702FA6F@AMWMAIL> (raw)
I did add some print statements and it gets to the inflate() routine and
does not return. I forgot to mention this. I printed the parameters for the
inflate routine and they seem to be correct.
s.next_in = 0020533A
s.avail_in = 0007224A
s.next_out = 00000000
s.avail_out = 00400000
Wolfgang wrote:
>Somewhere in the last version of the Linux kernel they changed the
>clock from MHz to Hz. Check you version of the source, and modify the
>value passed in the bd_info structure as needed.
I checked it and the value was correct.
Thanks,
Cindy Peters
-----Original Message-----
From: Peter Desnoyers [mailto:pdesnoyers@chinook.com]
Sent: Monday, September 10, 2001 9:53 AM
To: Cindy Peters
Subject: Re: Problem during decompressing kernel routine
You could try debugging with printouts in the decompression routine. In
arch/ppc/boot/mbx/misc.c, decompress_kernel() you'll find the following
lines:
puts("\nUncompressing Linux...");
gunzip(0, 0x400000, zimage_start, &zimage_size);
puts("done.\n");
puts("Now booting the kernel\n");
You're clearly going off into the weeds on the second line, and puts()
is working so you can use it to debug.
--
.....................................................................
Peter Desnoyers (781) 457-1165 pdesnoyers@chinook.com
Chinook Communications (617) 661-1979 pjd@fred.cambridge.ma.us
100 Hayden Ave, Lexington MA 02421
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2001-09-10 15:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-10 15:08 Cindy Peters [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-09-11 0:20 Problem during decompressing kernel routine THEDREAM
2001-09-10 14:20 Cindy Peters
2001-09-10 11:09 ` Matt Porter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41EDEC3C1B88D51186EB00A0C9CFADF702FA6F@AMWMAIL \
--to=cinpet@adaptivemicro.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=pdesnoyers@chinook.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox