Hi,
We are also using the Xilinx TFT IP with a Spartan3A FPGA and
Petalinux/MicroblazeMMU. In our Petalinux distribution there was not any
TFT driver, so we had to add it manually in the kernel tree:
http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/drivers/video/xilinxfb.c
You also need to activate the framebuffer support in order to access de
video memory. After everything is working you can use any graphical
library, in our case we have started working with the supplied version
of microwindows in the Petalinux distribution.
Remember that the Xilinx TFT IP is for a hardcoded 640x480 resolution,
but clocking the IP to 25MHz, you can connect a LCD display through the
VGA connector.
I hope this information would be helpful.
Regards,
Inaki
-----Mensaje original-----
De: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] En nombre de
pcolodron@xxxxxxxx
Enviado el: lunes, 19 de enero de 2009 9:57
Para: microblaze-uclinux@xxxxxxxxxxxxxx
Asunto: Re: [microblaze-uclinux] VGA controller in Microblaze
Hi John,
Thanks a lot for your answer. I am using the XPS TFT ip core (which
is available in IP Catalog -> IO Modules, in EDK 10.1).
I will take a look to the framebuffer drivers that you told me.
Anyway, I think I will have to activate the 'framebuffer support'
in the Petalinux configuration, is that right?
In addition to this, I will try to figure out which is the most
suitable graphics engine for my system because I am using fbcon and
I don't know if it is very common in embedded systems.
I could find this framebuffer in the directory
/linux-2.6.x/drivers/video/console/fbcon.c. However, when I create
the petalinux kernel and I explore the directory /romfs/dev/, it
seems that the only frammebuffers that I have are '@console,c,5,1'
and '@fb0,c,29,0' (is the fbcon framebuffer really activated?). I
have not tested it yet, but, before doing this, it would be great
to know if my kernel is properly configured.
Thank you very much for your help John.
Kind regards
Hi Pablo,
On Fri, Jan 9, 2009 at 8:22 PM, <pcolodron@xxxxxxxx> wrote:
I am actually trying to work with the latest version of
Petalinux in my >Xilinx Spartan3 development kit. I am quite
unexperienced in this sense but I >have already solved some
problems concerning EDK and building the Petalinux >kernel.
What I would like to do now is to develop a graphical user
interface in >Petalinux (to do this, I will use a graphic library
called MiniGUI). This >software is basically a C-written program
which shows the GUI by means of the >framebuffer fbcon. However,
I have some doubts about how to do it.
My problems are related to the EDK project. I don't really know
if >Petalinux will work with any type of VGA IP Core. I mean,
will petalinux >detect that I have a VGA IP core? That will be
enough if I want to use a LCD >or a monitor? Because of my lack
of knowledge in this sense I don't really get >to understand how
to do this.
Please if you know any place where some cores are avaliable (or
some >information about how to build a VGA controller which
works in Petalinux) it >would be nice of you to tell me.
You will require a framebuffer device driver - they are quite
simple to write, >with many examples in linux-2.6.x/drivers/video
Which VGA IP core are you using?
Regards,
John
___________________________
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/
___________________________
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/