From: Wolfgang Denk <wd@denx.de>
To: Michael Habermann <MHabermann@gmx.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: MMU and BDI2000
Date: Sat, 15 Sep 2001 17:17:29 +0200 [thread overview]
Message-ID: <20010915151735.0976C10099@denx.denx.de> (raw)
In-Reply-To: Your message of "Sat, 15 Sep 2001 22:46:10 +0800." <5.1.0.14.0.20010915223300.02bef9f0@pop.gmx.de>
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/
next parent reply other threads:[~2001-09-15 15:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 ` Wolfgang Denk [this message]
2001-09-15 19:14 ` Re[2]: MMU and BDI2000 Ricardo Scop
2001-09-15 22:20 ` Dan Malek
2001-12-16 22:14 Rudolf Ladyzhenskii
-- strict thread matches above, loose matches on Subject: below --
2001-12-13 7:48 Goddeeris Frederic
2001-12-13 2:43 Subodh Nijsure
2001-12-13 6:15 ` Dan Malek
2001-09-14 9:58 Michael Habermann
2001-09-14 11:29 ` Wolfgang Denk
2001-09-14 18:31 ` Dan Malek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010915151735.0976C10099@denx.denx.de \
--to=wd@denx.de \
--cc=MHabermann@gmx.de \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).