From mboxrd@z Thu Jan 1 00:00:00 1970 From: kai@kunfoo.org (Kai) Date: Wed, 30 Oct 2013 15:26:38 +0100 Subject: need advice on howto access memory from fpga and cpu In-Reply-To: <20131030085825.GM5630@kunfoo.org> References: <20131030085825.GM5630@kunfoo.org> Message-ID: <20131030142638.GN5630@kunfoo.org> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, Oct 30, 2013 at 04:20:30PM +0530, srinivas bakki wrote: > But otherwise am wondering why would you need to tell the FPGA these > kernel mapped addresses ? How is it connected to the memory module ? The FPGA seems to have direct access to the memory. If I would allocate memory for the framebuffer dynamically, I would first have to find out the physical adress of this area, and then tell it to the FPGA, so it can read the frames from there. We are implementing a "GPU" on the FPGA here, or at least something that's reading frames from the RAM, to send it to the VGA port. -- Gr??e, Kai "In a world without walls and fences, who needs Windows and Gates?"