need advice on howto access memory from fpga and cpu
Kai
kai at kunfoo.org
Wed Oct 30 12:17:44 EDT 2013
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?"
More information about the Kernelnewbies
mailing list