kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: kai@kunfoo.org (Kai)
To: kernelnewbies@lists.kernelnewbies.org
Subject: need advice on howto access memory from fpga and cpu
Date: Wed, 30 Oct 2013 17:17:44 +0100	[thread overview]
Message-ID: <20131030161743.GO5630@kunfoo.org> (raw)
In-Reply-To: <CAHzVKCDny1qcThxczFjOYCM0xBNNK9v9FbcSWoZxxUXeiKi0Eg@mail.gmail.com>

On Wed, Oct 30, 2013 at 08:15:08PM +0530, srinivas bakki wrote:
> If you don't want dynamic memory allocation for framebuffer and neither do
> you want it in the user space, All you need is to pass
> memmap = <size>$<start address> to the kernel and then write  a kernel
> module module where you ioremap that physical address space.
> 
> This is just like any other device driver where device registers are mapped.

Thanks for your answers, it sounds very straightforward.

One more question: Currently I'm using the book Linux Device Drivers 3rd
Edition (2005) as a reference, and it's discussing Kernel 2.6.10. Do you
think that's still okay, or should I get/buy a more recent book on this
topic, and which would you recommend?
-- 
Gr??e, Kai

"In a world without walls and fences, who needs Windows and Gates?"

  reply	other threads:[~2013-10-30 16:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30  8:58 need advice on howto access memory from fpga and cpu Kai
2013-10-30 14:26 ` Kai
2013-10-30 14:45   ` srinivas bakki
2013-10-30 16:17     ` Kai [this message]
2013-10-30 16:30       ` Valdis.Kletnieks at vt.edu
2013-10-30 18:46       ` srinivas bakki
2013-10-31  9:39         ` Kai

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=20131030161743.GO5630@kunfoo.org \
    --to=kai@kunfoo.org \
    --cc=kernelnewbies@lists.kernelnewbies.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).