* 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
* Re: Image download problem with gdb and DBI
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
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2001-04-30 21:46 UTC (permalink / raw)
To: Freddy Lugo; +Cc: linuxppc-embedded
In message <20010430211516.24155.qmail@web9901.mail.yahoo.com> you wrote:
>
> So the image area is not downloaded, I am assuming
> this is the cause of the error.
At least it's part of the problem. Another problem might be missing
hardware initialization and parameter passing. Usually I let the
firmware initialize the box and load the linux kernel...
> What I am doing wrong??
>
> Does the image (vmlinux) should be downloaded apart
> from the bootloader? How I told gdb or bdi2000 to
No.
> download the image area? Is there is a common recipe
The BDI2000 understands the Linux image format. Use the "load"
command (with the telnet interface) and the "image" format type (see
section 3.2.3 Part [HOST] of the BDI2000 manual).
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
The only way to get rid of a temptation is to yield to it.
- Oscar Wilde
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Image download problem with gdb and DBI
2001-04-30 21:46 ` Wolfgang Denk
@ 2001-05-01 16:12 ` Freddy Lugo
0 siblings, 0 replies; 3+ messages in thread
From: Freddy Lugo @ 2001-05-01 16:12 UTC (permalink / raw)
To: linuxppc-embedded
> At least it's part of the problem. Another problem
> might be missing
> hardware initialization and parameter passing.
> Usually I let the
> firmware initialize the box and load the linux
> kernel...
The FORMAT was already set to IMAGE on the bdi2000.
Also I tried to make an autoload (LOAD AUTO) from the
BDI and still the image is not downloaded or could not
be found. On the gdb, the load doesn't download the
image.
I let the MPC750 used the standard initialization
provided on boot/head.S.
Since the kernel image is not found yet, the MMU is
not set (AFAIK), what other initialization could be
needed in order to permit the image download?
Sorry for all the bothering. I checked the list but I
didn't find information on the issue.
Thanks,
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).