Re: How to write to screen with framebuffer?

Matthias Schoeldgen <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
Parmenides, the splash logo on the LCD is a good start as it shows that 
you configured timings and dimensions correctly but it doesn't use the 
frambuffer device yet. To use your display you need to create a 
/dev/fb/fb0 device (or simply /dev/fb0 if you're using an 2.0 or 2.4 
kernel) and use that for your graphic application. Make sure you create 
that (typically in the Makefile) before building your image.
Its is also a good help to enable the build for one of the small 
graphical applcations like 'lissa' and include that as it will show the 
functionality of the fb0 device.


Ian Guffick schrieb:
> Have a look at 'ezfb' at http://www.akrobiz.com/ezfb/index.html
> It is a 'Linux Framebuffer API', you should be able to get a simple
> demo running pretty quickly.
>
> Regards,
> Ian.
>
>
> On 7 March 2013 02:01, Parmenides <[email protected]> wrote:
>> Hi, all
>>
>> I have compiled the uClinux and run it on my board successfully. Now I need
>> run a program which is to write some picture to LCD screen. So, I recompiled
>> the uClinux with the following kernel configuration:
>>
>> Character devices
>>      --> Virtual Terminals
>>
>> Console drivers
>>          --> Support Frame buffer devices
>>          --> Frame-buffer support
>>                  --> Support for frame buffer devices
>>                          --> S3C44B0X LCD support
>>                          --> Advanced low level driver options
>>                                  --> 2 bpp packed pixels support
>>                                  --> 4 bpp packed pixels support
>>                                  --> 8 bpp packed pixels support
>>                                  --> 16 bpp packed pixels support
>>                                  --> 32 bpp packed pixels support
>>                          --> Select compiled-in fonts
>>                                  --> VGA 8*8 font
>>                                  --> VGA 8*16 font
>>
>> After the uClinux booting, a penguin logo displayed on the LCD screen. So, I
>> think the framebuffer driver must work well. But, when I run a program to
>> write the LCD screen directly, there is no picture displayed at all. I think
>> when the LCD is used as virtual terminal, the picture may not be displayed.
>>
>> So, I want to use the framebuffer driver without the virtual terminal
>> support. Is there any way to achieve the goal? Thanks!
>>
>>
>>
>> _______________________________________________
>> uClinux-dev mailing list
>> [email protected]
>> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>> This message was resent by [email protected]
>> To unsubscribe see:
>> http://mailman.uclinux.org/mailman/options/uclinux-dev
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
>
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.