--- Quote Start ---
originally posted by hippo@Oct 17 2006, 12:58 AM
i think it is a bug of nios2 kernel. (scott noted it in 2004.)
please update,
__ioremap() in file arch/nios2nommu/mm/ioremap.c
/*
* map some physical address range into the kernel address space.
*/
void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag)
{
return (void *)(physaddr | 0x80000000); // uncached
}
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18730)
--- quote end ---
--- Quote End ---
Maybe it will help. Below is a part of the Microtronix "readme.txt" file which states a data cache issue with uCLinux :
"...Notes and Known problems/limitations
1) Data cache line size must be 4 bytes. The other sizes (16 and 32) cannot
be used in a uClinux design. Using larger data cache line sizes result
in inconsistent values being read from memory.
The most obvious symptom is the paging filesystem not running properly.
The problem occurs at various times, sometimes early enough to prevent
kernel startup messages from appearing.
At this time the origins of the problem are still being investigated.
"
BR