Bug 3522 - [beagleboard] X can not startup with 1.4 M1 RC1 20121128 build
Summary: [beagleboard] X can not startup with 1.4 M1 RC1 20121128 build
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-yocto (show other bugs)
Version: 1.4
Hardware: Beagleboard arm
: Medium+ normal
Target Milestone: 1.4 M2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-12-03 09:54 UTC by Yi Zhao
Modified: 2013-01-07 06:04 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
Xorg.log.0 (6.03 KB, text/x-log)
2012-12-03 09:54 UTC, Yi Zhao
no flags Details
Xorg.0.log (6.42 KB, text/x-log)
2012-12-13 07:27 UTC, Yi Zhao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2012-12-03 09:54:59 UTC
Created attachment 958 [details]
Xorg.log.0

Location: http://autobuilder.yoctoproject.org/pub/nightly/20121128-1
Branch: 1.4_M1
Tag: 1.4_M1.rc1

Commits:
poky: 247b6a3754c2c50318e2a73d79981ba0e9cb560b

X can not startup on beagleboard xM and C4. 

Here is the error message in Xorg.log:
#########
cat Xorg.0.log|grep omap
[1601263.775] (II) LoadModule: "omapfb"
[1601263.781] (WW) Warning, couldn't open module omapfb
[1601263.781] (II) UnloadModule: "omapfb"
[1601263.781] (II) Unloading omapfb
[1601263.782] (EE) Failed to load module "omapfb" (module does not exist, 0)
########

For detail log, please see the attachment.
Comment 1 Ross Burton 2012-12-10 13:46:59 UTC
Yi Zhao, please edit /etc/X11/xorg.conf to say "omap" instead of "omapfb" (Laurentiu, this is in meta-yocto-bsp) and try again.

To be honest we should be able to drop that file entirely.
Comment 2 Laurentiu Palcu 2012-12-12 09:49:06 UTC
Yi Zhao, did you test the solution Ross provided? I am unable to test this since I don't have a beagleboard im my office...
Comment 3 Yi Zhao 2012-12-13 07:25:40 UTC
(In reply to comment #1)
> Yi Zhao, please edit /etc/X11/xorg.conf to say "omap" instead of "omapfb"
> (Laurentiu, this is in meta-yocto-bsp) and try again.
> 
> To be honest we should be able to drop that file entirely.

It still can not work:
###########
[2276572.855] (II) OMAP: Driver for TI OMAP: OMAP3430 with PowerVR SGX530,
    OMAP3630 with PowerVR SGX530, OMAP4430 with PowerVR SGX540,
    OMAP4460 with PowerVR SGX540, OMAP5430 with PowerVR SGX544 MP, 
    OMAP5432 with PowerVR SGX544 MP
[2276572.855] (--) using VT number 3

[2276572.961] (WW) Falling back to old probe method for omap
[2276574.302] (EE) No devices detected.
[2276574.303] 
Fatal server error:
[2276574.303] no screens found
[2276574.303] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[2276574.303] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[2276574.303] (EE) 
[2276574.448] Server terminated with error (1). Closing log file.
##########
Comment 4 Yi Zhao 2012-12-13 07:27:22 UTC
Created attachment 980 [details]
Xorg.0.log

I attached the detail log.
Comment 5 Ross Burton 2012-12-13 10:21:03 UTC
The newer driver doesn't work on much hardware...  install xf86-video-omapfb and change xorg.conf back.  The "old" driver should compile and work now.
Comment 6 Ross Burton 2012-12-14 16:25:21 UTC
Patch to use omapfb sent to poky@.
Comment 7 Yi Zhao 2012-12-26 06:11:57 UTC
Hi Ross,
This issue had been fixed. Would you please mark it as fixed ?

Thanks.
Comment 8 Yi Zhao 2013-01-07 06:04:07 UTC
Verified with master branch: 90c0eb29f0b41e4ac2d3d17ebad7295c2ebdc02a