Accessing Ram on PCI card

Greg KH gregkh at linuxfoundation.org
Mon Jun 1 21:29:20 EDT 2015


On Mon, Jun 01, 2015 at 10:55:44PM +0530, Robert Clove wrote:
> Hi,
> 
> I have a pci card that has some amount of ram and flash memory on it.

What kind of card?

> I have found the bar address range for the memory.
> I want to transfer a file to that memory and read from that memory.

PCI card memory are not usually set up as a filesystem, how can you copy
a file to it?

> Any pointers(in terms of sample code) how can i do that?

Why do you want to do this?  What exactly are you trying to solve here?

greg k-h



More information about the Kernelnewbies mailing list