Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

NiosII 5.0 datacache linesize > 4

A question for Microtronix:

I tried setting the Datacache line size to 32bytes in my NiosII 5.0 design, as the linux kernel cache code seems to handle line sizes other than the default 4bytes, but ...

This triggers an endless loop of kernel BUG messages (from mm/memory.c I think) at bootup as soon as the rc script starts.

Any ideas to what should be changed/added in the kernel source (in arch/nios2nommu/mm/memory.c I guess) to get the datacache to behave ?
No RepliesBe the first to reply