Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,055 Views

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

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 I
32 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