Altera_Forum
Honored Contributor
17 years agono mmu problem
I builde the zImage on uClinux use the web_server sopc hardware project on the NEEK board.
I have selected the frame buffer driver, the jpegview application and mygui application. Use the jpegview or mygui application once is OK. But twice or more times is failure. The application hint "nommu bug" error. My result: ..... /bin> mygui r Use: mygui R G B (digital) display one color and auto exit. mygui R/G/B/Y (word) display 256 color(R/G/B/Gray) and auto exit. mygui R G B display gray color, Red color, Green color and Blue color once. 800 480 800 480 0 0 32 0 -1 -1 framebase = 0x80a00000 err=0 /bin> mygui g Use: mygui R G B (digital) display one color and auto exit. mygui R/G/B/Y (word) display 256 color(R/G/B/Gray) and auto exit. mygui R G B display gray color, Red color, Green color and Blue color once. 800 480 800 480 0 0 32 0 -1 -1 framebase = 0x80a00000 err=0 /bin> mygui b Use: mBUG: failure at /home/nios2-linux/linux-2.6/mm/nommu.c:530/add_nommu_region()! Kernel panic - not syncing: BUG! ygui R G B (digital) display one color and auto exit. mygui R/G/B/Y (word) display 256 color(R/G/B/Gray) and auto exit. mygui R G B display gray color, Red color, Green color and Blue color once. 800 480 800 480 0 0 32 0 -1 -1 Here the system stop. The error information: mBUG: failure at /home/nios2-linux/linux-2.6/mm/nommu.c:530/add_nommu_region()! Kernel panic - not syncing: BUG! I compare mygui and jpegview application. I think it is mmap function error. Hi, all: Who have solved it?