This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PXA255 - Xscale - Peripheral access question


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]