* Device Accessing Problem in 440GP
@ 2002-12-02 15:27 Vishwanath
0 siblings, 0 replies; only message in thread
From: Vishwanath @ 2002-12-02 15:27 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: akuster
Hi All,
I am working on IBM 440GP based proprietry board using MVL 2.1 linux. I have
a device siiting on the EBC at 0x100100000 and I want to access it from the
user space. I use mmap call of my driver to do that. I have not initialized
the device. I have set the access parameters and controller registers of EBC
appropriately to access the device.
But when I make ioremap() call using,
ioremap64(0x100100000, 0x2000),
the function returns a valid pointer. But when I do a sample write and
read, I am not getting correct values. While I was debigging, I couldn't
find the TLB entry for the real address.
When I try to access the returned mmap() pointer, kernel says ,
do_wp_page: bogus page at address xxxx (page yyyy)
VM: killing process xxx
Does anyone know what could be the reason?
1. Do I have to initialize the device in setup_arch function ?
2. Do I have to explicitly create a TLB entry for the device ?
Hoping to get a response. I am stuck in the middle.
Thanks and regards,
Vishwa
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-02 15:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-02 15:27 Device Accessing Problem in 440GP Vishwanath
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 NNTP newsgroup(s).