From: Mark Salter <msalter@redhat.com>
To: Raghu <raghu_dk@yahoo.com>
Cc: ecos <ecos-devel@sources.redhat.com>
Subject: Re: MMU enabling for IXP425
Date: Wed, 26 Jan 2005 13:39:00 -0000 [thread overview]
Message-ID: <1106746731.12599.5.camel@gienah.localdomain> (raw)
In-Reply-To: <20050126112622.68462.qmail@web40427.mail.yahoo.com>
On Wed, 2005-01-26 at 03:26 -0800, Raghu wrote:
> Hi,
> I have a IXP425 based custom board, and trying to
> enable MMU in Redboot ROM monitor. I have 64 Mb SDRAM.
> And set following mem map in "hal_platform_extras.h"
>
> VA PA XCB Size Desc
> 0x00000000 0x00000000 010 64Mb SDRAM ( Cached )
> 0x10000000 0x10000000 010 64Mb SDRAM ( Alias )
> 0x20000000 0x00000000 000 64Mb SDRAM ( UnCached )
> Reset as in IXDP425 !
...
> But in the "hal_platform_setup.h" file on enabling the
> DCache at instruction, "mrc p15, 0, r0, c1, c0, 0" is
> get a "Prefetch Abort".
>
...
> Any clues ?
> Also how are the FL_SECTION_ENTRY for PCI, MISC
> created. The macro uses on .word everytime.
>
I would look carefully at the page table. The way the table is
constructed in hal_platform_extras.h is error prone. The latest
code in cvs uses a less error prone method. I suspect that there
is no mapping for the flash and the first i-fetch after mmu is
enabled is causing the prefetch abort.
The pagetable entries for PCI and other IO areas should be there
in hal_platform_extras.h
--Mark
prev parent reply other threads:[~2005-01-26 13:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-26 11:26 Raghu
2005-01-26 13:39 ` Mark Salter [this message]
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=1106746731.12599.5.camel@gienah.localdomain \
--to=msalter@redhat.com \
--cc=ecos-devel@sources.redhat.com \
--cc=raghu_dk@yahoo.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).