Thanks for the pointer. I got over that issue by adding the io_rempa_pfn_range function in the MMU definition. However I now have trouble with the xilinx_fb.c driver. It failed in ioremap during frame buffer memory allocation as far as I can tell. I wonder if this issue is somehow related to the previous one. Do you have any suggestion?
----- Original Message ----
From: Michal Simek <monstr@xxxxxxxxx>
To: microblaze-uclinux@xxxxxxxxxxxxxx
Sent: Friday, August 8, 2008 12:16:29 AM
Subject: 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@xxxxxxxxxxxxxxProject Home Page :
http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinuxMailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/