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.
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
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.
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 willnot 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
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!!!