If you have speed in mind, it is possible to install the SDK on a native Ubuntu machine (other Linux distributions may support this SDK with minor changes but won’t be supported). This chapter will guide you on how to clone the entire SDK, to setup the SDK for one board or just OpenEmbedded/Yocto for i.MX6 SoloX SabreSD board.
Architech’s Yocto based SDK is built on top of Ubuntu 14.04 32bit, hence all the scripts provided are proven to work on such a system.
If you wish to use another distribution/version you might need to change some script option and/or modify the scripts yourself, remember that you won’t get any support in doing so.
To install the same tools you get inside the virtual machine on your native machine you need to download and run a system wide installation script:
git clone -b dizzy https://github.com/architech-boards/machine_installer.git
cd machine_installer
./machine_install -g -p
where -g option asks the script to install and configure a few graphic customization, while -p option asks the script to install the required packages on the machine. If you want to install the toolchain on a machine not equal to Ubuntu 14.04 32bit then you may want to read the script, install the required packages by hand, and run it without options. You might need to recompile the Qt application used to render the splashscreen.
At the end of the installation process, you will get the same tools installed within the virtual machine, that is, all the tools necessary to work with Architech’s boards.
If you don’t want to install the tools for all the boards, you can install just the subset of tools related to i.MX6 SoloX SabreSD:
git clone -b dizzy https://github.com/architech-boards/imx6sxsabresd-splashscreen.git
cd imx6sxsabresd-splashscreen
./run_install
This script needs the same tools/packages required by machine_install
If you have launched machine_installer or run_install.sh script, yocto is already installed. The following steps are useful for understood how the sdk works “under the hood”.
The easiest way to setup and keep all the necessary meta-layers in sync with upstream repositories is achieved by means of Google’s repo tool. The following steps are necessary for a clean installation:
mkdir -p ~/bin
sudo apt-get install curl
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
echo $PATH
export PATH="$PATH:${HOME}/bin"
repo init -u https://github.com/architech-boards/imx6sxsabresd-manifest.git -b dizzy -m manifest.xml
repo sync
By the end of the last step, all the necessary meta-layers should be in place, anyway, you still need to edit your local.conf and bblayers.conf to compile for imx6sxsabresd machine and using all the downloaded meta-layers.