This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to configure framebuffer on OMAP-L137 (git linux)

Other Parts Discussed in Thread: OMAP-L137, DA8XX

Hello All !

I'm having a problem with using framebuffer on SEED-DEC137, under Arago Linux Kernel 2.6.32.17. The kernel is configured for framebuffer device. "fbtest" utility executes without errors, but it does not output anything on the screen. Also, it allows me only 320x240 resolution (other resolutions result in segmentation fault error).
Early I used this board under montavista demo, and graphic driver worked properly in 640x480 resolution.
Linux kernel was downloaded from
http://arago-project.org/git/projects/linux-davinci.git?p=projects/linux-davinci.git;

In this boot log driver has found Sharp_LCD035Q3DG01 LCD, which is described in da8xx-fb.c . Should I add my LCD configuration in da8xx-fb.c (and any other sources) instead ?


Starting kernel ...

Uncompressing Linux............................................................................................. done, booting the kernel.
Linux version 2.6.32.17-davinci1 (eugene@eugene.fedora) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #41 PREEMPT Mon Nov 15 16:19:38 MSK 2010
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: DaVinci DA830/OMAP-L137 EVM
Memory policy: ECC disabled, Data cache writethrough
DaVinci da830/omap-l137 rev1.0 variant 0x0
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16256
Kernel command line: mem=64M console=ttyS2,115200n8 root=/dev/nfs noinitrd rw ip=192.168.0.4 nfsroot=192.168.0.5:/home/eugene/workdir/filesys
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61852KB available (2576K code, 272K data, 100K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:245
Console: colour dummy device 80x30
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
DaVinci: 128 gpio irqs
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
Switching to clocksource timer0_0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
msgmni has been set to 120
io scheduler noop registered
io scheduler anticipatory registered (default)
da8xx_lcdc da8xx_lcdc.0: GLCD: Found Sharp_LCD035Q3DG01 panel
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
console [ttyS2] enabled
brd: module loaded
console [netcon0] enabled
netconsole: network logging started
TCP cubic registered
NET: Registered protocol family 17
Clocks: disable unused spi0
Clocks: disable unused emac
davinci_emac_probe: using random MAC addr: f2:bc:e0:f1:9d:40
emac-mii: probed
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
     device=eth0, addr=192.168.0.4, mask=255.255.255.0, gw=255.255.255.255,
     host=192.168.0.4, domain=, nis-domain=(none),
     bootserver=255.255.255.255, rootserver=192.168.0.5, rootpath=
Looking up port of RPC 100003/2 on 192.168.0.5
Looking up port of RPC 100005/1 on 192.168.0.5
VFS: Mounted root (nfs filesystem) on device 0:13.
Freeing init memory: 100K
INIT: version 2.86 booting
Please wait: booting...
Starting udev
udev: starting version 141
Remounting root file system...
Caching udev devnodes
Populating dev cache
logger: mount: mount point /proc/bus/usb does not exist
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1608: No soundcards found...
NOT configuring network interfaces: / is an NFS mount
hwclock: can't open '/dev/misc/rtc': No such file or directory
Thu Nov 11 12:16:00 UTC 2010
hwclock: can't open '/dev/misc/rtc': No such file or directory
INIT: Entering runlevel: 3
Starting telnet daemon.
Starting syslogd/klogd: done
Starting thttpd.

 _____                    _____           _         _  
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_| 
              |___|                    |___|           

Arago Project http://arago-project.org arago ttyS2

Arago 2010.11 arago ttyS2

arago login:


This is my kernel options for using lcd:
  │ │        System Type  --->                                           
  │ │        TI DaVinci Implementations  --->                             
  │ │    [*] DA830/OMAP-L137 based system                                  
  │ │        *** DaVinci Board Type ***                                   
  │ │    [*] TI DA830/OMAP-L137 Reference Platform                         
  │ │    [*]   DA830/OMAP-L137 UI (User Interface) board support           
  │ │            Select DA830/OMAP-L137 UI board peripheral (LCD)  --->    


  │ │        Device Drivers  --->                                          
  │ │    <*> Support for frame buffer devices  --->                        
  │ │    --- Support for frame buffer devices                              
  │ │    [ ]   Enable firmware EDID                                        
  │ │    [ ]   Framebuffer foreign endianness support  --->                
  │ │    [ ]   Enable Video Mode Handling Helpers                          
  │ │    [ ]   Enable Tile Blitting Support                                
  │ │          *** Frame buffer hardware drivers ***                       
  │ │    < >   Epson S1D13XXX framebuffer support                          
  │ │    [ ]   Davinci Framebuffer support                                 
  │ │    < >   Virtual Frame Buffer support (ONLY FOR TESTING!)            
  │ │    <*>   DA8xx/OMAP-L1xx Framebuffer support                         
  │ │    < >   Virtual Frame Buffer support (ONLY FOR TESTING!)            
  │ │    < >   E-Ink Metronome/8track controller support                   
  │ │    < >   Fujitsu MB862xx GDC support                                 
  │ │    < >   E-Ink Broadsheet/Epson S1D13521 controller support          

  │ │    [ ] Backlight & LCD device support  --->                          
  │ │        Display device support  --->                                  
  │ │        Console display driver support  --->                          
  │ │    [ ] Bootup logo  --->                                             





Thank you in advance for any idea.