RE: MMU and BDI2000

2 messages, 2 authors, 2001-12-13 · open the first message on its own page

RE: MMU and BDI2000

From: Subodh Nijsure <hidden>
Date: 2001-12-13 02:43:17

Hello,

I have kernel 2.4.4 and I do have MMU XLAT and latest BDI firmware from
Abatron
and I am  not able to get translation to work. I have tried the following

target remote bdi:2001
b start_here

p &swapper_pg_dir

then at BDI2000 telnet prompt,

mm 0xf0 <address_swapper_pg_dir>

that didn't help.

I got the latest 2.4 _devel kernel and there are lot of changes that I need
to merge into my source, I was looking for a short term fix to get
translation
to work. Has anybody gotten gdb to work correctly with Abatron 2000 on linux
2.4.4 kernel?


/Subodh

-----Original Message-----
From: Wolfgang Denk [mailto:wd@denx.de]
Sent: Friday, September 14, 2001 4:30 AM
To: Michael Habermann
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: MMU and BDI2000



In message [off-list ref] you wrote:
I've not found a BDI newsgroup or FAQ so I'm sorry
Maybe we should start a mailing list.
But I get problems debugging variables. The BDI often prints:
'*** MMU: address translation for 0xC100B288 failed',
...
[TARGET]
CPUTYPE	    MPC800
CPUCLOCK    25000000    ;the CPU clock rate after processing the init list
BDIMODE     AGENT       ;the BDI working mode (LOADONLY | AGENT)
BREAKMODE   HARD        ;SOFT or HARD, HARD uses PPC hardware breakpoints
MMU XLAT
Are you using latest BDI2000 firmware?

I'm missing a PTBASE definition in this section  -  without  it  only
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".

Please note that the 2.4.4 kernel on our  FTP  server  does  not  yet
include  the  automatic  update  of  the  BDI  page table information
structure mentioned in the BDI2000 manual. We will have this  in  the
next version (as soon as it's running stable).

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Is a computer language with goto's totally Wirth-less?


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

Re: MMU and BDI2000

From: Dan Malek <hidden>
Date: 2001-12-13 06:15:01

Subodh Nijsure wrote:


I have kernel 2.4.4 and I do have MMU XLAT and latest BDI firmware from
Abatron
Can you use a newer kernel that will do all of this for you automatically?
and I am  not able to get translation to work. I have tried the following
That isn't correct with the latest BDI firmware.  The address at 0xf0 is
not the address of the page table, it is an indirect pointer to an array
of page table root pointers.  Later kernels will set up all of this for you.

We unfortunately had a short-lived version of kernel and BDI2000 that did
use the low address as a pointer to the kernel page tables, but this isn't
done any longer.

Thanks.


-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help