Thread (10 messages) 10 messages, 4 authors, 2006-05-31

Re: printk on framebuffer console

From: "Antonino A. Daplas" <adaplas@gmail.com>
Date: 2006-05-31 04:16:43

Terence Soh wrote:
quoted
quoted
Are xxxfb_setcolreg function() and info->pseudo_palette necessary for
FB_VISUAL_TRUECOLOR? I thought it's required for FB_VISUAL_PSEUDOCOLOR.

Other way around, the info->pseudo_palette is needed for truecolor and
directcolor.  So fill this array properly, and you should be good to go.
Look at any driver (ie vesafb.c) on how it's done.
Thanks Tony,

Turned out that I was missing the xxxfb_setcolreg function() and
info->pseudo_palette. Once that's done, the console is appearing on the
framebuffer.

Another question. The console only prints starting from the scripts in
/etc/init.d/rcS , the printk messages from the various drivers are
missing. My kernel command line is "console=ttyS0 root=/dev/mtdblock3
rootfstype=jffs2". Is there any reason why?
Remove the console=ttyS0 from your boot parameter (or change it to tty0)
and the system messages should go to the framebuffer console.

Tony


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help