iMX6 TinyRex Yocto
Jump to navigation
Jump to search
Download and install repo utility
To get the BSP you need to have repo installed. To install it follow these steps:
mkdir -pv ~/workdir/bin curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/workdir/bin/repo chmod a+x ~/workdir/bin/repo PATH=${PATH}:~/workdir/bin
Yocto Project 2.1
Every OS require different set of the installed packages. More information about Yocto requirements are in Freescale Yocto Project User's Guide.
Initialise Yocto project
Download the BSP Yocto Project Environment:
mkdir -pv ~/workdir/voipac/imx6/yocto/fsl-release-bsp-2.1 cd ~/workdir/voipac/imx6/yocto/fsl-release-bsp-2.1 git config --global user.name "Your Name" git config --global user.email "Your Email" git config --list repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth
Init iMX6 Tinyrex layer
Add iMX6 TinyRex support:
mkdir -pv .repo/local_manifests/ cat > .repo/local_manifests/imx6rex.xml << EOF <?xml version="1.0" encoding="UTF-8"?> <manifest> <remote fetch="git://github.com/Voipac" name="voipac"/> <project remote="voipac" revision="master" name="meta-fsl-arm-voipac" path="sources/meta-fsl-arm-voipac"> <copyfile src="voipac-setup.sh" dest="voipac-setup.sh"/> </project> </manifest> EOF
Sync
Sync repositories
cd ~/workdir/voipac/imx6/yocto/ ln -s fsl-release-bsp-2.1 fsl-release-bsp cd ~/workdir/voipac/imx6/yocto/fsl-release-bsp PATH=${PATH}:~/workdir/bin repo sync
Configure
Add Voipac meta layer into BSP
source voipac-setup.sh