From: Denys Dmytriyenko <denys@ti.com>
To: "Franklin S. Cooper Jr" <fcooperjr27@gmail.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH 2/2] libgles-omap3: Verify pvrsrvkm module was found
Date: Sat, 17 Nov 2012 00:07:59 -0500 [thread overview]
Message-ID: <20121117050759.GB9631@denix.org> (raw)
In-Reply-To: <1353093582-11469-2-git-send-email-fcooper@ti.com>
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@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...
> modprobe omaplfb
> modprobe bufferclass_ti
>
> --
> 1.7.0.4
>
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
next prev parent reply other threads:[~2012-11-17 5:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-16 19:19 [PATCH 1/2 v3] libgles-omap3: Adjust for non X11 distros Franklin S. Cooper Jr
2012-11-16 19:19 ` [PATCH 2/2] libgles-omap3: Verify pvrsrvkm module was found Franklin S. Cooper Jr
2012-11-17 5:07 ` Denys Dmytriyenko [this message]
2012-11-17 5:09 ` Denys Dmytriyenko
2012-11-17 4:18 ` [PATCH 1/2 v3] libgles-omap3: Adjust for non X11 distros Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121117050759.GB9631@denix.org \
--to=denys@ti.com \
--cc=fcooperjr27@gmail.com \
--cc=meta-ti@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.