* use bdi2000
@ 2003-07-09 9:55 greggiraud
2003-07-09 11:12 ` Seb James
2003-07-09 11:29 ` Omanakuttan
0 siblings, 2 replies; 6+ messages in thread
From: greggiraud @ 2003-07-09 9:55 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I have some problem with the use of the bdi 2000 to debug linux kernel with DDD. In fact, I am connecting to the bdi2000 (target remote ....). And then, if I do step by step. But When I click on "step", DDD print: " error accessing memory access". And then, when I click again on "step" it steps. Is it normal???
Moreover I want to see the values in the structure skbuff in netif_rx. So I make a break point here, and then click on "continue". (As before I have to click twice because of the DDD message " error accessing memory access".)
It stops well on the begining of the function netif_rx, but I can't what there are in the values of the skbuff, I only see MAC=0,..., everything is NULL or 0!
Can someone has ever use the bdiGdb well?
gregory
greggiraud@netcourrier.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: use bdi2000
2003-07-09 9:55 greggiraud
@ 2003-07-09 11:12 ` Seb James
2003-07-09 11:29 ` Omanakuttan
1 sibling, 0 replies; 6+ messages in thread
From: Seb James @ 2003-07-09 11:12 UTC (permalink / raw)
To: linuxppc-embedded
greggiraud@netcourrier.com wrote:
>Hi,
>I have some problem with the use of the bdi 2000 to debug linux kernel with DDD. In fact, I am connecting to the bdi2000 (target remote ....). And then, if I do step by step. But When I click on "step", DDD print: " error accessing memory access". And then, when I click again on "step" it steps. Is it normal???
>
I've never seen this happen. It doesn't sound normal.
>
>Moreover I want to see the values in the structure skbuff in netif_rx. So I make a break point here, and then click on "continue". (As before I have to click twice because of the DDD message " error accessing memory access".)
>It stops well on the begining of the function netif_rx, but I can't what there are in the values of the skbuff, I only see MAC=0,..., everything is NULL or 0!
>
>Can someone has ever use the bdiGdb well?
>
>gregory
>greggiraud@netcourrier.com
>
>
>
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: use bdi2000
2003-07-09 9:55 greggiraud
2003-07-09 11:12 ` Seb James
@ 2003-07-09 11:29 ` Omanakuttan
2003-07-09 21:34 ` dong in kang
1 sibling, 1 reply; 6+ messages in thread
From: Omanakuttan @ 2003-07-09 11:29 UTC (permalink / raw)
To: greggiraud, linuxppc-embedded
greggiraud@netcourrier.com wrote:
> Hi,
> I have some problem with the use of the bdi 2000 to debug linux kernel with DDD. In fact, I am connecting to the bdi2000 (target remote ....). And then, if I do step by step. But When I click on "step", DDD print: " error accessing memory access". And then, when I click again on "step" it steps. Is it normal???
seems like you have not enabled MMU XLAT in the configuration file of bdi.
check if the .cfg file contains the following lines, whithout an initial
semi colon.
MMU XLAT ;translate effective to physical address
Regards,
Om.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: use bdi2000
2003-07-09 11:29 ` Omanakuttan
@ 2003-07-09 21:34 ` dong in kang
0 siblings, 0 replies; 6+ messages in thread
From: dong in kang @ 2003-07-09 21:34 UTC (permalink / raw)
To: 'Omanakuttan', greggiraud, linuxppc-embedded
Actually, I also have the same problem.
I tried to use SOFT break, and the problem seems to disappear.
Am I doing right?
Here is my configuration file.
BREAKMODE SOFT
MMY XLAT
BDIMODE AGENT
Thanks,
Dong-In
-----Original Message-----
From: owner-linuxppc-embedded@lists.linuxppc.org
[mailto:owner-linuxppc-embedded@lists.linuxppc.org] On Behalf Of Omanakuttan
Sent: Wednesday, July 09, 2003 7:29 AM
To: greggiraud@netcourrier.com; linuxppc-embedded@lists.linuxppc.org
Subject: Re: use bdi2000
greggiraud@netcourrier.com wrote:
> Hi,
> I have some problem with the use of the bdi 2000 to debug linux kernel
> with DDD. In fact, I am connecting to the bdi2000 (target remote ....).
And then, if I do step by step. But When I click on "step", DDD print: "
error accessing memory access". And then, when I click again on "step" it
steps. Is it normal???
seems like you have not enabled MMU XLAT in the configuration file of bdi.
check if the .cfg file contains the following lines, whithout an initial
semi colon.
MMU XLAT ;translate effective to physical address
Regards,
Om.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RE: use bdi2000
@ 2003-07-15 7:38 greggiraud
2003-07-15 8:05 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: greggiraud @ 2003-07-15 7:38 UTC (permalink / raw)
To: dkang, omanakuttan, linuxppc-embedded
Hi,
Even when I use MMU XLAT, I can't see the values of a skbuf, in net/core/dev.c (netif_rx) with DDD and BDIGDB
I don't know what to do.
I someone help me: I have a big issue with a AM29DL323GbB flash, I can read it, but can't erase or program it from ram whith ppcboot.
thanks
greg
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: use bdi2000
2003-07-15 7:38 RE: use bdi2000 greggiraud
@ 2003-07-15 8:05 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-07-15 8:05 UTC (permalink / raw)
To: greggiraud; +Cc: linuxppc-embedded
In message <mnet1.1058254689.18246.greggiraud@netcourrier.com> you wrote:
>
> Even when I use MMU XLAT, I can't see the values of a skbuf, in net/core/dev.c (netif_rx) with DDD and BDIGDB
> I don't know what to do.
Read the BDI2000 manual, especially the section about the PTBASE
config parameter.
> I someone help me: I have a big issue with a AM29DL323GbB flash, I can read it, but can't erase or program it from ram whith ppcboot.
Who ported PPCBoot to your hardware? Complain to him that he has
introduced a bug in the flash driver.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
F u cn rd ths u cnt spl wrth a dm!
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-07-15 8:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-15 7:38 RE: use bdi2000 greggiraud
2003-07-15 8:05 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2003-07-09 9:55 greggiraud
2003-07-09 11:12 ` Seb James
2003-07-09 11:29 ` Omanakuttan
2003-07-09 21:34 ` dong in kang
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).