I followed the instructions from Jason and configured Linux to have the FB
attached to tty0. The diffs of my additions to Linux .config were:
< # Fri Aug 31 14:48:27 2007
> # Fri Aug 24 08:50:32 2007
< # CONFIG_VT_HW_CONSOLE_BINDING is not set
> # CONFIG_VT is not set
< # Console display driver support
< # CONFIG_VGA_CONSOLE is not set
< # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
< # CONFIG_FONTS is not set
> # CONFIG_FB_VIRTUAL is not set
and I added the CONFIG_INPUT=y and CONFIG_VT=y to my initrd Linux as
well to provide kernel support for stuff fbcon.ko needs.
I modprobe fbcon via /etc/modules, without attaching a getty on tty0 since
I only need tty0 to display ASCII chars.
When I do a "echo abcdef >/dev/tty0" I do see something displaying on
the LCD, but the font is pretty messed up (bunch of faint dots). I'm
supposedly using the 8x8 or 8x16 default fonts, but have no idea what
is really happening.
Also, pxafb seems to shut off after some time, probably on request from
I know the pxafb is set up right because the penguin.ppm displays
properly using ppmv.
Could somebody give me some hints on what to do at this point?
Could you clarify what the steps are to enable the virtual terminal? I can't find
the exact directions on the Wiki. I have CONFIG_LOGO=y in the Linux
.config and I know about the tty0 line in /etc/inittab. I don't think my /dev/tty0
is linked to the LCD at this point, though.
Thanks.On 7/26/07, Craig Hughes < email@example.com > wrote:On Jul 26, 2007, at 10:06 AM, Jason Peterson wrote:
> I have enabled the necessary options in the kernel to get the Gumstix
> logo splash screen to show up on an LCD during boot. I can see the
> cursor flashing in the upper left hand corner along with the logo.
> 1. How do I write messages to the frame buffer console during boot?
/dev/tty0 should be connected to the fbcon, so you can do stuff like
echo "Hello world" > /dev/tty0
> 2. How do I disable the flashing cursor during boot?
I forget how you turn the cursor black -- some escape sequence you
can send to the tty probably. According to this:
it *might* be:
ESC [ ? 25 h
DECTECM (default on): Make cursor visible.
So you'd do something like:
echo -ne '\033[?25h' > /dev/tty0
It might be '\0033[?25h' -- I never remember whether you need that
extra 0 in octal escape sequences or not...
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
gumstix-users mailing list