(no subject)

2 messages, 2 authors, 2004-05-28 · open the first message on its own page

(no subject)

From: xuhaoz <hidden>
Date: 2004-05-26 09:00:54

hi all
	how can i config the framebuffer to be an available console?,i want the
boot message to display onto the board lcd screen .i use uclinux2.4, arm7no
mmu

		thanks ,
		xuhaoz on 2004-05-26


_________________________________________
zhang xuhao
ICQ#: 116926669
More ways to contact me: http://wwp.icq.com/116926669
_________________________________________




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

Re: (no subject)

From: Antonino A. Daplas <hidden>
Date: 2004-05-28 07:42:29

On Wednesday 26 May 2004 17:00, xuhaoz wrote:
hi all
	how can i config the framebuffer to be an available console?,i want the
boot message to display onto the board lcd screen .i use uclinux2.4, arm7no
mmu
1. If you are developing your own driver, you will need the following hooks.  
(You may not need all of them if you don't plan on changing video modes after 
initialization. Or at least provide a stub).

static struct fb_ops xxxfb_ops = {
	owner:		THIS_MODULE,
	fb_get_fix:		xxxfb_get_fix,
	fb_get_var:	xxxfb_get_var,
	fb_set_var:	xxxfb_set_var,
	fb_get_cmap:	xxxfb_get_cmap,
	fb_set_cmap:	xxxfb_set_cmap,
	fb_pan_display:	xxxfb_pan_display,
};

Then in your init, something like this:

info->fb_ops = &xxxfb_ops;

2. Add this to fbmem.c, (in static struct fb_drivers[]):

#ifdef CONFIG_FB_PVR2
	{ "xxx", xxxfb_init, xxxfb_setup },
#endif

xxxfb_setup can be NULL.

3.  If you can use one of the generic drawing functions, (see any of the 
fbcon_cfb*.c files). If not, you have to create those too.
  
Tony





-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help