Thread (7 messages) 7 messages, 2 authors, 2015-06-04

Accessing Ram on PCI card

From: Robert Clove <hidden>
Date: 2015-06-03 14:57:20

Hi I have a PCI based card which have few RAM on it.
I have to copy the text file to RAM and read it too.

Actually i want my pci device to be exposed as block device and then mount
file system on it.

On Tue, Jun 2, 2015 at 6:59 AM, Greg KH [off-list ref] wrote:
On Mon, Jun 01, 2015 at 10:55:44PM +0530, Robert Clove wrote:
quoted
Hi,

I have a pci card that has some amount of ram and flash memory on it.
What kind of card?
quoted
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?
quoted
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150603/7edec0fb/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help