On Mon, 14 Feb 2005, Nemanja Popov wrote:

> File system is not necessary, actually it is not necessary for user programs 
> to access contents of SDRAM directly. Now the question is, how to access 
> contents of FPGA's SDRAM from host machine, or how the target board will be 
> visible on host, through which device (/dev/sda or ... ?). When using 
> backing file it was visible through /dev/sda, to be precise, through 
> /dev/sda1. Now when backing file is gone, and with no filesystem, I guess 
> that /dev/sda is not in the game, or I'm wrong?

You can't use g-file-storage without a backing file or a backing device.  
The information presented by g-file-storage to the host always appears as
/dev/sda (or sdb, ...).  The partitioning into sda1, sda2, ... is done by
the host, not by g-file-storage.

> Also, how to use that device. Which functions to call (read, write, ioctl 
> ...) ?

Those system calls will all work with g-file-storage.

Alan Stern



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to