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

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



Hi Aws,

Yes, you'll need SP3 for the TFT core I believe. The drivers that I've used for it before allow one writing data pixel by pixel. However, there might be some already existing functions that output characters similar to printf() abstracting away the pixel writing for this core.

Cheers,
Victor

2009/7/9 Aws Ismail <aws.ismail@xxxxxxxxx>
Thanks. Really appreciate it. I have version 10.1.2 looks like I have to update. By the way, were you able to do what you were asking for? displaying the booting sequence onto the VGA screen?

Aws\


On Thu, Jul 9, 2009 at 6:07 PM, Marlin Z <marlin_zyt@xxxxxxxxx> wrote:
The EDK 10.1.3 have contained TFT IP core . You can find it in IP catalog.
Regards!


发件人: Aws Ismail <aws.ismail@xxxxxxxxx>
收件人: microblaze-uclinux@xxxxxxxxxxxxxxx
抄送: marlin_zyt@xxxxxxxxx
已发送: 2009/7/10(周五), 上午4:50:58
主题: 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
---------


好玩贺卡等你发,邮箱贺卡全新上线!