From: Steven Scholz <steven.scholz@imc-berlin.de>
To: LinuxPPC <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: uncached user space mapping with mmap() ???
Date: Thu, 04 Mar 2004 15:35:46 +0100 [thread overview]
Message-ID: <40473EC2.1010400@imc-berlin.de> (raw)
In-Reply-To: <2C1BAF8F8E1DD611862B0002A5D4C3FC02B6CFC6@renexch3.rennes.thmulti.com>
Fillod Stephane wrote:
>>I am trying to access a hardware timer implemented in an FPGA from
>>user space. I implemented a simple mmap() functionality (taken from
>>Runbini's Linux Device Driver)
>
> Please refer to "11.13. Accessing peripherals from user space"
> in the excellent FAQ from DENX's TWiki at :
>
> http://www.denx.de/twiki/bin/view/PPCEmbedded/DeviceDrivers#Section_Accessin
> gPeripheralsFromUserSpace
>
> There's no need to implement kernel side stuff. /dev/mem is enough.
Oh! Nice. Thanks a million! It actually works (on my ARM board!)
So why will people need their own mmap() driver if this kind of things
can be done via /dev/mem ???
And: Can I mmap() 32MB of peripheral memory into user space?
--
Steven Scholz
imc Measurement & Control imc Meßsysteme GmbH
Voltastr. 5 Voltastr. 5
13355 Berlin 13355 Berlin
Germany Deutschland
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-03-04 14:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-04 14:15 uncached user space mapping with mmap() ??? Fillod Stephane
2004-03-04 14:35 ` Steven Scholz [this message]
2004-03-04 17:28 ` Eugene Surovegin
-- strict thread matches above, loose matches on Subject: below --
2004-03-09 12:49 Fillod Stephane
2004-03-12 12:07 ` Jon Masters
2004-03-08 10:25 Fillod Stephane
2004-03-09 10:55 ` Jon Masters
2004-03-04 23:02 Richard Williams
2004-03-04 23:17 ` Dan Malek
2004-03-04 14:47 Fillod Stephane
2004-03-04 14:51 ` Steven Scholz
2004-03-04 13:51 Steven Scholz
2004-03-04 17:00 ` Dan Malek
2004-03-05 8:18 ` Steven Scholz
2004-03-05 11:35 ` Jon Masters
2004-03-05 11:41 ` Steven Scholz
2004-03-05 13:21 ` Jon Masters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40473EC2.1010400@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).