AnsweredAssumed Answered

Issue on Adding GPU HW Acceleration for X11

Question asked by Erik Raynolds on Nov 16, 2016
Latest reply on Feb 15, 2017 by Brendan Krieger

per instruction Installing Ubuntu Rootfs on NXP i.MX6 boards 

6: Add GPU HW Acceleration for X11

  1. # cd gpu-pack  
  2. # wget http://www.nxp.com/lgfiles/NMG/MAD/YOCTO//xserver-xorg-video-imx-viv-5.0.11.p7.4.tar.gz  
  3.   
  4. # tar –xf xserver*  
  5. # cd xserver-org-video-imx*  
  6. #looks lik have to made #git init  
  7.   
  8. # ./fastbuild.sh  BUILD_HARD_VFP=1 XSERVER_GREATER_THAN_13=1 

 

it results:

# cd gpu_pack
# cd xserver-xorg-video-imx-viv-5.0.11.p7.4
# ./fastbuild.sh BUILD_HARD_VFP=1 XSERVER_GREATER_THAN_13=1
make: Entering directory '/root/gpu_pack/xserver-xorg-video-imx-viv-5.0.11.p7.4/EXA/src'
gcc -DCOMMIT="`git log -n 1 --format=%H``git diff-index --quiet HEAD || echo '-dirty'`" -DFIX_NO_MI_BACKINGSTORE -fvisibility=hidden -fPIC -DPIC -DFREESCALE_EXTENSION -I. -I.. -I//usr/include -I//usr/include/xorg -I//usr/include/pixman-1 -I./vivante_gal -I./vivante_fbdev -I./vivante_util -I./vivante_exa -I./vivante_extension -I//usr/include/drm -mfpu=vfp -mfloat-abi=hard -march=armv7-a -marm -O2 -Werror -o vivante_extension/vivante_ext.o -c vivante_extension/vivante_ext.c
fatal: your current branch 'master' does not have any commits yet
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
vivante_extension/vivante_ext.c:50:21: fatal error: swaprep.h: No such file or directory
compilation terminated.
makefile.linux:82: recipe for target 'vivante_extension/vivante_ext.o' failed
make: *** [vivante_extension/vivante_ext.o] Error 1
make: Leaving directory '/root/gpu_pack/xserver-xorg-video-imx-viv-5.0.11.p7.4/EXA/src'
#

I am looking for an advice what it''s going on wrong?

Outcomes