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: Mark Salter <msalter at redhat dot com>
- To: Nirmal Prasad <prasad_nirmal at yahoo dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Tue, 04 Jan 2005 09:32:57 -0500
- Subject: Re: [ECOS] PXA255 - Xscale - Peripheral access question
- Organization: Red Hat, Inc.
- References: <20050102172238.5751.qmail@web51605.mail.yahoo.com>
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
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss