* Dual-Port SRAM
@ 2004-05-03 16:47 Bob White
0 siblings, 0 replies; 2+ messages in thread
From: Bob White @ 2004-05-03 16:47 UTC (permalink / raw)
To: linuxppc-embedded
I've got a board with a dual-port SRAM attached to the 440GP on the
peripheral bus (at CS1_N). I can map the TLB and access the device
from the bdi2000 and the u-boot command prompt.
What configuration is necessary to map this memory into the kernel?
Can you point me to some examples? How does it then get accessed from
a user program?
Thanks.
Bob
--
Robert B. White Perigee, A Division of Sensis Corp
Software Design Engr 316 Commerce Blvd.
TEL: 315.453.7842x29 Liverpool, NY 13088
FAX: 315.453.7917 www.Perigee.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Dual-Port SRAM
@ 2004-05-04 8:48 Fillod Stephane
0 siblings, 0 replies; 2+ messages in thread
From: Fillod Stephane @ 2004-05-04 8:48 UTC (permalink / raw)
To: 'Bob White', linuxppc-embedded
Bob White wrote:
> What configuration is necessary to map this memory into the kernel?
You need ioremap() and a good book on Linux Kernel Driver development.
Excellent examples are in linux/drivers directory.
> Can you point me to some examples? How does it then get accessed from
> a user program?
Bob, Wolfgang was talking about this reply ;-)
So, here is the FAQ:
Please have a look at Denx's FAQ for accessing memory bus:
http://www.denx.de/twiki/bin/view/PPCEmbedded/DeviceDrivers#Section_Accessin
gPeripheralsFromUserSpace
For more information, please follow this thread:
http://lists.linuxppc.org/linuxppc-embedded/200403/msg00059.html
Next time, google and list archive are your friend ;-)
Regards,
Stephane
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-04 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-03 16:47 Dual-Port SRAM Bob White
-- strict thread matches above, loose matches on Subject: below --
2004-05-04 8:48 Fillod Stephane
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).