Re: [meta-freescale] iMX6: How to Include X11 into my image
On 2012-12-13 04:40, Tarek El-Sherbiny wrote: Hi All, What is the easiest way to add X11 into my local image? What image did you build? It may be simpler to start with one that has X already included. ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] iMX6: How to Include X11 into my image
On Thu, Dec 13, 2012 at 9:40 AM, Tarek El-Sherbiny tarek.elsherb...@gmail.com wrote: What is the easiest way to add X11 into my local image? It depends how your image is being done. If you are using it base in core-image, you can use IMAGE_FEATURES (X11 or x11-base) otherwise you can add packagegroup-core-x11 or packagegroup-core-x11-base. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] iMX6: How to Include X11 into my image
What is the simplest image that contains X to start with? Thanks, Tarek On Thu, Dec 13, 2012 at 11:47 AM, Otavio Salvador ota...@ossystems.com.brwrote: On Thu, Dec 13, 2012 at 9:40 AM, Tarek El-Sherbiny tarek.elsherb...@gmail.com wrote: What is the easiest way to add X11 into my local image? It depends how your image is being done. If you are using it base in core-image, you can use IMAGE_FEATURES (X11 or x11-base) otherwise you can add packagegroup-core-x11 or packagegroup-core-x11-base. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] iMX6: How to Include X11 into my image
Hi Otavio, I've created the following adh-image-x11.bb: -- include recipes-graphics/images/core-image-x11.bb IMAGE_FEATURES += debug-tweaks DISTRO_FEATURES += pulseaudio SOC_EXTRA_IMAGE_FEATURES ?= tools-testapps # mesa-demos is currently broken when building with other GL library # so we avoid it by now and tools-testapps includes it. SOC_EXTRA_IMAGE_FEATURES_mx6 = # Add extra image features EXTRA_IMAGE_FEATURES += \ ${SOC_EXTRA_IMAGE_FEATURES} \ tools-debug \ tools-profile \ SOC_IMAGE_INSTALL = IMAGE_INSTALL += \ ${SOC_IMAGE_INSTALL} \ cpufrequtils \ packagegroup-fsl-gstreamer \ packagegroup-fsl-tools-testapps \ packagegroup-fsl-tools-benchmark \ qt4-plugin-phonon-backend-gstreamer \ fsl-gui-extrafiles \ export IMAGE_BASENAME = adh-image-x11 -- But I'm getting the following error: root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1 -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2 -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri -DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c indirect_dispatch.c -fPIC -DPIC -o .libs/indirect_dispatch.o | In file included from ../include/dixstruct.h:28:0, | from glxserver.h:42, | from indirect_dispatch.c:35: | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | In file included from ../include/dixstruct.h:28:0, | from glxserver.h:42, | from indirect_dispatch_swap.c:35: | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | In file included from indirect_dispatch.c:40:0: | glapitable.h:458:92: error: unknown type name 'GLchar' | glapitable.h:460:90: error: unknown type name 'GLchar' | In file included from indirect_dispatch_swap.c:40:0: | glapitable.h:458:92: error: unknown type name 'GLchar' | glapitable.h:460:90: error: unknown type name 'GLchar' | glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB' | glapitable.h:544:55: error: unknown type name 'GLintptrARB'glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB' | glapitable.h:544:55: error: unknown type name 'GLintptrARB' | glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB' What should I do to fix this? Thanks Tarek On Thu, Dec 13, 2012 at 12:59 PM, Otavio Salvador ota...@ossystems.com.brwrote: On Thu, Dec 13, 2012 at 10:50 AM, Tarek El-Sherbiny tarek.elsherb...@gmail.com wrote: What is the simplest image that contains X to start with? core-image-x11 -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] iMX6: How to Include X11 into my image
The error is from: ERROR: Task 3792 (/data/extend_homes/telsherbiny/work/fsl-community-bsp/sources/poky/meta/recipes-graphics/xorg-xserver/ xserver-xorg_1.11.2.bb, do_compile) On Thu, Dec 13, 2012 at 1:57 PM, Tarek El-Sherbiny tarek.elsherb...@gmail.com wrote: Hi Otavio, I've created the following adh-image-x11.bb: -- include recipes-graphics/images/core-image-x11.bb IMAGE_FEATURES += debug-tweaks DISTRO_FEATURES += pulseaudio SOC_EXTRA_IMAGE_FEATURES ?= tools-testapps # mesa-demos is currently broken when building with other GL library # so we avoid it by now and tools-testapps includes it. SOC_EXTRA_IMAGE_FEATURES_mx6 = # Add extra image features EXTRA_IMAGE_FEATURES += \ ${SOC_EXTRA_IMAGE_FEATURES} \ tools-debug \ tools-profile \ SOC_IMAGE_INSTALL = IMAGE_INSTALL += \ ${SOC_IMAGE_INSTALL} \ cpufrequtils \ packagegroup-fsl-gstreamer \ packagegroup-fsl-tools-testapps \ packagegroup-fsl-tools-benchmark \ qt4-plugin-phonon-backend-gstreamer \ fsl-gui-extrafiles \ export IMAGE_BASENAME = adh-image-x11 -- But I'm getting the following error: root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1 -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2 -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri -DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c indirect_dispatch.c -fPIC -DPIC -o .libs/indirect_dispatch.o | In file included from ../include/dixstruct.h:28:0, | from glxserver.h:42, | from indirect_dispatch.c:35: | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | In file included from ../include/dixstruct.h:28:0, | from glxserver.h:42, | from indirect_dispatch_swap.c:35: | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | In file included from indirect_dispatch.c:40:0: | glapitable.h:458:92: error: unknown type name 'GLchar' | glapitable.h:460:90: error: unknown type name 'GLchar' | In file included from indirect_dispatch_swap.c:40:0: | glapitable.h:458:92: error: unknown type name 'GLchar' | glapitable.h:460:90: error: unknown type name 'GLchar' | glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB' | glapitable.h:544:55: error: unknown type name 'GLintptrARB'glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB' | glapitable.h:544:55: error: unknown type name 'GLintptrARB' | glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB' What should I do to fix this? Thanks Tarek On Thu, Dec 13, 2012 at 12:59 PM, Otavio Salvador ota...@ossystems.com.br wrote: On Thu, Dec 13, 2012 at 10:50 AM, Tarek El-Sherbiny tarek.elsherb...@gmail.com wrote: What is the simplest image that contains X to start with? core-image-x11 -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] iMX6: How to Include X11 into my image
On Thu, Dec 13, 2012 at 11:57 AM, Tarek El-Sherbiny tarek.elsherb...@gmail.com wrote: Hi Otavio, I've created the following adh-image-x11.bb: -- include recipes-graphics/images/core-image-x11.bb IMAGE_FEATURES += debug-tweaks DISTRO_FEATURES += pulseaudio SOC_EXTRA_IMAGE_FEATURES ?= tools-testapps # mesa-demos is currently broken when building with other GL library # so we avoid it by now and tools-testapps includes it. SOC_EXTRA_IMAGE_FEATURES_mx6 = # Add extra image features EXTRA_IMAGE_FEATURES += \ ${SOC_EXTRA_IMAGE_FEATURES} \ tools-debug \ tools-profile \ SOC_IMAGE_INSTALL = IMAGE_INSTALL += \ ${SOC_IMAGE_INSTALL} \ cpufrequtils \ packagegroup-fsl-gstreamer \ packagegroup-fsl-tools-testapps \ packagegroup-fsl-tools-benchmark \ qt4-plugin-phonon-backend-gstreamer \ fsl-gui-extrafiles \ export IMAGE_BASENAME = adh-image-x11 -- But I'm getting the following error: root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1 -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2 -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri -DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c indirect_dispatch.c -fPIC -DPIC -o .libs/indirect_dispatch.o | In file included from ../include/dixstruct.h:28:0, | from glxserver.h:42, | from indirect_dispatch.c:35: | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | In file included from ../include/dixstruct.h:28:0, | from glxserver.h:42, | from indirect_dispatch_swap.c:35: | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | In file included from indirect_dispatch.c:40:0: | glapitable.h:458:92: error: unknown type name 'GLchar' | glapitable.h:460:90: error: unknown type name 'GLchar' | In file included from indirect_dispatch_swap.c:40:0: | glapitable.h:458:92: error: unknown type name 'GLchar' | glapitable.h:460:90: error: unknown type name 'GLchar' | glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB' | glapitable.h:544:55: error: unknown type name 'GLintptrARB'glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB' | glapitable.h:544:55: error: unknown type name 'GLintptrARB' | glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB' What should I do to fix this? Your poky version is 'danny' or master? Use danny. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] iMX6: How to Include X11 into my image
My poky is master :( Can I just update it to danny or do I need a fresh repo init -b danny ? On Thu, Dec 13, 2012 at 2:05 PM, Otavio Salvador ota...@ossystems.com.brwrote: On Thu, Dec 13, 2012 at 11:57 AM, Tarek El-Sherbiny tarek.elsherb...@gmail.com wrote: Hi Otavio, I've created the following adh-image-x11.bb: -- include recipes-graphics/images/core-image-x11.bb IMAGE_FEATURES += debug-tweaks DISTRO_FEATURES += pulseaudio SOC_EXTRA_IMAGE_FEATURES ?= tools-testapps # mesa-demos is currently broken when building with other GL library # so we avoid it by now and tools-testapps includes it. SOC_EXTRA_IMAGE_FEATURES_mx6 = # Add extra image features EXTRA_IMAGE_FEATURES += \ ${SOC_EXTRA_IMAGE_FEATURES} \ tools-debug \ tools-profile \ SOC_IMAGE_INSTALL = IMAGE_INSTALL += \ ${SOC_IMAGE_INSTALL} \ cpufrequtils \ packagegroup-fsl-gstreamer \ packagegroup-fsl-tools-testapps \ packagegroup-fsl-tools-benchmark \ qt4-plugin-phonon-backend-gstreamer \ fsl-gui-extrafiles \ export IMAGE_BASENAME = adh-image-x11 -- But I'm getting the following error: root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1 -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2 -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri -DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c indirect_dispatch.c -fPIC -DPIC -o .libs/indirect_dispatch.o | In file included from ../include/dixstruct.h:28:0, | from glxserver.h:42, | from indirect_dispatch.c:35: | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | In file included from ../include/dixstruct.h:28:0, | from glxserver.h:42, | from indirect_dispatch_swap.c:35: | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs' [-Wredundant-decls] | In file included from indirect_dispatch.c:40:0: | glapitable.h:458:92: error: unknown type name 'GLchar' | glapitable.h:460:90: error: unknown type name 'GLchar' | In file included from indirect_dispatch_swap.c:40:0: | glapitable.h:458:92: error: unknown type name 'GLchar' | glapitable.h:460:90: error: unknown type name 'GLchar' | glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB' | glapitable.h:544:55: error: unknown type name 'GLintptrARB'glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB' | glapitable.h:544:55: error: unknown type name 'GLintptrARB' | glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB' What should I do to fix this? Your poky version is 'danny' or master? Use danny. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale
Re: [meta-freescale] iMX6: How to Include X11 into my image
yes I'm using fsl-community-bsp git describe = 1.3 , I think it's danny If so I'm sure why I can't include X ! :( On Thu, Dec 13, 2012 at 2:25 PM, Otavio Salvador ota...@ossystems.com.brwrote: git describe ___ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale