agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
542 stars 414 forks source link

Raspberry pi 3b+: x11 broken #862

Closed sss22213 closed 3 years ago

sss22213 commented 3 years ago

I build the Image using core-image-x11 and get the error message.

Loading cache: 100% |                                                                 | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |################################################################| Time: 0:00:57
Parsing of 2808 .bb files complete (0 cached, 2808 parsed). 4364 targets, 436 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.51.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "raspberrypi3"
DISTRO               = "poky"
DISTRO_VERSION       = "3.3+snapshot-bb490c7ea9170fc1b3c2dd15466daf6a9fad735c"
TUNE_FEATURES        = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-yocto-bsp       = "master:bb490c7ea9170fc1b3c2dd15466daf6a9fad735c"
meta-raspberrypi     = "master:d4d1441bd217f1a3dc353a6c20eadceb819c8e37"
meta-oe              
meta-multimedia      
meta-networking      
meta-python          = "master:3c259f977e8647ac9c54097d0faab70719a5553e"
meta-python2         = "master:810d6d842f103eb59f18b06426106462b15de7e2"
meta-chromium        = "master:a5a5f277740a8434377f9844c62574efb17a4fa0"
meta-clang           = "master:af99c02a85c264ab181b3cdeaf156de373de8b70"
meta-qt5             = "master:a2882fecc96019781880c38fc6a81a9b71c944ad"
meta-layer-gui       = "master:bb490c7ea9170fc1b3c2dd15466daf6a9fad735c"
root@raspberrypi3:~# startx
xauth:  file /home/root/.serverauth.637 does not exist

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: Linux 
Current Operating System: Linux raspberrypi3 5.10.31-v7 #1 SMP Fri Apr 23 15:16:49 UTC 2021 armv7l
Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60,margin_left=48,margin_right=48,margin_top=48,margin_bottom=48 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait fbcon=map:10 fbcon=font:VGA8x8
Build Date: 13 April 2021  02:12:37PM

Current version of pixman: 0.40.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.1.log", Time: Fri Mar  9 12:50:45 2018
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.

My /dev/fb0 is existed and normal on the below command.

cat /dev/zero >  /dev/fb0

Thanks in advance.

sss22213 commented 3 years ago

Thanks, I solve the problem by remove "MACHINE_FEATURES += "pitft"".