Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12437 Discussions

Access to On-Chip Memory Mapped (MM) FIFO's from Nios 2 (with MMU) running Linux

Altera_Forum
Honored Contributor II
1,140 Views

Hello, 

 

I'm currently have a Linux 3.10 core running under a Nios 2-based processor on a Arria II GX development kit (A2GX260) platform. I would like to access some On-Chip memory mapped (MM) FIFO's that have been integrated into the system and assigned address space under Qsys. Altera provides some HAL-based system library drivers and example code that allow one to access the on-chip FIFO memory core using the HAL API but I have been unable to find Linux software driver support for accessing these on-chip FIFO's. 

 

Does anyone have any recommendations on how to access these MM FIFO's? Are there certain capabilities that needs to be included as part of the kernel build (through make menuconfig) to support this access? 

 

Any feedback would be appreciated. 

 

- Brad
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
117 Views

Hello Brad, 

 

Please have a look at following : http://www.makelinux.net/ldd3/chp-9-sect-4 

 

It should help. Let us know if you face any difficulty. 

 

Cheers, 

Bhaumik
Reply