linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Image download problem with gdb and DBI
@ 2001-04-30 21:15 Freddy Lugo
  2001-04-30 21:46 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Freddy Lugo @ 2001-04-30 21:15 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

When I tried to download the kernel image it gives me
the "bad gzipped data" error, I know that this is
caused because the image is not there or the
bootloader has an invalid address.

When I perform a "load" on gdb the output is:

>Loading section .text, size 0x742c lma 0x800000
>Loading section .rodata, size 0x175c lma 0x807430
>Loading section .data, size 0x1b6c lma 0x809000
>Start address 0x800000 , load size 42740
>Transfer rate: 170960 bits/sec, 502 bytes/write.

So the image area is not downloaded, I am assuming
this is the cause of the error.

This are the steps I am executing:
- start gdb using arch/ppc/boot/zvmlinux
- set gdb to work with a remote target (bdi2000)
- load the program (produced the above messages)
- run the program

Other info:
custom board running on a MPC750

What I am doing wrong??

Does the image (vmlinux) should be downloaded apart
from the bootloader?  How I told gdb or bdi2000 to
download the image area?  Is there is a common recipe
for this procedure?

Thanks in advance,

Freddy Lugo


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

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

end of thread, other threads:[~2001-05-01 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-30 21:15 Image download problem with gdb and DBI Freddy Lugo
2001-04-30 21:46 ` Wolfgang Denk
2001-05-01 16:12   ` Freddy Lugo

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