All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: MMU and BDI2000
       [not found] ` <5.1.0.14.0.20010915223300.02bef9f0@pop.gmx.de>
@ 2001-09-15 15:17   ` Wolfgang Denk
  2001-09-15 19:14   ` Re[2]: " Ricardo Scop
  2001-09-15 22:20   ` Dan Malek
  2 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2001-09-15 15:17 UTC (permalink / raw)
  To: Michael Habermann; +Cc: linuxppc-embedded


In message <5.1.0.14.0.20010915223300.02bef9f0@pop.gmx.de> you wrote:
>
> >default  translation  is  enabled.  See  the  BDI2000  user's manual,
> >Section "3.2.2 Part [TARGET]" (Entries "MMU XLAT  [kb]"  and  "PTBASE
> >addr") and Section "3.3.4 Embedded Linux MMU Support".
>
> You have no idea how often I had read this and I couldn't even find out if
> it belongs to my problem.
>
> How do I get the swapper_pg_dir? Is it the constant address from System.map?

You need the contents, like that:

(gdb) target remote bdi:2001
Remote debugging using bdi:2001
0x100 in ?? ()
(gdb) b start_here
Breakpoint 1 at 0xc0002180
(gdb) c
Continuing.

Breakpoint 1, 0xc0002180 in start_here ()
(gdb) p &swapper_pg_dir
$1 = (<data variable, no debug info> *) 0xc0130000


Now at the BDI2000 telnet prompt:

BDI>mm 0xf0 0xc0130000


And the again with GDB;

(gdb) c
Continuing.


Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
I've got to get something inside me. Some coffee  or  something.  And
then the world will somehow be better.
                                     - Terry Pratchett, _Men at Arms_

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

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

* Re[2]: MMU and BDI2000
       [not found] ` <5.1.0.14.0.20010915223300.02bef9f0@pop.gmx.de>
  2001-09-15 15:17   ` MMU and BDI2000 Wolfgang Denk
@ 2001-09-15 19:14   ` Ricardo Scop
  2001-09-15 22:20   ` Dan Malek
  2 siblings, 0 replies; 3+ messages in thread
From: Ricardo Scop @ 2001-09-15 19:14 UTC (permalink / raw)
  To: Michael Habermann; +Cc: linuxppc-embedded


Michael,

Saturday, September 15, 2001, 11:46:10 AM, you wrote:

MH> [REGS]
MH> DMM1    0x0FF00000

Maybe it's just a typo, but the above line should be, in your case:

DMM1   0xFF000000

[]'s, Scop                            mailto:scop@digitel.com.br


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

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

* Re: MMU and BDI2000
       [not found] ` <5.1.0.14.0.20010915223300.02bef9f0@pop.gmx.de>
  2001-09-15 15:17   ` MMU and BDI2000 Wolfgang Denk
  2001-09-15 19:14   ` Re[2]: " Ricardo Scop
@ 2001-09-15 22:20   ` Dan Malek
  2 siblings, 0 replies; 3+ messages in thread
From: Dan Malek @ 2001-09-15 22:20 UTC (permalink / raw)
  To: Michael Habermann; +Cc: Wolfgang Denk, linuxppc-embedded


Michael Habermann wrote:

> How do I get the swapper_pg_dir? Is it the constant address from System.map?

Ooops...You shouldn't have seen any version of the software that makes
any
reference to swapper_pg_dir.....

The configuration file you attached looks fine for the recent 2.4
kernels.
If you want to backtrace into the currently running application (useful
for system call parameters), ensure you enable the 'CONFIG_BDI_SWITCH'
option.  I left it disabled by default because it adds three
instructions
to the context switch overhead.


	-- Dan

** 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-09-15 22:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Your message of "Fri, 14 Sep 2001 17:58:29 +0800." <5.1.0.14.0.20010914174808.026db880@pop.gmx.de>
     [not found] ` <5.1.0.14.0.20010915223300.02bef9f0@pop.gmx.de>
2001-09-15 15:17   ` MMU and BDI2000 Wolfgang Denk
2001-09-15 19:14   ` Re[2]: " Ricardo Scop
2001-09-15 22:20   ` Dan Malek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.