MPC82xx MMU cfg
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/writeWhat are DBAT0/1x good for?
Quoted 4 lines · 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
Signature · 4 lines
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 FranklinFrom: Wolfgang Denk <[email protected]> Date sent: Mon, 02 Aug 2004 11:34:07 +0200
Quoted 5 lines
Quoted 1 line
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