Hi,
Does the virtual terminal simply hook up /dev/tty0 to the frame buffer
device
so that one can display ascii text on it? I assume the line in inittab:
::respawn:/sbin/getty -L tty0 38400 linux
is intended to use the LCD as a terminal.
What determines the font size on this virtual terminal?
Are there alternative applications/setups to using the LCD as a
user-interface device? I just need something that can display about
4 lines of text, with line highlighting/coloring. Text scrolling is
not desired, or should be hidden if possible.
Thanks for help.
On 7/26/07, Jason Peterson <jason@...> wrote:
>
> Heilpern, Mark wrote:
> > How do you get the logo out there during boot? I think I've enabled that
> > option in the kernel config as well, but I haven't placed a logo file in
> > any particular place... so I guess I'm asking a) what graphic file
> > format, and b) where does it get placed?
> >
> > -----Original Message-----
> > From: gumstix-users-bounces@...
> > [mailto:gumstix-users-bounces@...] On Behalf Of Jason
> > Peterson
> > Sent: Thursday, July 26, 2007 1:07 PM
> > To: General mailing list for gumstix users.
> > Subject: [Gumstix-users] How to output text to the framebuffer console
> > durring boot, and disable the blinking cursor?
> >
> > Hi All,
> >
> > 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?
> >
> > 2. How do I disable the flashing cursor during boot?
> >
> > Thanks in advance,
> >
> > Jason Peterson
> >
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> > -
> > 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
> > gumstix-users@...
> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> >
> > NOTE: The information in this message is intended for the personal and
> confidential use
> > of the designated recipient(s) named above. To the extent the
> recipient(s) is/are bound
> > by a non-disclosure agreement, or other agreement that contains an
> obligation of
> > confidentiality, with AuthenTec, then this message and/or any
> attachments shall be
> > considered confidential information and subject to the confidentiality
> terms of that
> > agreement. If the reader of this message is not the intended recipient
> named above, you
> > are notified that you have received this document in error, and any
> review, dissemination,
> > distribution or copying of this message is strictly prohibited. If you
> have received this
> > document in error, please delete the original message and notify the
> sender immediately.
> > Thank you.
> >
> > AuthenTec, Inc. http://www.authentec.com
> >
> >
> >
> >
> -------------------------------------------------------------------------
> > 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
> > gumstix-users@...
> > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> >
> >
>
> The logo is ASCII ppm in the a directory
> linux-2.6.21gum/drivers/video/logo, I believe. It is by default the
> gumstix logo. Replace it with your own and rebuild the kernel.
>
> I think these are the kernel options you need, I didn't write it down so
> I may have miss one. Let me know if you have problems and I will dig
> deeper.
>
> Device Drivers->Character devices->Virtual Terminal = Enabled
> Device Drivers->Graphics support->Support for frame buffer devices =
> Enabled
> Device Drivers->Graphics support->Enable Video Mode Handling Helpers =
> Enabled
> Device Drivers->Graphics support->PXA LCD framebuffer support = Enabled
> Device Drivers->Graphics support->PXA LCD command line parameters =
> Enabled
> Device Drivers->Graphics support->Console display driver support->VGA
> text console = Disable
> Device Drivers->Graphics support->Console display driver
> support->Framebuffer Console support = Enabled
>
> You also have to set your U-Boot environment to enable the display and
> pass the display parameters to the kernel.
>
> Here is mine, for a Panasonic LCD with touch screen...
>
> GUM> printenv
> bootdelay=2
> baudrate=115200
> bootfile=boot/uImage
> verify=no
> ethact=SMC91C1111-0
> serial#=1D623998B893B14A
> ethaddr=3A:98:B8:93:B1:50
> filesize=430D00
> bootargs=console=ttyS0,115200n8 root=1f01 rootfstype=jffs2
> reboot=cold,hard
>
> video=pxafb:mode:640x480-16,passive,color,hsynclen:3,right:5,left:10,vsynclen:39,pixclock:100000,hsync:1,vsync:1,pixclockpol:0
> linux=icache on; katload 100000 && bootm
> bootcmd=run enable_lcd; run linux
> enable_lcd=mw 40e00024 00020000; mw 40e0000c c182b9f8; mw 40e00018
> 00020000
> stdin=serial
> stdout=serial
> stderr=serial
>
>
> Hope this helps,
>
> Jason
>
>
> Also here are some commands to control the cursor and output during
> boot... thanks to Craig.
>
> echo "Hello World!" > /dev/tty0 //text output
> echo -ne '\033[0;0H' > /dev/tty0 //move cursor to 0,0
> echo -ne '\033[?25l' > /dev/tty0 //turn off the cursor
> echo -ne '\033[?25h' > /dev/tty0 //turn on the cursor
>
>
>
>
>
>
> -------------------------------------------------------------------------
> 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
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
|