public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] MPC82xx MMU cfg
@ 2004-08-02  8:58 Oliver Fuchs
  2004-08-02  9:34 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Fuchs @ 2004-08-02  8:58 UTC (permalink / raw)
  To: u-boot

Hi all,

sorry for the probably OT question but I hope to find here the 
experts at booting the linux kernel.
I've got a proprietary board with MPC8280 and U-Boot 1.1.1.
If I boot the kernel (2.4.24 from ELDK3.0), it crashes in 
m8260_init_IRQ.
I guess there is the first access to IMMR area which launches a "Data 
store
translation miss" exception.
The BAT registers seem to be missconfigured.

It would be fine if anyone could point me to
1. where the kernel configures the BAT registers and
2. where I can read about how the kernel uses the MMU.

Thanks in advance,
Oliver


some additional info:

IMMR: 0F000000

BAT registers:
    DBAT0U  F0001FFE   BEPI F0000000    BL 00001FFC  Vs 1  Vp 0
    DBAT0L  F000002A   BRPN 00007800  WIMG _I_G  PP read/write
    DBAT1U  E0001FFE   BEPI E0000000    BL 00001FFC  Vs 1  Vp 0
    DBAT1L  E000002A   BRPN 00007000  WIMG _I_G  PP read/write
    DBAT2U  C00007FE   BEPI C0000000    BL 000007FC  Vs 1  Vp 0
    DBAT2L  00000002   BRPN 00000000  WIMG ____  PP read/write

What are DBAT0/1x good for?

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

* [U-Boot-Users] MPC82xx MMU cfg
  2004-08-02  8:58 [U-Boot-Users] MPC82xx MMU cfg Oliver Fuchs
@ 2004-08-02  9:34 ` Wolfgang Denk
  2004-08-02 10:25   ` Oliver Fuchs
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2004-08-02  9:34 UTC (permalink / raw)
  To: u-boot

In message <410E1E60.468.AC678F@localhost> you wrote:
> 
> some additional info:
> 
> IMMR: 0F000000

This is broken and cannot work. RTFM (with M = FAQ). See especially
http://www.denx.de/twiki/bin/view/PPCEmbedded/Kernel#Section_10.2.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Keep your eyes wide open before marriage, half shut afterwards.
                                                 -- Benjamin Franklin

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

* [U-Boot-Users] MPC82xx MMU cfg
  2004-08-02  9:34 ` Wolfgang Denk
@ 2004-08-02 10:25   ` Oliver Fuchs
  0 siblings, 0 replies; 3+ messages in thread
From: Oliver Fuchs @ 2004-08-02 10:25 UTC (permalink / raw)
  To: u-boot

From:           	Wolfgang Denk <wd@denx.de>
Date sent:      	Mon, 02 Aug 2004 11:34:07 +0200

> > IMMR: 0F000000
> 
> This is broken and cannot work. RTFM (with M = FAQ). See especially
> http://www.denx.de/twiki/bin/view/PPCEmbedded/Kernel#Section_10.2.
> 
Thanks a lot, it works (IMMR @ FF00 0000)

Oliver

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

end of thread, other threads:[~2004-08-02 10:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-02  8:58 [U-Boot-Users] MPC82xx MMU cfg Oliver Fuchs
2004-08-02  9:34 ` Wolfgang Denk
2004-08-02 10:25   ` Oliver Fuchs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox