Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNios II - Data cache problem
Hi all, I'm using a Cyclone III DSP Kit (DK-DSP-3C120N) and uClinux. Some days ago I realized a working design which includes a Nios II processor characterized by only an instruction cache. Wi...
Altera_Forum
Honored Contributor
14 years agoI tried to use ioremap_nocache()
static int __init fpga_in_init(void)
{
# ifdef DEBUG_FUNCTION_NAME
printk("\n%s\n",__FUNCTION__);
# endif
int i;
dev_t devno;
ioremap_nocache((unsigned long)PIO_FPGA_IN_BASE,PIO_FPGA_IN_SIZE);
if (!(request_mem_region((unsigned long)PIO_FPGA_IN_BASE, PIO_FPGA_IN_SIZE, "pio_fpga_in")))
return -1;
memset(&_fpga_in_dev,0,sizeof(_fpga_in_dev));
....
but it doesn't work...:(