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

Re: [microblaze-uclinux] how to use framebuffer as console



Hi Marlin,

from where did you find the tft ip core. I can't seem to find it. I want to use it on the Spartan 3A 1800 DSP board.\

Thanks

Aws\

On Wed, Jul 8, 2009 at 9:31 AM, Marlin Z <marlin_zyt@xxxxxxxxx> wrote:
hi , all.
    I am a newbie in microblaze and uclinux field.
    I have connected xps_tft controller v1.00a to Microblaze 7.10.c. via  plb bus on
spartan3e_500 board.
    And I can show some simple graphic sign on the monitor in standalone mode.
    My aim is to port petalinx and minigui on the platform.
In the petalinux-v0.40-rc2/software/petalinux-dist/linux-2.6.x/drivers/video,I can not find the tft drvier. 
So I downloaded the xilinxfb.c and xilinxfb.h  from http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/.
    I completed the steps below.
1, Added xilinxfb.c and xilinxfb.h to the petalinux tree
2, Modified the 'kconfig' and 'makefile' files.
3, Enabled the framebuffer support and xilinxfb driver in build-in mode in menuconfig.
4, Created a file named xfb.c in arch/microblaze/platform/common and linked it into makefile.
5, Compiled the kernel.
Now ,I want to show system boot messages and command prompt on the VGA monitor.
I did " cat  /dev/ttyS0 > /dev/fb0 "but unuseful.
I did "echo 111111 > /dev/fb0 "but the monitor still black.
I did  "cat /dev/urandom > /dev/fb0 "and some garbage signal showed on the monitor. Did  the framebuffer and tft ip core driver work well?
How to do for this aim?
Please give me some advice.  Thanks for the suggestions in advance.
Best wishes for you!




--
Aws Ismail, BASc. EE

MASc. Candidate
Mechatronic Systems Engineering
Simon Fraser University
250-13450 102 Avenue
Surrey BC V3T 0A3

Tel (Cell): 778-889-0526
---------