[meta-ti] [PATCH 2/2] libgles-omap3: Verify pvrsrvkm module was found

Denys Dmytriyenko denys at ti.com
Fri Nov 16 21:09:37 PST 2012


On Sat, Nov 17, 2012 at 12:07:59AM -0500, Denys Dmytriyenko wrote:
> On Fri, Nov 16, 2012 at 01:19:42PM -0600, Franklin S. Cooper Jr wrote:
> > * Check to see if the pvrsrvkm.ko module was found and that the insmod
> >   for that module was successful.
> > 
> > Signed-off-by: Franklin S. Cooper Jr <fcooper at ti.com>
> > ---
> >  recipes-graphics/libgles/libgles-omap3.inc    |    2 +-
> >  recipes-graphics/libgles/libgles-omap3/rc.pvr |    7 +++++++
> >  2 files changed, 8 insertions(+), 1 deletions(-)
> > 
> > diff --git a/recipes-graphics/libgles/libgles-omap3.inc b/recipes-graphics/libgles/libgles-omap3.inc
> > index 574cf17..d9f598a 100644
> > --- a/recipes-graphics/libgles/libgles-omap3.inc
> > +++ b/recipes-graphics/libgles/libgles-omap3.inc
> > @@ -3,7 +3,7 @@ LICENSE = "proprietary-binary"
> >  # 'TSPA.txt' might not be the best file to md5sum
> >  LIC_FILES_CHKSUM = "file://TSPA.txt;md5=c0d5d9c1e38b41677144c4e24d6ddee1"
> >  
> > -PR = "r34"
> > +PR = "r35"
> >  
> >  COMPATIBLE_MACHINE = "(omap3|ti814x|ti816x|ti33x)"
> >  
> > diff --git a/recipes-graphics/libgles/libgles-omap3/rc.pvr b/recipes-graphics/libgles/libgles-omap3/rc.pvr
> > index 00cd994..e5a4cd1 100755
> > --- a/recipes-graphics/libgles/libgles-omap3/rc.pvr
> > +++ b/recipes-graphics/libgles/libgles-omap3/rc.pvr
> > @@ -42,6 +42,13 @@ fbset -vyres $(expr $YRES \* 3)
> >  sgxprepare () {
> >  	echo Starting PVR
> >  	insmod $(busybox find /lib/modules/$(uname -r) -name "pvrsrvkm.ko")
> > +
> > +    if [ "$?" != "0" ]
> > +    then
> > +        echo "Could not find pvrsrvkm driver"
> > +        exit 1
> > +    fi
> > +
> 
> Yeah, and I didn't pay attention, but the second patch was as bad as the first 
> one...

I meant indentation-wise and space-mixing... The patch itself is fine. Sorry, 
it's too late.

> >  	modprobe omaplfb
> >  	modprobe bufferclass_ti
> >  
> > -- 
> > 1.7.0.4
> > 
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
> > 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
> 



More information about the meta-ti mailing list