• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » Changing I/O settings from serial port to LCD&keyboard
Share
Linux
  • Forum
Options
  • Subscribe via RSS

Forums

Changing I/O settings from serial port to LCD&keyboard

This question is not answered
Myosotis
Posted by Myosotis
on Apr 27 2012 05:21 AM
Intellectual510 points

I have a prebuilt image of Linux (uImage-da850-omapl138-evm.bin) from Arago Project. So uImage and root filesystem are situated on SD card of my device (OMAP-L138 Experimenter Kit). After Linux is booted, on the screen of this device I can see only a screen saver. No GUI. And input/output runs through serial port. Thus I can use console by TeraTerm or NVTerminal when device is connected to my PC through serial port. 

So, how can I change output/input settings? I want to see console output on the LCD (screen) of this device, and give input commands with keyboard (which will be connected directly to the device). Thank you.

OMAP-L138 Booting console linux arago
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Prabhakar Lad
    Posted by Prabhakar Lad
    on Apr 27 2012 08:55 AM
    Genius4675 points

    Hi,

    Is the LCD being enabled in the prebuilt image ? You can test it by issuing 

    ls /dev/lc*. If you can find a device /dev/lcd this indicates LCD is enabled.

    If  LCD is not enabled you have to build a image with LCD enabled. Refer

    this  link for enabling LCD. Refer this link for LCD commands

    Thx,

    --Prabhakar Lad

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Myosotis
    Posted by Myosotis
    on May 02 2012 08:58 AM
    Intellectual510 points

    Hello, Prabhakar Lad!

    Thank you for answering.

    I built uImage with options from that link. Now there is device /dev/lcd. 

    I typed (through COM port in TeraTerm):

    #target: echo ^[[LD > /dev/lcd 
    #target: echo "Hello" > /dev/lcd

    ... but nothing! Screen is black. 

    LCD OMAP-L138
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Myosotis
    Posted by Myosotis
    on May 03 2012 05:47 AM
    Intellectual510 points

    By the way,

    these settings are for Character LCD, aren't? But I have no such character LCD. 

    I have only WQVGA 4.3" LCD panel. 

    P.S. From configuration help file:
    Please take care while choosing this option, Graphical LCD will
    not be functional if Character LCD is selected.

    What does it mean?  WQVGA LCD panel can be as Character and Graphical LCD or not? 

    Please check out my settings

    System Type --->
        ARM system type (TI DaVinci) --->
        TI DaVinci Implementations --->
               [*] TI DA850/OMAP-L138/AM18x Reference Platform
                    Sleect peripherals connected to expander on UI board (Character LCD) --->
    Device Drivers --->
        Graphics support --->
               <*> Support for frame buffer devices --->
                      Console display driver support --->
                                  [*] Map the console to the primary display device
                      Display device support --->
                                 <*> Display panel/monitor support
        Character devices --->
                [*] Virtual terminal
                  [*] Enable character translations in console
                  [*] Support for console on virtual terminal


    LCD Kernel character OMAP-L138 WQVGA
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Myosotis
    Posted by Myosotis
    on May 05 2012 07:21 AM
    Intellectual510 points

    Update. My U-boot settings:

    bootargs=console=ttyS2 root=/dev/mmcblk0p2 rootfstype=ext3 rootdelay=2 rw ip=off mem=32M@0xc0000000 mem=32M@0xc4000000 
    rootwait  omapdss.def_disp=lcd omapfb.mode=lcd:480x272

    My kernel's settings:

    Device Drivers --->
        Graphics support  --->
             <*> Support for frame buffer devices --->
             <*> DA8xx/OMAP-L1xx/AM1xxx Framebuffer support 

    So. When Linux starts I can see in virtual terminal:

    Arago 2011.06 arago ttyS2
    
    arago login:

    On the LCD I see only the logo of Texas Instruments. But I really need in console output on LCD (WQVGA 4.3" LCD panel). Thanks for any advice!!!

    LCD OMAP-L138 Kernel character WQVGA
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use