linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Error loading kernel
@ 2001-08-08 14:05 Kapil Konde
  2001-08-08 14:17 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Kapil Konde @ 2001-08-08 14:05 UTC (permalink / raw)
  To: linuxppclist


Hi All,
        When I load the rtlinux kernel on my mpc860 mdppro board using
debugger and try to boot kernel it gives me error "bad gzipped data".
Can anybody please tell me what is this error. And what I may be doing
wrong.

Ragards,
Kapil.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: Error loading kernel
  2001-08-08 14:05 Error loading kernel Kapil Konde
@ 2001-08-08 14:17 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2001-08-08 14:17 UTC (permalink / raw)
  To: Kapil Konde; +Cc: linuxppclist


In message <3B714732.E4D67708@yahoo.com> you wrote:
>
>         When I load the rtlinux kernel on my mpc860 mdppro board using
> debugger and try to boot kernel it gives me error "bad gzipped data".
> Can anybody please tell me what is this error. And what I may be doing
> wrong.

You cannot just load and run the kernel in the debugger.

The kernel, when started, expects  that  certain  hardware  initiali-
zation has been performed, and certain parameters are being passed to
it. You _can_ do this with the debugger, but you have to know EXACTLY
what you're doing.

IMHO it's much easier to let your firmware (PPCBoot ?) load and start
the kernel. Only then take over control with the  debugger.  An  easy
way to do this is to set a breakpoint on the address range 0xC0000000
... 0xD0000000. That way the debugger will halt the execution as soon
as the kernel has turned on the MMU.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
He'd heard her use that sweet, innocent  tone  of  voice  before.  It
meant that, pretty soon, there was going to be trouble.
                                        - Terry Pratchett, _Truckers_

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-08 14:05 Error loading kernel Kapil Konde
2001-08-08 14:17 ` Wolfgang Denk

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