Issue on Adding GPU HW Acceleration for X11

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue on Adding GPU HW Acceleration for X11

959 Views
Contributor III

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?

Tags (1)
0 Kudos
3 Replies

35 Views
NXP TechSupport
NXP TechSupport

Hi Erick

do:

  1. # tar –xf xserver*  
  2. # cd xserver-org-video-imx*  
  3. # git init  
  4. # ./fastbuild.sh BUILD_HARD_VFP=1 XSERVER_GREATER_THAN_13=1
0 Kudos

35 Views
Contributor III

I did 'git init' and output you can see in first post. So I assume 'fatal: your current branch 'master' does not have any commits yet' after init there is no commits.

0 Kudos

35 Views
Contributor II
0 Kudos