Linux 2.6 frame buffer for XUPV2P
mingqian
xilinx at live.cn
Sun Dec 21 19:55:34 EST 2008
Thanks Grant!
It works after I follow your advice 1) & 2). The small Linux logo is shown on the screen,
And I got the following from dmesg:
xilinxfb: calling of_register_platform_driver()
xilinxfb a08f8b00.tft: xilinxfb_of_probe(dfaaee00, c02bfde0)
Console: switching to colour frame buffer device 80x30
xilinxfb a08f8b00.tft: fb: phys=1f000000, virt=ff100000, size=1e0000
Best Regards & Merry Christmas!
--------------------------------------------------
From: "Grant Likely" <grant.likely at secretlab.ca>
Sent: Sunday, December 21, 2008 11:58 AM
To: "mingqian" <xilinx at live.cn>
Cc: <linuxppc-embedded at ozlabs.org>
Subject: Re: Linux 2.6 frame buffer for XUPV2P
> On Sat, Dec 20, 2008 at 6:34 PM, mingqian <xilinx at live.cn> wrote:
>> Hi Grant, thank you for your quick reply:-)
>> Here is my dts:
>
> Try the following things:
>
> 1) Change the following line in the dts:
>> compatible = "xlnx,plb-tft-cntlr-ref-1.00.d";
>
> to 'compatible = "xlnx,plb-tft-cntlr-ref-1.00.a";'
>
> 2) add '#define DEBUG' to the top of drivers/video/xilinxfb.c before
> the first #include statement and post the dmesg output.
>
> 3) look in /sys/bus/of_platform/devices to see if there is a directory
> for the xilinx framebuffer device.
>
> g.
>
> --
> Grant Likely, B.Sc., P.Eng.
> Secret Lab Technologies Ltd.
>
More information about the Linuxppc-embedded
mailing list