[meta-intel] emgd 1.8

Kamble, Nitin A nitin.a.kamble at intel.com
Thu Mar 28 09:19:29 PDT 2013


Alex,
  I have never seen issues with video BIOS for any EMGD version. So can you explain further that do you mean by the generated Video BIOS. All of the BSPs from meta-intel using EMGD are not generating any video BIOS.

Nitin


> -----Original Message-----
> From: Austin, Alex [mailto:Alex.Austin at spectrumdsi.com]
> Sent: Wednesday, March 27, 2013 5:49 PM
> To: Kamble, Nitin A; meta-intel at yoctoproject.org
> Subject: RE: emgd 1.8
> 
> Sorry, forgot the explanation.
> 
> Using emgd-1.14 on the target causes severe display corruption when X
> starts. My best guess is because of a version mismatch between emgd (1.14)
> and the generated video bios (1.8).
> 
> > -----Original Message-----
> > From: Kamble, Nitin A [mailto:nitin.a.kamble at intel.com]
> > Sent: Wednesday, March 27, 2013 7:28 PM
> > To: Austin, Alex; meta-intel at yoctoproject.org
> > Subject: RE: emgd 1.8
> >
> > Alex,
> >   I am not sure what are you trying to do. Would you like to explain
> > it further?
> >
> > What happens if you run these commands in your build directory?
> >   bitbake -f -c cleanall emgd-driver-bin
> >   bitbake emgd-driver-bin
> >
> > Thanks,
> > Nitin
> >
> >
> > > -----Original Message-----
> > > From: meta-intel-bounces at yoctoproject.org [mailto:meta-intel-
> > > bounces at yoctoproject.org] On Behalf Of Austin, Alex
> > > Sent: Wednesday, March 27, 2013 3:03 PM
> > > To: meta-intel at yoctoproject.org
> > > Subject: [meta-intel] emgd 1.8
> > >
> > > Hello,
> > > I have a bit of a conundrum. On the module I'm using in my product,
> > > I've
> > only
> > > been able to get a bios generated by IEMGD 1.8 to work. However, I
> > > am trying to run Yocto Danny on this system. My attempts to modify
> > > emgd- driver-bin_1.10.bb to emgd-driver-bin_1.8.bb (shown below)
> have failed.
> > > What should I look at next?
> > >
> > > Thanks,
> > > - Alex
> > >
> > >
> > > ---------------------------- emgd-driver-bin_1.8.bb
> > > ---------------------
> > -------
> > > SUMMARY = "EMGD 1.8 xserver binaries"
> > > DESCRIPTION = "EMGD 1.8 includes some userspace binaries that use
> > > non- free \ licensing, which are now available via a
> > > non-click-through downloadable \ tarball, and is what this recipe
> > > now uses.  Since it is a
> > non-
> > > free license, \ this recipe is marked as 'License_emgd-driver-bin_1.8'
> > and you
> > > need to add \ to LICENSE_FLAGS_WHITELIST += \"License_emgd-driver-
> > > bin_1.8\" to your \ local.conf in order to enable it in a build."
> > > LICENSE = "Intel-binary-only"
> > > LICENSE_FLAGS = "license_${PN}_${PV}"
> > > PR = "r1"
> > >
> > > EMGD_LIC_DIR = "IEMGD_HEAD_Linux/License"
> > > EMGD_RPM_DIR = "IEMGD_HEAD_Linux/MeeGo1.2"
> > > EMGD_VIDEO_PLUGIN_DIR = "../common/video_plugin"
> > >
> > > LIC_FILES_CHKSUM =
> > >
> "file://${WORKDIR}/${EMGD_LIC_DIR}/License.txt;md5=b54f01caaf8483b3c
> > > b
> > > 60c0c40f2bf22d"
> > >
> > > DEPENDS = "rpm-native xz-native"
> > >
> > > SRC_URI = "file://IEMGD_HEAD_Linux.tgz;name=driver \
> > >            file://CongaQA6.x;name=xconfig "
> > >
> > > SRC_URI[driver.md5sum] = "717a69afc6bf56259a388445e0c5f36a"
> > > SRC_URI[driver.sha256sum] =
> > >
> "a768af74e561558f28148cd9779b976a01a242f145b02eed928681024d71aa68"
> > > SRC_URI[xconfig.md5sum] = "f2f0e7e6242dd6f679b447267cc02a23"
> > > SRC_URI[xconfig.sha256sum] =
> > >
> "455e1c836e606c97e01a75b00d63c6d9843b4558a375a5e1c6f7007562a7c40b"
> > >
> > > # These are closed binaries generated elsewhere so don't check
> > > ldflags INSANE_SKIP_${PN} = "ldflags"
> > >
> > > FILES_${PN} += "${libdir}/dri ${libdir}/gstreamer-0.10
> > > ${libdir}/xorg/modules/drivers"
> > > FILES_${PN}-dbg += "${libdir}/xorg/modules/drivers/.debug
> > > ${libdir}/dri/.debug"
> > >
> > > S = "${WORKDIR}/${EMGD_RPM_DIR}"
> > >
> > > do_install () {
> > >     # A gstreamer VA buffer library
> > >     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/gst-vabuffer*.rpm | cpio
> > > -id
> > >
> > >     # MIX Common contains common classes, datatype, header files
> > > used by other MIX components
> > >     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/mixcommon*.rpm | cpio
> -id
> > >
> > >     # MIX Video Bitstream Parser is an user library interface for
> > > various
> > video
> > > format bitstream parsing
> > >     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/mixvbp*.rpm | cpio -id
> > >
> > >     # MIX Video is an user library interface for various video
> > > codecs
> > available
> > > on the platform.
> > >     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/mixvideo*.rpm | cpio -id
> > >
> > >     install -d -m 0755
> > ${D}${libdir}/gstreamer-0.10
> > >     install -m 0755 ${S}/usr/lib/*                        ${D}${libdir}/
> > >
> > >     # A gstreamer plugin that uses MIX Video for hardware
> > > accelerated
> > video
> > > decoding and rendering.
> > >     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/gst-plugins-
> mixvideo*.rpm
> > > | cpio -id
> > >
> > >     # A collection of gstreamer plugins that uses VA libraries for
> > hardware
> > > accelerated video rendering and text overlay.
> > >     rpm2cpio ${S}/${EMGD_VIDEO_PLUGIN_DIR}/gst-plugins-va*.rpm |
> > > cpio - id
> > >
> > >     install -m 0755 ${S}/usr/lib/gstreamer-0.10/*
> > ${D}${libdir}/gstreamer-
> > > 0.10/
> > >
> > >     # EMGD runtime graphics libraries
> > >     rpm2cpio ${S}/emgd-bin*.rpm | xz -d | cpio -id
> > >
> > >     install -d -m 0755
> > ${D}${libdir}/dri
> > >     install -d -m 0755
> > ${D}${libdir}/xorg/modules/drivers
> > >     install -d -m 0755
> > ${D}${sysconfdir}
> > >     install -d -m 0755
> > ${D}${mandir}/man4
> > >     install -m 0755 ${S}/usr/lib/*.so.*                   ${D}${libdir}/
> > >     install -m 0755 ${S}/usr/lib/dri/*
> > ${D}${libdir}/dri/
> > >     install -m 0755 ${S}/usr/lib/xorg/modules/drivers/*
> > > ${D}${libdir}/xorg/modules/drivers/
> > >     install -m 0755 ${S}/etc/*
> > ${D}${sysconfdir}/
> > >     install -m 0755 ${S}/usr/share/man/man4/*
> > ${D}${mandir}/man4/
> > >
> > >     # Khronos development headers needed for EGL, OpenGL-ES, and
> > > OpenVG development
> > >     rpm2cpio ${S}/emgd-devel*.rpm | xz -d | cpio -id
> > >
> > >     install -d -m 0755
> > ${D}${includedir}/EGL
> > >     install -m 0755 ${S}/usr/include/EGL/*.h
> > ${D}${includedir}/EGL/
> > >     install -d -m 0755
> > ${D}${includedir}/GLES
> > >     install -m 0755 ${S}/usr/include/GLES/*.h
> > ${D}${includedir}/GLES/
> > >     install -d -m 0755
> > ${D}${includedir}/GLES2
> > >     install -m 0755 ${S}/usr/include/GLES2/*.h
> > ${D}${includedir}/GLES2/
> > >     install -d -m 0755
> > ${D}${includedir}/KHR
> > >     install -m 0755 ${S}/usr/include/KHR/*.h
> > ${D}${includedir}/KHR/
> > >     install -d -m 0755
> > ${D}${includedir}/VG
> > >     install -m 0755 ${S}/usr/include/VG/*.h
> > ${D}${includedir}/VG/
> > >
> > >     ln -sf libEGL.so.1
> > ${D}${libdir}/libEGL.so
> > >     ln -sf libGLES_CM.so.1
> > ${D}${libdir}/libGLES_CM.so
> > >     ln -sf libGLESv2.so.2
> > ${D}${libdir}/libGLESv2.so
> > >     ln -sf libOpenVG.so.1
> > ${D}${libdir}/libOpenVG.so
> > >     ln -sf libOpenVGU.so.1
> > ${D}${libdir}/libOpenVGU.so
> > > }
> > >
> > > LEAD_SONAME = "libEGL.so"
> > >
> > >
> > > ------------------------------------ output
> > > -----------------------------
> > -------
> > > $ bitbake -b
> > > ../poky/meta-<customer>/recipes-graphics/xorg-driver/emgd-
> > > driver-bin_1.8.bb
> > > WARNING: Buildfile specified, dependencies will not be handled. If
> > > this
> > is not
> > > what you want, do not use -b / --buildfile.
> > >
> > > Build Configuration:
> > > BB_VERSION        = "1.16.0"
> > > TARGET_ARCH       = "i586"
> > > TARGET_OS         = "linux"
> > > MACHINE           = "<customer>"
> > > DISTRO            = "poky"
> > > DISTRO_VERSION    = "1.3"
> > > TUNE_FEATURES     = "m32 core2"
> > > TARGET_FPU        = ""
> > > meta
> > > meta-yocto
> > > meta-yocto-bsp    =
> "danny:e89f812a0af56beda951c1dce6113a61d6db8cda"
> > > meta-intel
> > > meta-crownbay     =
> "danny:b0ac9a20b8b5c189fb04e7a3b8beb5360a38f663"
> > > meta-<customer>          =
> > > "master:17866f4d729eec99a44de99b2e3921d6d943ed3a"
> > >
> > > NOTE: Preparing runqueue
> > > NOTE: Executing SetScene Tasks
> > > NOTE: Executing RunQueue Tasks
> > > ERROR: Function failed: do_install (see
> > > /home/alex/Projects/<customer>/yocto/build/tmp/work/core2-poky-
> > > linux/emgd-driver-bin-1.8-r1/temp/log.do_install.29685 for further
> > > information)
> > > ERROR: Logfile of failure stored in:
> > > /home/alex/Projects/<customer>/yocto/build/tmp/work/core2-poky-
> > > linux/emgd-driver-bin-1.8-r1/temp/log.do_install.29685
> > > Log data follows:
> > > | DEBUG: Executing shell function do_install
> > > | cpio: ./usr/lib/libgstvabuffer.so.0 not created: newer or same age
> > > | version exists
> > > | cpio: ./usr/lib/libgstvabuffer.so.0.10.5 not created: newer or
> > > | same age version exists
> > > | 15 blocks
> > > | cpio: ./usr/lib/libmixcommon.so.0 not created: newer or same age
> > > | version exists
> > > | cpio: ./usr/lib/libmixcommon.so.0.1.9 not created: newer or same
> > > | age version exists
> > > | 24 blocks
> > > | cpio: ./usr/lib/libmixvbp.so.0 not created: newer or same age
> > > | version exists
> > > | cpio: ./usr/lib/libmixvbp.so.0.1.24 not created: newer or same age
> > > | version exists
> > > | cpio: ./usr/lib/libmixvbp_h264.so.0 not created: newer or same age
> > > | version exists
> > > | cpio: ./usr/lib/libmixvbp_h264.so.0.1.24 not created: newer or
> > > | same age version exists
> > > | cpio: ./usr/lib/libmixvbp_mpeg4.so.0 not created: newer or same
> > > | age version exists
> > > | cpio: ./usr/lib/libmixvbp_mpeg4.so.0.1.24 not created: newer or
> > > | same age version exists
> > > | cpio: ./usr/lib/libmixvbp_vc1.so.0 not created: newer or same age
> > > | version exists
> > > | cpio: ./usr/lib/libmixvbp_vc1.so.0.1.24 not created: newer or same
> > > | age version exists
> > > | 343 blocks
> > > | cpio: ./usr/lib/libmixvideo.so.0 not created: newer or same age
> > > | version exists
> > > | cpio: ./usr/lib/libmixvideo.so.0.1.31 not created: newer or same
> > > | age version exists
> > > | 449 blocks
> > > | install: omitting directory
> > > `/home/alex/Projects/<customer>/yocto/build/tmp/work/core2-poky-
> > > linux/emgd-driver-bin-1.8-r1/IEMGD_HEAD_Linux/MeeGo1.2/usr/lib/dri'
> > > | install: omitting directory
> > > `/home/alex/Projects/<customer>/yocto/build/tmp/work/core2-poky-
> > > linux/emgd-driver-bin-1.8-
> > > r1/IEMGD_HEAD_Linux/MeeGo1.2/usr/lib/gstreamer-0.10'
> > > | install: cannot stat
> > > | `/home/alex/Projects/<customer>/yocto/build/tmp/work/core2-poky-
> > > linux/
> > > | emgd-driver-bin-1.8-
> r1/IEMGD_HEAD_Linux/MeeGo1.2/usr/lib/libEGL.so':
> > > | No such file or directory
> > > | install: cannot stat
> > > | `/home/alex/Projects/<customer>/yocto/build/tmp/work/core2-poky-
> > > linux/
> > > | emgd-driver-bin-1.8-
> > > r1/IEMGD_HEAD_Linux/MeeGo1.2/usr/lib/libGLES_CM.so
> > > | ': No such file or directory
> > > | install: cannot stat
> > > | `/home/alex/Projects/<customer>/yocto/build/tmp/work/core2-poky-
> > > linux/
> > > | emgd-driver-bin-1.8-
> > > r1/IEMGD_HEAD_Linux/MeeGo1.2/usr/lib/libGLESv2.so'
> > > | : No such file or directory
> > > | install: omitting directory
> > > `/home/alex/Projects/<customer>/yocto/build/tmp/work/core2-poky-
> > > linux/emgd-driver-bin-1.8-
> r1/IEMGD_HEAD_Linux/MeeGo1.2/usr/lib/xorg'
> > > | ERROR: Function failed: do_install (see
> > > | /home/alex/Projects/<customer>/yocto/build/tmp/work/core2-poky-
> > > linux/e
> > > | mgd-driver-bin-1.8-r1/temp/log.do_install.29685 for further
> > > | information)
> > > ERROR: Task 2 (/home/alex/Projects/<customer>/yocto/poky/meta-
> > > <customer>/recipes-graphics/xorg-driver/emgd-driver-bin_1.8.bb,
> > > do_install) failed with exit code '1'
> > > NOTE: Tasks Summary: Attempted 7 tasks of which 6 didn't need to be
> > > rerun and 1 failed.
> > > No currently running tasks (6 of 12)
> > >
> > > Summary: 1 task failed:
> > >   /home/alex/Projects/<customer>/yocto/poky/meta-
> <customer>/recipes-
> > > graphics/xorg-driver/emgd-driver-bin_1.8.bb, do_install
> > > Summary: There was 1 WARNING message shown.
> > > Summary: There was 1 ERROR message shown, returning a non-zero exit
> > > code.
> > > _______________________________________________
> > > meta-intel mailing list
> > > meta-intel at yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-intel



More information about the meta-intel mailing list