Forum Discussion

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

Problem about framebuffer configrution

My devolopmnet borad is altera stratix 1s10,and port the microtranix nios2linux v1.1 in niosII.

I selected the Graphics support--->Graphics support--->Suppout for frame buffer devices in Linux Kernel v2.6.5-uc0 configuration.Then compile the Kernel,become a error"drivers/built-in.o * In function `fb_mmap': undefined reference to `io_remap_page_range'".

How can I correct this error,and config the framerbuffer support in my system?

Tony Zhu

ChonagQing,China

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Tony,

    Please try this: add the following line to the file include/asm/pgtable.h

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    #define io_remap_page_range remap_page_range[/b]

    --- Quote End ---

    these remap functions are actually dummies in uClinux.

    Regards,

    wentao