<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>764</bug_id>
          
          <creation_ts>2011-02-23 21:53:11 +0000</creation_ts>
          <short_desc>[beagleboard] X server can not startup on beagleboard</short_desc>
          <delta_ts>2011-06-28 22:57:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-tooling</component>
          <version>1.0</version>
          <rep_platform>Beagleboard</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>patches out for review (17-Jun-2011)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12032</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-02-23 21:53:11 +0000</bug_when>
    <thetext>Testing Env:    
Host: Ubuntu 10.10 x86_64
Kernel: 2.6.35-25-generic

beagleboard kernel and rootfs from weekly build 20110221
http://autobuilder.pokylinux.org/nightly/20110221-1/machines/beagleboard/arm/

u-boot environment setting:
###########
setenv optargs &apos;omapdss.def_disp=dvi vram=12M omapfb.mode=&quot;dvi:800x480MR-16@60&quot; video=omapfb.vram:0:4M,1:4M,2:4M omapfb.debug=y omapdss.debug=y&apos;
setenv console ttyO2,115200n8;mmcinit;fatload mmc 0 0x80800000 uImage.bin;run mmcargs; bootm 0x80800000
###########

When startup Xserver, I got the error message:
###################
Starting Xserver
fbset: can&apos;t open &apos;/dev/fb0&apos;: No such file or directory
fbset: can&apos;t open &apos;/dev/fb0&apos;: No such file or directory
fbset: can&apos;t open &apos;/dev/fb0&apos;: No such file or directory

Error opening framebuffer /dev/fb0: No such file or directory

Fatal server error:
no screens found
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Timeout waiting for org.matchbox_project.desktop.Loaded
###################

There is no /dev/fb0 under /dev/ directory.

When I create fb0 device manually, the issue still happen:
###################
root@beagleboard:~# mknod /dev/fb0 c 29 0
root@beagleboard:~# /etc/rc5.d/S09xserver-nodm start
Starting Xserver
fbset: can&apos;t open &apos;/dev/fb0&apos;: No such device
fbset: can&apos;t open &apos;/dev/fb0&apos;: No such device
fbset: can&apos;t open &apos;/dev/fb0&apos;: No such device

Error opening framebuffer /dev/fb0: No such device

Fatal server error:
no screens found

####################

More info:
###################
root@beagleboard:~# uname -a
Linux beagleboard 2.6.37.1-yocto-standard+ #1 PREEMPT Tue Feb 22 03:05:15 PST 2011 armv7l GNU/Linux
###################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12059</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-02-24 06:50:40 +0000</bug_when>
    <thetext>I&apos;m trying to recall if we used graphics on the beagle board for the
2.6.34 based demos. I don&apos;t think we did. Can someone help my
memory by confirming whether this worked in 2.6.34 ? Just trying to
properly classify this as a regression or not.

As for 2.6.37 based framebuffer / X support, this is expected to not
work (by me at least). We did a minimal 2.6.37 BSP, which didn&apos;t
include graphics, and we&apos;ll add to it in the post 1.0 timeframe. There are
merges that I&apos;ve staged for this, but they are big enough that putting
them in during the 1.0 stabilization wasn&apos;t feasible.

But I&apos;d like Darren to confirm the above, since he&apos;s had hands on the
board more recently than I have.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12101</commentid>
    <comment_count>2</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-02-24 19:24:38 +0000</bug_when>
    <thetext>I tested a 2.6.34 kernel from autobuilder weekly build 20110126:

uImage-2.6.34+git0+b67e060194a38c6331da1532bd06446087a42b3b_0+0431115c9d720fee5bb105f6a7411efb4f851d26-r12-beagleboard-20110127143833.bin

poky-image-sato-beagleboard-20110127162807.rootfs.tar.bz2

With this build, the /dev/fb0 can be created successfully. The X server can startup and the desktop display has no problem on a LCD monitor.

#################
root@beagleboard:~# dmesg|grep fb -i
omapfb: configured for panel omap3beagle
omapfb: DISPC version 3.0 initialized
omapfb: Framebuffer initialized. Total vram 1572864 planes 1
omapfb: Pixclock 48000 kHz hfreq 44.7 kHz vfreq 57.7 Hz
##################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12262</commentid>
    <comment_count>3</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-03-03 17:56:28 +0000</bug_when>
    <thetext>Moving this to 1.1 where we&apos;ll have a completely new strategy for the beagleboard BSP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13843</commentid>
    <comment_count>4</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-05-16 13:52:30 +0000</bug_when>
    <thetext>darren. Want this one ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14211</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-06-07 17:02:16 +0000</bug_when>
    <thetext>I&apos;m building with a linux-omap + patches from meta-ti and am currently whittling down the config. I am able to get the splash screen and the X desktop now. I had to delete the udev device cache (/etc/dev.tar*) before /dev/fb0 showed up. Manually creating the node (mknod /dev/fb0 char 29 0) also worked. Progress is being made.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14445</commentid>
    <comment_count>6</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-06-28 09:05:41 +0000</bug_when>
    <thetext>With the following commits, this is resolved:

commit ee4dd303b6667a691ed6093b13c226a7466ee31e
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Wed Jun 22 16:00:01 2011 -0400

    linux-yocto/meta-yocto: update yocto/standard and beagleboard SRCREVs


commit aaa4951d8b25591ebf7e98e02d8e7873d082d3e9
Author: Darren Hart &lt;dvhart@linux.intel.com&gt;
Date:   Mon Jun 20 14:13:21 2011 -0700

    beagleboard: switch to xserver-xf86-lite</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14459</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-06-28 22:57:36 +0000</bug_when>
    <thetext>Verified it with 20110625 build on beagleboard C4

Tree/Branch: Poky/Master
Poky Commit: a1f79a7896b6411669b3ccada6204d2695e80fc5</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>