XFCE on iMx6ull : Segmentation fault at 0xc

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

XFCE on iMx6ull : Segmentation fault at 0xc

Jump to solution
1,819 Views
Iaca
Contributor I

Hello,

 

I'm beginner in Yocto project,  I try to build an Linux image for a embedded card which use a imx6ull.

 

I want to create an image with xfce.

 

Can you help me please ?

 

Thank you in advance !

 

Regards,

 

My error (cat /var/log/Xorg.0.log) :

[ 706.840] (II) VIVANTE(0): printing discovered frame buffer 'fb0' supported modes:
[ 706.840] (II) VIVANTE(0): Modeline "U:1024x600p-58"x0.0 50.00 1024 1174 1194 1344 600 610 625 635 -hsync -vsync -csync (37.2 kHz e)
[ 706.842] (II) VIVANTE(0): Output mxs-lcdif using monitor section Configured Monitor
[ 706.842] (II) VIVANTE(0): Printing probed modes for output mxs-lcdif
[ 706.842] (II) VIVANTE(0): Modeline "U:1024x600p-58"x58.6 50.00 1024 1174 1194 1344 600 610 625 635 -hsync -vsync -csync (37.2 kHz e)
[ 706.842] (II) VIVANTE(0): Output mxs-lcdif connected
[ 706.842] (II) VIVANTE(0): Using sloppy heuristic for initial modes
[ 706.842] (II) VIVANTE(0): Output mxs-lcdif using initial mode U:1024x600p-58 +0+0
[ 706.842] (II) VIVANTE(0): imxDisplayPreInit: virtual set 1024 x 600, display width 0
[ 706.842] (II) VIVANTE(0): FBDevPreInit: adjust display width 1024
[ 706.842] (**) VIVANTE(0): PreInit done
[ 706.842] (--) Depth 24 pixmap format is 32 bpp
[ 706.842] (II) VIVANTE(0): Init mode for fb device
[ 706.843] (II) VIVANTE(0): hardware: mxs-lcdif (video memory: 32768kB)
[ 706.844] (II) VIVANTE(0): FB Start = 0x74692000 FB Base = 0x74692000 FB Offset = (nil) FB PhyBase 0x9c100000
[ 706.844] (II) VIVANTE(0): reserve 8355840 bytes for on screen frame buffer; total fb memory size 33554432 bytes; offset of shadow buffer 8355840
[ 706.845] (II) VIVANTE(0): hardware: mxs-lcdif (video memory: 32768kB)
[ 706.858] (II) VIVANTE(0): test Initializing EXA
[ 706.858] (EE)
[ 706.858] (EE) Backtrace:
[ 706.858] (EE)
[ 706.859] (EE) Segmentation fault at address 0xc
[ 706.859] (EE)
Fatal server error:
[ 706.859] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 706.859] (EE)
[ 706.859] (EE)

 

My xorg confi :

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
Load "dri"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
Option "XkbRules" "xorg"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Your Accelerated Framebuffer Device"
Driver "vivante"
Option "fbdev" "/dev/fb0"
Option "vivante_fbdev" "/dev/fb0"
Option "HWcursor" "false"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection


Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Your Accelerated Framebuffer Device"
DefaultDepth 24
EndSection

Section "DRI"
Mode 0666
EndSection

 

 

My bblayers.conf :

 

POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"

BBFILES ?= ""
BBLAYERS = " \
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-poky \
\
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-multimedia \
\
${BSPDIR}/sources/meta-freescale \
${BSPDIR}/sources/meta-freescale-3rdparty \
${BSPDIR}/sources/meta-freescale-distro \
${BSPDIR}/sources/meta-engicam \
${BSPDIR}/sources/meta-qt5 \
${BSPDIR}/sources/meta-openembedded/meta-xfce \
${BSPDIR}/sources/meta-openembedded/meta-gnome \
${BSPDIR}/sources/meta-openembedded/meta-python \
"

My local.conf :

 

MACHINE ??= 'microdev'
DISTRO ?= 'fslc-x11'
PACKAGE_CLASSES ?= "package_ipk"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"

BB_NUMBER_THREADS = '4'
PARALLEL_MAKE = '-j 2'
PACKAGE_CLASSES = "package_ipk"

EXTRA_IMAGE_FEATURES += " package-management "


LICENSE_FLAGS_WHITELIST = "commercial license"

DL_DIR ?= "${BSPDIR}/downloads/"

UBOOT_CONFIG="sd"

PACKAGECONFIG_append_pn-qtbase = " tslib "
PACKAGECONFIG_append_pn-qtbase = " linuxfb "
PACKAGECONFIG_append_pn-qtbase = " fontconfig "

IMAGE_ROOTFS_SIZE = "2097152"
IMAGE_OVERHEAD_FACTOR = "1.0"
PACKAGECONFIG_remove_pn-qtbase = " gl "
PACKAGECONFIG_remove_pn-qtbase = " gles2 "
QT_CONFIG_FLAGS_remove = " -eglfs "
QT_CONFIG_FLAGS_append =" -no-opengl "
STARTUPDEMO = "resistive"
ACCEPT_FSL_EULA = "1"

IMAGE_INSTALL_append = " packagegroup-xfce-base xserver-xorg kernel-module-imx-gpu-viv packagegroup-fsl-tools-gpu firmware-imx xf86-video-imxfb-vivante"

BBMASK = "meta-xfce/recipes-multimedia"

MACHINEOVERRIDES =. "mx6:mx6dl:"

 

Tags (2)
0 Kudos
Reply
1 Solution
1,806 Views
Iaca
Contributor I

I solved my issue by creating /dev/galcore.

View solution in original post

0 Kudos
Reply
1 Reply
1,807 Views
Iaca
Contributor I

I solved my issue by creating /dev/galcore.

0 Kudos
Reply