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++
12616 Discussions

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

Altera_Forum
Honored Contributor II
1,365 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
342 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
0 Kudos
Reply