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

uClinux hardware registers access

Altera_Forum
Honored Contributor II
983 Views

Hi, 

 

I'm using uClinux from nios2-linux-20090730 and I was stuck triying to manage a simple PIO from a device driver, until I noticed that autogenerated nios2.h file does not enable peripheral adresses bit 31 to '1' in order to bypass cache. 

 

Does anyone know the trick to generate a suitable nios2.h with correct no-cache adressess. 

 

thanks 

0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
287 Views

ioremap_nocache()

0 Kudos
Altera_Forum
Honored Contributor II
287 Views

thanks dsl

0 Kudos
Reply