From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from vms173011pub.verizon.net (vms173011pub.verizon.net [206.46.173.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5777EE003D6 for ; Fri, 16 Nov 2012 21:08:11 -0800 (PST) Received: from gandalf.denix.org ([unknown] [71.191.205.12]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0MDM001238XCBJB0@vms173011.mailsrvcs.net> for meta-ti@yoctoproject.org; Fri, 16 Nov 2012 23:08:00 -0600 (CST) Received: by gandalf.denix.org (Postfix, from userid 1000) id 49C482008B; Sat, 17 Nov 2012 00:07:59 -0500 (EST) Date: Sat, 17 Nov 2012 00:07:59 -0500 From: Denys Dmytriyenko To: "Franklin S. Cooper Jr" Message-id: <20121117050759.GB9631@denix.org> References: <1353093582-11469-1-git-send-email-fcooper@ti.com> <1353093582-11469-2-git-send-email-fcooper@ti.com> MIME-version: 1.0 In-reply-to: <1353093582-11469-2-git-send-email-fcooper@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-ti@yoctoproject.org Subject: Re: [PATCH 2/2] libgles-omap3: Verify pvrsrvkm module was found X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2012 05:08:11 -0000 Content-type: text/plain; charset=us-ascii Content-disposition: inline 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 > --- > 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... > modprobe omaplfb > modprobe bufferclass_ti > > -- > 1.7.0.4 > > _______________________________________________ > meta-ti mailing list > meta-ti@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-ti >