Cubox-i framebuffer support
Hi Vagrant,
you updated https://wiki.debian.org/ArmHardFloatPort/CuBox-i with
"The 3.15.1-1~exp1+ kernel in experimental also includes support for
framebuffer video over HDMI."
I run that kernel
rd@bokocube:~$ uname -a
Linux bokocube 3.15-trunk-armmp #1 SMP Debian 3.15.1-1~exp1 (2014-06-20)
armv7l GNU/Linux
rd@bokocube:~$
and get console output on HDMI. It is not entirely aligned, i.e. at least on
the left and bottom part of the screen a few colums and rows are missing.
X does not start though:
rd@bokocube:/var/log$ cat Xorg.0.log
[ 7.845]
X.Org X Server 1.15.1
Release Date: 2014-04-13
[ 7.845] X Protocol Version 11, Revision 0
[ 7.845] Build Operating System: Linux 3.2.0-4-mx5 armv7l Debian
[ 7.845] Current Operating System: Linux bokocube 3.15-trunk-armmp #1 SMP
Debian 3.15.1-1~exp1 (2014-06-20) armv7l
[ 7.845] Kernel command line: root=/dev/mmcblk0p2 rootfstype=ext4 ro
rootwait console=ttymxc0,115200 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24
cma=64 console=tty1 ahci_imx.hotplug=1
[ 7.846] Build Date: 16 April 2014 12:30:00PM
[ 7.846] xorg-server 2:1.15.1-1 (http://www.debian.org/support)
[ 7.846] Current version of pixman: 0.32.4
[ 7.846] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 7.846] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 7.846] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 28 18:35:47
2014
[ 7.874] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 7.886] (==) No Layout section. Using the first Screen section.
[ 7.886] (==) No screen section available. Using defaults.
[ 7.886] (**) |-->Screen "Default Screen Section" (0)
[ 7.886] (**) | |-->Monitor "<default monitor>"
[ 7.887] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 7.887] (==) Automatically adding devices
[ 7.887] (==) Automatically enabling devices
[ 7.887] (==) Automatically adding GPU devices
[ 7.897] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
exist.
[ 7.897] Entry deleted from font path.
[ 7.897] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 7.897] Entry deleted from font path.
[ 7.897] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 7.897] Entry deleted from font path.
[ 7.897] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 7.897] Entry deleted from font path.
[ 7.897] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 7.897] Entry deleted from font path.
[ 7.897] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 7.897] Entry deleted from font path.
[ 7.897] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[ 7.897] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 7.897] (II) The server relies on udev to provide the list of input
devices.
If no devices become available, reconfigure udev or disable
AutoAddDevices.
[ 7.898] (II) Loader magic: 0xb6fd1ef8
[ 7.898] (II) Module ABI versions:
[ 7.898] X.Org ANSI C Emulation: 0.4
[ 7.898] X.Org Video Driver: 15.0
[ 7.898] X.Org XInput driver : 20.0
[ 7.898] X.Org Server Extension : 8.0
[ 7.898] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 7.899] Initializing built-in extension Generic Event Extension
[ 7.899] Initializing built-in extension SHAPE
[ 7.899] Initializing built-in extension MIT-SHM
[ 7.899] Initializing built-in extension XInputExtension
[ 7.899] Initializing built-in extension XTEST
[ 7.899] Initializing built-in extension BIG-REQUESTS
[ 7.899] Initializing built-in extension SYNC
[ 7.899] Initializing built-in extension XKEYBOARD
[ 7.899] Initializing built-in extension XC-MISC
[ 7.899] Initializing built-in extension SECURITY
[ 7.899] Initializing built-in extension XINERAMA
[ 7.900] Initializing built-in extension XFIXES
[ 7.900] Initializing built-in extension RENDER
[ 7.900] Initializing built-in extension RANDR
[ 7.900] Initializing built-in extension COMPOSITE
[ 7.900] Initializing built-in extension DAMAGE
[ 7.900] Initializing built-in extension MIT-SCREEN-SAVER
[ 7.900] Initializing built-in extension DOUBLE-BUFFER
[ 7.900] Initializing built-in extension RECORD
[ 7.900] Initializing built-in extension DPMS
[ 7.900] Initializing built-in extension Present
[ 7.900] Initializing built-in extension DRI3
[ 7.900] Initializing built-in extension X-Resource
[ 7.900] Initializing built-in extension XVideo
[ 7.900] Initializing built-in extension XVideo-MotionCompensation
[ 7.900] Initializing built-in extension SELinux
[ 7.900] Initializing built-in extension XFree86-VidModeExtension
[ 7.900] Initializing built-in extension XFree86-DGA
[ 7.901] Initializing built-in extension XFree86-DRI
[ 7.901] Initializing built-in extension DRI2
[ 7.901] (II) LoadModule: "glx"
[ 7.905] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 7.916] (II) Module glx: vendor="X.Org Foundation"
[ 7.916] compiled for 1.15.1, module version = 1.0.0
[ 7.916] ABI class: X.Org Server Extension, version 8.0
[ 7.916] (==) AIGLX enabled
[ 7.916] Loading extension GLX
[ 7.916] (==) Matched modesetting as autoconfigured driver 0
[ 7.916] (==) Matched fbdev as autoconfigured driver 1
[ 7.916] (==) Assigned the driver to the xf86ConfigLayout
[ 7.916] (II) LoadModule: "modesetting"
[ 7.919] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 7.923] (II) Module modesetting: vendor="X.Org Foundation"
[ 7.924] compiled for 1.15.1, module version = 0.9.0
[ 7.924] Module class: X.Org Video Driver
[ 7.924] ABI class: X.Org Video Driver, version 15.0
[ 7.924] (II) LoadModule: "fbdev"
[ 7.948] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 7.950] (II) Module fbdev: vendor="X.Org Foundation"
[ 7.950] compiled for 1.15.0, module version = 0.4.4
[ 7.950] Module class: X.Org Video Driver
[ 7.950] ABI class: X.Org Video Driver, version 15.0
[ 7.950] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 7.951] (II) FBDEV: driver for framebuffer: fbdev
[ 7.951] (++) using VT number 7
[ 7.965] (II) modesetting(G0): using drv /dev/dri/card0
[ 7.965] (WW) Falling back to old probe method for modesetting
[ 7.965] (WW) Falling back to old probe method for fbdev
[ 7.966] (II) Loading sub module "fbdevhw"
[ 7.966] (II) LoadModule: "fbdevhw"
[ 7.966] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 7.968] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 7.968] compiled for 1.15.1, module version = 0.0.2
[ 7.968] ABI class: X.Org Video Driver, version 15.0
[ 7.968] (EE) No devices detected.
[ 7.968] (EE)
Fatal server error:
[ 7.968] (EE) no screens found(EE)
[ 7.969] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 7.969] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[ 7.969] (EE)
rd@bokocube:/var/log$
Is that the same for you or do you have X.org running?
Also in dmsg I see
rd@bokocube:/var/log$ dmesg |grep hdmi
[ 0.000000] Kernel command line: root=/dev/mmcblk0p2 rootfstype=ext4 ro
rootwait console=ttymxc0,115200 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24
cma=64 console=tty1 ahci_imx.hotplug=1
[ 4.651954] imx_hdmi: module is from the staging directory, the quality is
unknown, you have been warned.
[ 4.933072] imx-hdmi 120000.hdmi: Detected HDMI controller
0x13:0xa:0xa0:0xc1
[ 5.074863] imx-drm display-subsystem.10: bound 120000.hdmi (ops
imx_hdmi_driver_exit [imx_hdmi])
rd@bokocube:/var/log$
Thanks,
Rainer
--
Rainer Dorsch
http://bokomoko.de/
Reply to: