From mboxrd@z Thu Jan 1 00:00:00 1970 From: kai@kunfoo.org (Kai) Date: Wed, 30 Oct 2013 17:17:44 +0100 Subject: need advice on howto access memory from fpga and cpu In-Reply-To: References: <20131030085825.GM5630@kunfoo.org> <20131030142638.GN5630@kunfoo.org> Message-ID: <20131030161743.GO5630@kunfoo.org> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 = $ 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?"