[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Frame buffer support in MMU-enabled kernel



Hi,

just look at asm-microblaze/pgtable.h and find io_remap_pfn_range and add it to
MMU part. Then you can check how looks like implementation of remap_pfn_range.

Regards,
Michal

> Hi,
> 
>     I am trying to include Xilinx frame buffer driver in the kernel with
> the MMU support tuned on. I got the following error during compilation:
> 
> drivers/built-in.o: In function `fb_mmap':
> : undefined reference to `io_remap_pfn_range'
> make[1]: *** [vmlinux] Error 1
> 
>     It appears io_remap_pfn_range is not defined when MMU is turned on
> in asm/pgtable.h. So my question is what I am trying to do even
> supported by the current released MMU version. I had no problem making
> xilinx_fb to work in the non-MMU version.
> 
> Thanks,
> 
> Simon
> 
> Internal Virus Database is out of date.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.138 / Virus Database: 270.5.12/1589 - Release Date: 3.8.2008 01:00
> 
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/