Altera_Forum
Honored Contributor
14 years agoLCD 16207 + NIOS2 MMU - Kernel Panic
I'm working on tring to run LCD 16207 driver on NIOS2 with MMU. The driver which is included in kernel and relased on this website: http://www.alterawiki.com/wiki/lcd_16207 is I mean for NIOS2 without MMU. When I try to load the module lcd_16207 I get kernel panic
root:/> modprobe lcd_16207 Device /dev/lcd16207 registered CPU 0 Unable to handle kernel paging request at virtual address 04001000, epc == c3c66000, ra == c3c6d0a4 Kernel panic - not syncing: Oops In source code I see the write function:static void WriteNios(unsigned long addr, unsigned long value)
{
(* (volatile unsigned long *)(addr))=value;
} When module is tring run it, then kernel panic shows. I think this code is for no-MMU NIOS2. Is anyone who has successfully run lcd module on MMU Nios?