This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: PXA255 - Xscale - Peripheral access question
- From: "Daniel Schmidt" <sc_da at gmx dot de>
- To: Mark Salter <msalter at redhat dot com>
- Cc: prasad_nirmal at yahoo dot com,ecos-discuss at sources dot redhat dot com
- Date: Tue, 4 Jan 2005 20:29:02 +0100 (MET)
- Subject: Re: [ECOS] PXA255 - Xscale - Peripheral access question
- References: <1104849177.15358.4.camel@sadr.localdomain>
> On Sun, 2005-01-02 at 09:22 -0800, Nirmal Prasad wrote:
> > Hello,
> >
> > I am using an xscale module that has redboot on it and
> > I am trying to interface a peripheral at address
> > 0x34000000 [Socket 1 reserved space]. The registers
> > are supposed to be in this space.
> >
> > When I do a x -b 0x34000000 -l 512 it returns 0x00's.
> > Do I need to setup any kind of mapping for access to
> > the socket 0,socket 1 address space?
>
> Yes. The platform HALs are responsible for setting up these sorts of
> mappings in the page table. Look at hal/arm/xscale/{uE250,mpc50}
> for code that sets up the pxa2x0 pagetable (hal_mmu_init()). Neither
> of those ports use the pcmcia slots and the pcmcia areas are not
> mapped on them.
>
> --Mark
Hello,
I think he should get an "data abort" when this space is not mapped.
(normaly redboot displays this error)
Nirmal, could you send your memory mappings from your hal_platform_setup.h?
daniel
--
+++ GMX - die erste Adresse für Mail, Message, More +++
1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss