- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
i try to build a custum linux kernel with framebuffer from nioswiki. I build a nios 2 system with sopc builder with nios2,jtag uart,timer,sdram and vga controller for the terasic de1 board. The vga controller works in nios2 ide with the sample c code from nioswiki. The default uclinux kernel works also with this system. When i try to enable the framebuffer in kernel config i get this error : drivers/built-in.o(.text+0xfa0): In function `fb_mmap': drivers/video/fbmem.c:1219: undefined reference to `io_remap_pfn_range' make[1]: *** [vmlinux] Fehler 1 make: *** [linux] Fehler 1Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i solved the problem http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
i had to define io_remap_pfn_range in /include/asm-nios2nommu/pgtable.h#define io_remap_pfn_range remap_pfn_range
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
updated the patches for pgtable.h .
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page