I'm using Marvell PXA168 device and custom PCB with a customised version of the Marvell patched 2.6.34 kernel (which forms part of their preview-kit bundle) running on a QVGA LCD.

I've tried a few different rootfs to try and get X11 display up and running now, but see nothing on the screen and the resulting /var/log/Xorg.0.log file just shows it failing to finish on all rootfs I've tried. It points to a driver/configuration problem. LCD shows Linux boot messages so I know its initialized ok.

Is there a specific patch required to get the framebuffer device (FBDEV) to work on PXA168 & X11 that I have missed somewhere? Or has anyone come across this one before?

Any help would be great (before I loose my sanity)....Logs are below


Screen Message:

X.Org X Server 1.11.2
Release Date: 2011-11-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.4.5-2.fc17.x86_64 x86_64
Current Operating System: Linux generic-armv5te 2.6.34 #4 Tue Apr 16 13:42:15 BST 2013 armv5tejl
Kernel command line: root=/dev/sda2 rootwait rootfstype=ext2 console=tty0 console=ttyS0,115200 fbcon=rotate:1 uart_dma=256M
Build Date: 12 December 2012 05:20:01PM

Current version of pixman: 0.27.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 12 18:53:12 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "extmod" (module does not exist, 0)
(EE) Failed to load module "dbe" (module does not exist, 0)


/etc/X11/xorg.conf:

Section "Device"
Identifier "Kernel Framebuffer Device"
Driver "fbdev"
Option "fbdev" "/dev/fb0"
EndSection



/var/log/Xorg.0.log:

X.Org X Server 1.11.2
Release Date: 2011-11-04
[2423694.642] X Protocol Version 11, Revision 0
[2423694.642] Build Operating System: Linux 3.4.5-2.fc17.x86_64 x86_64
[2423694.642] Current Operating System: Linux generic-armv5te 2.6.34 #4 Tue Apr
[2423694.642] Kernel command line: root=/dev/sda2 rootwait rootfstype=ext2 conso
[2423694.642] Build Date: 12 December 2012 05:20:01PM
[2423694.642]
[2423694.642] Current version of pixman: 0.27.2
[2423694.642] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[2423694.643] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[2423694.643] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 12 18:53:12 20
[2423694.657] (==) Using config file: "/etc/X11/xorg.conf"
[2423694.657] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[2423694.660] (==) No Layout section. Using the first Screen section.
[2423694.660] (==) No screen section available. Using defaults.
[2423694.660] (**) |-->Screen "Default Screen Section" (0)
[2423694.660] (**) | |-->Monitor "<default monitor>"
[2423694.664] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[2423694.664] (**) | |-->Device "Kernel Framebuffer Device"
[2423694.664] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[2423694.664] (==) Automatically adding devices
[2423694.664] (==) Automatically enabling devices
[2423694.679] (WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
[2423694.679] Entry deleted from font path.
[2423694.679] (WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
[2423694.679] Entry deleted from font path.
[2423694.679] (WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
[2423694.679] Entry deleted from font path.
[2423694.683] (==) FontPath set to:
/usr/share/fonts/X11/misc/,
/usr/share/fonts/X11/100dpi/,
/usr/share/fonts/X11/75dpi/
[2423694.684] (==) ModulePath set to "/usr/lib/xorg/modules"
[2423694.684] (II) The server relies on udev to provide the list of input device
If no devices become available, reconfigure udev or disable AutoAddDevice
[2423694.684] (II) Loader magic: 0x1865b0
[2423694.684] (II) Module ABI versions:
[2423694.684] X.Org ANSI C Emulation: 0.4
[2423694.684] X.Org Video Driver: 11.0
[2423694.684] (II) Loader magic: 0x1865b0
[2423694.684] (II) Module ABI versions:
[2423694.684] X.Org ANSI C Emulation: 0.4
[2423694.684] X.Org Video Driver: 11.0
[2423694.684] X.Org XInput driver : 13.0
[2423694.684] X.Org Server Extension : 6.0
[2423694.684] (II) LoadModule: "extmod"
[2423694.694] (WW) Warning, couldn't open module extmod
[2423694.694] (II) UnloadModule: "extmod"
[2423694.694] (II) Unloading extmod
[2423694.694] (EE) Failed to load module "extmod" (module does not exist, 0)
[2423694.695] (II) LoadModule: "dbe"
[2423694.696] (WW) Warning, couldn't open module dbe
[2423694.696] (II) UnloadModule: "dbe"
[2423694.696] (II) Unloading dbe
[2423694.696] (EE) Failed to load module "dbe" (module does not exist, 0)
[2423694.696] (II) LoadModule: "fbdev"
[2423694.696] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[2423694.702] (II) Module fbdev: vendor="X.Org Foundation"
[2423694.702] compiled for 1.11.2, module version = 0.4.2
[2423694.702] ABI class: X.Org Video Driver, version 11.0
[2423694.702] (II) FBDEV: driver for framebuffer: fbdev
[2423694.702] (--) using VT number 3

[2423694.711] (WW) Falling back to old probe method for fbdev
[2423694.711] (II) Loading sub module "fbdevhw"
[2423694.711] (II) LoadModule: "fbdevhw"
[2423694.711] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[2423694.717] (II) Module fbdevhw: vendor="X.Org Foundation"
[2423694.717] compiled for 1.11.2, module version = 0.0.2
[2423694.718] ABI class: X.Org Video Driver, version 11.0
[2423694.718] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[2423694.718] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[2423694.718] (II) FBDEV(0): using /dev/fb0
[2423694.718] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card suppor
[2423694.719] (II) FBDEV(0): Creating default Display subsection in Screen secti
"Default Screen Section" for depth/fbbpp 16/16
[2423694.719] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[2423694.719] (==) FBDEV(0): RGB weight 565
[2423694.719] (==) FBDEV(0): Default visual is TrueColor
[2423694.720] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[2423694.720] (II) FBDEV(0): hardware: Base-aspen (video memory: 300kB)
[2423694.720] (**) FBDEV(0): Option "fbdev" "/dev/fb0"
[2423694.720] (II) FBDEV(0): checking modes against framebuffer device...
[2423694.720] (II) FBDEV(0): checking modes against monitor...
[2423694.728] (--) FBDEV(0): Virtual size is 240x320 (pitch 240)
[2423694.728] (**) FBDEV(0): Built-in mode "current": 6.1 MHz, 19.7 kHz, 60.0 H
[2423694.728] (II) FBDEV(0): Modeline "current"x0.0 6.10 240 273 277 310 32
[2423694.728] (==) FBDEV(0): DPI set to (96, 96)
[2423694.729] (II) Loading sub module "fb"
[2423694.729] (II) LoadModule: "fb"
[2423694.729] (II) Loading /usr/lib/xorg/modules/libfb.so
[2423694.741] (II) Module fb: vendor="X.Org Foundation"
[2423694.741] compiled for 1.11.2, module version = 1.0.0
[2423694.741] ABI class: X.Org ANSI C Emulation, version 0.4
[2423694.741] (**) FBDEV(0): using shadow framebuffer
[2423694.741] (II) Loading sub module "shadow"
[2423694.741] (II) LoadModule: "shadow"
[2423694.741] (II) Loading /usr/lib/xorg/modules/libshadow.so
[2423694.746] (II) Module shadow: vendor="X.Org Foundation"
[2423694.746] compiled for 1.11.2, module version = 1.1.0
[2423694.746] ABI class: X.Org ANSI C Emulation, version 0.4


Then nothing.....it just hangs!! :-( ... I'm expecting it to continue with normal X11 boot & initialization messages along the lines of:

(==) FBDEV(0): Backing store disabled
(II) FBDEV(0): DPMS enabled
(==) RandR enabled
(II) Initializing built-in.....
(II) Initializing built-in.....
(II) Initializing built-in.....
etc
etc