Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12589 Discussions

How can Linux read data using the f2sdram bus?

Altera_Forum
Honored Contributor II
1,184 Views

Hi, 

 

I'm using the Cyclone V and the hps runs with Linux. 

I want to transfer big data blocks from fpga to the hps and send them via Gbit-Ethernet. 

The first thought was to transfer the data over the f2h-bridge and using the f2h device that is detected by Linux. 

 

But the on second thought transferring data over the f2sdram-bus could be much faster? 

 

So the fpga writes the data block on a defined base-address in the sdram. 

But with Linux I can't specify the address on which i want to place my data-array or from which i want to read the data in the sdram. 

 

So can I define a new device in my device tree so Linux detects that device and knows from which address to read? 

And if so do i have to write a device driver or is there an existing Driver in the Linux Kernel for the f2sdram-bus? 

 

 

Best regards, 

 

Robert
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
323 Views

Hi,  

 

I have almost the same question than you. Do you (or anyone) know a little bit more about this question?  

 

Nice Regards!!  

Pilar
0 Kudos
Reply