Skip to content

Instantly share code, notes, and snippets.

@nrmmota
Last active January 12, 2018 05:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nrmmota/4afbc80217d39730e4d4 to your computer and use it in GitHub Desktop.
Save nrmmota/4afbc80217d39730e4d4 to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /home/linaro
mkdir fsl_bsp_3.10.17_1.0.0_ga
cd fsl_bsp_3.10.17_1.0.0_ga
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//firmware-imx-3.10.17-1.0.0.bin
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//imx-lib-3.10.17-1.0.0.tar.gz
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//libfslparser-3.0.11.bin
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//libfslcodec-3.0.11.bin
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//imx-vpu-3.10.17-1.0.0.bin
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//libfslvpuwrap-1.0.46.bin
wget http://www.freescale.com/lgfiles/NMG/MAD/YOCTO//gpu-viv-bin-mx6q-3.10.17-1.0.0-hfp.bin
chmod +x *
# manually accept EULA!
./firmware-imx-3.10.17-1.0.0.bin
./gpu-viv-bin-mx6q-3.10.17-1.0.0-hfp.bin
tar xzf imx-lib-3.10.17-1.0.0.tar.gz
./imx-vpu-3.10.17-1.0.0.bin
./libfslcodec-3.0.11.bin
./libfslparser-3.0.11.bin
./libfslvpuwrap-1.0.46.bin
cd imx-lib-3.10.17-1.0.0
# this requires up-to-date kernel headers & might need to run twice!
make PLATFORM=IMX6Q all & sudo make PLATFORM=IMX6Q install
make PLATFORM=IMX6Q all & sudo make PLATFORM=IMX6Q install
cd ../gpu-viv-bin-mx6q-3.10.17-1.0.0-hfp/
cp -av * /
cd /usr/lib
rm libGAL-dfb.so
rm libGAL-wl.so
rm libGAL-x11.so
sudo ldconfig
cd /home/linaro/fsl_bsp_3.10.17_1.0.0_ga/
cd libfslcodec-3.0.11
./autogen.sh --prefix=/usr && make all && sudo make DESTDIR=/ install
cd ../libfslparser-3.0.11
./autogen.sh --prefix=/usr && make all && sudo make DESTDIR=/ install
cd ../libfslvpuwrap-1.0.46
./autogen.sh --prefix=/usr && make all && sudo make DESTDIR=/ install
cd ../imx-vpu-3.10.17-1.0.0
# yes this is needed twice to work
make PLATFORM=IMX6Q all & sudo make PLATFORM=IMX6Q install
make PLATFORM=IMX6Q all & sudo make PLATFORM=IMX6Q install
ldconfig
apt-get install bison flex
@nrmmota
Copy link
Author

nrmmota commented Jun 29, 2015

Something is missing. No such library files. Perhaps new imx and libfsl versions changed something in the meantime. This gist will soon be 1y old.

Make sure you have those folders when libfslvpuwrap is compiling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment