Bug 1898

Summary: [beagleboard C4] X server can not startup with 3.0 kernel
Product: [Build System, Metadata & Runtime] BSPs Reporter: Yi Zhao <yi.zhao>
Component: bsps-configurationAssignee: Jingdong Lu <jingdong.lu>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: High CC: dvhart, jiajun.xu, liang.li2, sgw, yi.zhao, yp.bsp.watcher, yp.watcher
Version: 1.2   
Target Milestone: 1.2 M3   
Hardware: Beagleboard   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Yi Zhao 2012-01-12 23:02:23 UTC
Tree/branch: poky/1.2_M2
Commit: 0f4d99d207b224bb9ce23de00a48f795ae20b3a0
Image location:
http://autobuilder.pokylinux.org/nightly/20120111-3/machines/beagleboard/

u-boot environment setting:
###########
setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; bootm 0x80300000' 
setenv bootargs 'console=tty0 console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro' 
mmc rescan 0
boot 
###########

When booting up the beagleboard, the Xserver can not startup:
############
X.Org X Server 1.11.2
Release Date: 2011-11-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.37.6-0.9-default x86_64 
Current Operating System: Linux beagleboard 3.0.12-yocto-standard+ #1 PREEMPT Wed Jan 11 19:21:48 PST 2012 armv7l
Kernel command line: console=tty0 console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait rootfstype=ext3 ro
Build Date: 11 January 2012  07:34:00PM
 
Current version of pixman: 0.24.0
        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: Fri Jan 13 14:29:01 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Starting Distributed Compiler Daemon: distcc(EE) Failed to load module "extmod" (module does not exist, 0)
(EE) Failed to load module "dbe" (module does not exist, 0)
(EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "record" (module does not exist, 0)
(EE) Failed to load module "dri" (module does not exist, 0)
(EE) Failed to load module "dri2" (module does not exist, 0)
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

Server terminated with error (1). Closing log file.
############

The dmesg shows that there is no driver for fb:
############
root@beagleboard:~# dmesg | grep fb
omapfb omapfb: no driver for display
omapfb omapfb: failed to setup omapfb
root@beagleboard:~# 
############
Comment 1 Darren Hart 2012-01-25 08:23:05 UTC
Bumping priority to High-Major. This will be resolved by 1.2 M3. If you are using the Beagleboard and need a build later than edison, please try the M1 build.
Comment 2 Jingdong Lu 2012-01-29 17:34:45 UTC
It will be fixed in the next 3.0 update.
Comment 4 Yi Zhao 2012-02-06 22:08:14 UTC
Verified with 20120206 build. The X server can startup with 3.0 kernel.

Tree/branch: poky/master
Commit: cb89d43473a91ff4cb2447d642fcd9308d7366e3