[meta-ti] [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV and other changes to support wayland/DRM on AM4

Gou, Hongmei h-gou at ti.com
Fri Nov 6 13:56:40 PST 2015


> -----Original Message-----
> From: Dmytriyenko, Denys
> Sent: Thursday, November 05, 2015 2:29 PM
> To: Gou, Hongmei
> Cc: meta-ti at yoctoproject.org
> Subject: Re: [meta-ti] [PATCH 2/2] omap5-sgx-ddk-um-linux: bump SRCREV
> and other changes to support wayland/DRM on AM4
> 
> On Wed, Nov 04, 2015 at 02:53:15PM -0500, Hongmei Gou wrote:
> > * Support wayland/DRM mode
> > * Remove powervr.ini which is no longer needed
> > * Add plugins package to include the necessary .so files
> >
> > Signed-off-by: Hongmei Gou <h-gou at ti.com>
> > ---
> >  .../libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini           |  3 ---
> >  recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb    | 10
> ++++++++--
> >  2 files changed, 8 insertions(+), 5 deletions(-)  delete mode 100644
> > recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
> >
> > diff --git
> > a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
> > b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
> > deleted file mode 100644
> > index 0657ab8..0000000
> > ---
> > a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
> > +++ /dev/null
> > @@ -1,3 +0,0 @@
> > -[default]
> > -WindowSystem=null_libdrm.so
> > -DisableHWTQTextureUpload=1
> > diff --git
> > a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
> > b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
> > index cd01d6f..557c442 100644
> > --- a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
> > +++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
> > @@ -12,14 +12,14 @@ BRANCH_ti43x = "am4/k4.1"
> >  SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-
> linux.git;protocol=git;branch=${BRANCH}"
> >  SRCREV_omap-a15 = "d63cd6469fff610317a8e1c986f227bb3e7922f6"
> >  SRCREV_ti33x    = "188575c7ba16c00a15499ed88a126af2506fdba5"
> > -SRCREV_ti43x    = "188575c7ba16c00a15499ed88a126af2506fdba5"
> > +SRCREV_ti43x    = "fdf4c0b594ca142a68aabb4c3f82b75be50b46cc"
> >
> >  INITSCRIPT_NAME = "pvr-init"
> >  INITSCRIPT_PARAMS = "defaults 8"
> >
> >  inherit update-rc.d
> >
> > -PR = "r11"
> > +PR = "r12"
> >  PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
> >
> >  RDEPENDS_${PN} += "libdrm"
> > @@ -50,8 +50,14 @@ FILES_${PN} +=  "${includedir}/* /usr/share/sgx-lib/"
> >  FILES_${PN} += "${sysconfdir}/init.d/pvr-init"
> >  FILES_${PN} += "${sysconfdir}/powervr.ini"
> >
> > +PACKAGES =+ "${PN}-plugins"
> > +FILES_${PN}-plugins = ""
> 
> Quick question - have you tried other platforms, like am5, to see if they
> complain about empty ${PN}-plugins package? You may need to set
> ALLOW_EMPTY_${PN}-plugins = "1", if it causes problems.

Thanks for the suggestion. "ALLOW_EMPTY_${PN}-plugins = "1"" is indeed needed for am5. We have submitted the v2 patch with the suggested change.

> 
> 
> > +FILES_${PN}-plugins_ti43x = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so
> ${libdir}/libglslcompiler.so ${libdir}/libpvrws_WAYLAND.so
> ${libdir}/libpvrws_KMS.so "
> > +RDEPENDS_${PN} += "${PN}-plugins"
> > +
> >  INHIBIT_PACKAGE_STRIP = "1"
> >
> >  INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
> > +INSANE_SKIP_${PN}-plugins = "dev-so"
> >
> >  CLEANBROKEN = "1"
> > --
> > 1.9.1
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list