diff options
Diffstat (limited to 'recipes/powervr-drivers/libgles-omap3')
-rwxr-xr-x | recipes/powervr-drivers/libgles-omap3/rc.pvr | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3/rc.pvr b/recipes/powervr-drivers/libgles-omap3/rc.pvr index 395d085d12..1b141a03eb 100755 --- a/recipes/powervr-drivers/libgles-omap3/rc.pvr +++ b/recipes/powervr-drivers/libgles-omap3/rc.pvr @@ -90,15 +90,11 @@ case $CPUTYPE in devmem2 0x48180900 w 0x2 devmem2 0x48180920 w 0x2 + sleep 2 + ES_REVISION="$(devmem2 0x56000014 | sed -e s:0x00010205:5: -e s:0x00010201:3: -e s:0x00010003:2: | tail -n1 | awk -F': ' '{print $2}')" - if [ "${ES_REVISION}" != "${SAVED_ESREVISION}" ] ; then - echo -n "Starting SGX fixup for" - echo " ES${ES_REVISION}.x" - cp -a /usr/lib/ES${ES_REVISION}.0/* /usr/lib - cp -a /usr/bin/ES${ES_REVISION}.0/* /usr/bin - echo "${ES_REVISION}" > /etc/powervr-esrev - fi + echo "${ES_REVISION}" > /etc/powervr-esrev /usr/bin/pvrsrvinit ;; |